Hi, I' m Mayank

I build and optimize deep learning models,
from speech & audio systems to real-time production inference.

Profile

About

I'm a deep learning engineer working across vision, multimodal, and speech. At Vizuara AI Labs, I worked on fine-tuning vision encoder architectures for high-resolution SAR satellite imagery, aimed at real-time, on-device deployment. Alongside that, I built an agentic video-generation harness that plans, storyboards, codes, renders, and fixes its own failures to produce technical explainer videos end-to-end.

Before Vizuara, I worked as an AI Researcher (Audio) at a stealth voice AI startup, where I built low-latency, real-time speech-to-speech pipelines and fine-tuned speech models for region-specific accent generation. Those models are now running in production, serving banks, edtech platforms, and other private-sector clients.

Before that, I was a Gen AI Intern at Second Brain Labs, where I built an autonomous LLM sales agent with retrieval-backed pipelines and API integrations.

What I enjoy most is audio and inference: post-training, fine-tuning, quantization, and getting speech models to run fast and reliably in production. That's the direction I want to keep building in.

Research

OngoingMar 2026 - Present

Do Small Vision Language Models Preserve Multi-Step Visual Commonsense Reasoning?

My coauthor Jaydeep and I are testing whether asking a vision-language model to justify its answer actually makes it rely more on the image. Across several small open vision-language models on Visual Commonsense Reasoning, rationale accuracy stays well above chance even with the image removed entirely, and causal occlusion maps show the justification step shifts activation mass away from the referenced objects, not toward them, even with a bigger image-token budget. High rationale accuracy, it turns out, is not sufficient evidence that a model is visually grounded.

Open Source

I do open source in my free time.

recent contributions

What I build in my free time

Selected Project Work

Speech models, RL environments, and from-scratch implementations.

On Screen - Real-Time Autonomous Mobile Agent

On Screen - Real-Time Autonomous Mobile Agent

Built an Android AI agent that can see the phone screen, understand voice commands, and complete multi-step mobile tasks in real time. The cloud branch uses model APIs for fast autonomous screen control, while the on-device branch explores private local inference with speech-to-text, a vision-language model, and text-to-speech running directly on the phone.

On-Device AI
Android Accessibility
Vision-Language Models
Whisper.cpp
Gemma
Kitten TTS
Agent Memory
Tool Use
Mobile Automation
Moon - Voice AI Pendant with On-Device Inference

Moon - Voice AI Pendant with On-Device Inference

Built Moon, an open-source touch-to-talk voice AI pendant. The ESP32-S3 runs ESP-IDF firmware for its AMOLED face, mic, and speaker, and streams 16 kHz mono audio to a Flutter and Kotlin Android app over a private BLE GATT service; 24 kHz speech comes back. A mouth-openness byte in each 12-byte packet header lets the face lip-sync against its own playback clock rather than BLE arrival time. Inference stays on the phone: Moonshine STT, Qwen3 GGUF on llama.cpp, and Kokoro ONNX.

ESP32-S3
ESP-IDF
NimBLE
BLE GATT
LVGL
Flutter
Kotlin
llama.cpp
sherpa-onnx
Moonshine STT
Qwen3 GGUF
Kokoro TTS
On-Device AI
Android Keystore
Speech-to-Text Transformer from Scratch

Speech-to-Text Transformer from Scratch

Built a complete Speech-to-Text Transformer model from scratch using PyTorch, converting raw audio waveforms into text without pre-trained models. Implements convolutional downsampling, multi-head self-attention, Residual Vector Quantization (RVQ), and CTC loss for alignment-free training. Trained on the LJSpeech dataset using an A100 GPU.

Python
PyTorch
torchaudio
NumPy
TensorBoard
Hugging Face Datasets
Transformer Architecture
CTC Loss
Vector Quantization
BPE Tokenizer
Voice Cloning with Qwen3-TTS

Voice Cloning with Qwen3-TTS

Fine-tuned Qwen3-TTS-12Hz-1.7B-Base on 240 clips of my own voice (61.6 min), scored against Qwen's zero-shot baseline on a 20-clip holdout. Each 80 ms frame becomes 1 semantic plus 15 residual acoustic codes: the Talker predicts the semantic code, the Code Predictor adds detail, Code2Wav reconstructs PCM. One epoch on an RTX 5090 cut WER from 10.07% to 7.64%, but speaker similarity fell from 0.857 to 0.810 and the clone lost 2 of 3 blind listener votes.

Qwen3-TTS
PyTorch
Voice Cloning
Speech Synthesis
Supervised Fine-Tuning
Audio Tokenization
FlashAttention
Hugging Face Datasets
Weights & Biases
RunPod
CUDA
WER Evaluation
Speaker Similarity
Original recording
ElevenLabs clone
Qwen3-TTS fine-tuned (this project)
Voice Activity Detection from Scratch (MarbleNet)

Voice Activity Detection from Scratch (MarbleNet)

Trained a causal MarbleNet-style VAD from scratch in a ~20-hour A100 run: 143k parameters, 0.55 MB in fp32, 1.71s causal receptive field. It labels each 10 ms frame speech or non-speech from 64 MFCCs through stacked 1D depthwise-separable conv blocks. Training data was LibriSpeech mixed with MUSAN noise and RIRS reverb; the checkpoint exports to ONNX. Validation F1 was 0.988 on a LibriSpeech dev surrogate, which the repo flags as a plumbing check, not a production eval.

PyTorch
MarbleNet
Voice Activity Detection
MFCC
Depthwise-Separable Conv
ONNX
Streaming Inference
LibriSpeech
MUSAN
RIRS
NVIDIA A100
RunPod
Weights & Biases
Text-to-Speech (Tacotron 2) from Scratch

Text-to-Speech (Tacotron 2) from Scratch

Implemented a Tacotron 2 neural text-to-speech model from scratch in PyTorch. The model generates mel-spectrograms from raw text input using an encoder-decoder architecture with attention mechanisms, then converts them to audio waveforms. Trained on the LJSpeech dataset.

Python
PyTorch
librosa
Pandas
Scikit-Learn
NumPy
Tacotron 2
Mel-Spectrogram
Attention Mechanism
SHADE-Gym - 1.5B Sabotage Monitor with GRPO

SHADE-Gym - 1.5B Sabotage Monitor with GRPO

Built an OpenEnv-native scalable oversight gym for hidden sabotage detection, inspired by SHADE-Arena. A frozen DeepSeek-R1 attacker executes hidden side tasks inside deterministic Python sandboxes, while a Qwen2.5-1.5B LoRA monitor is trained with TRL GRPO and verifiable rewards to flag sabotage from public tool-call traces, reaching 0.893 AUROC with 0.88 recall and 0.12 FPR.

OpenEnv
Scalable Oversight
RLVR
GRPO
TRL
PEFT
LoRA
Qwen2.5-1.5B
DeepSeek-R1
Hugging Face Spaces
Weights & Biases
API Testing RL Environment for OpenEnv

API Testing RL Environment for OpenEnv

Built an OpenEnv reinforcement-learning environment where agents test a deliberately buggy REST task-management API. The environment includes 13 planted vulnerabilities mapped to OWASP API Security Top 10, seed-randomized data, deterministic bug detectors, a 5-signal reward function, and automatic OWASP-style bug bounty reports.

OpenEnv
Reinforcement Learning
API Testing
OWASP API Top 10
Security Testing
REST APIs
Bug Detection
Reward Modeling
Hugging Face Spaces
Llama 3.3 70B
DeepSeek V3 LLM from Scratch in PyTorch

DeepSeek V3 LLM from Scratch in PyTorch

Implemented the complete DeepSeek V3 architecture from scratch, a 100M+ parameter transformer featuring Multi-Head Latent Attention (MLA), Mixture of Experts (MoE), and Multi-Token Prediction (MTP). Trained on the FineWeb-Edu dataset with ~2.5B tokens on an NVIDIA A100 80GB GPU.

Python
PyTorch
NumPy
Hugging Face
Weights & Biases
CUDA
Transformer Architecture
Mixture of Experts
Multi-Head Latent Attention
Multi-Token Prediction
Large Language Model (LLM) from Scratch

Large Language Model (LLM) from Scratch

Implemented a Large Language Model (LLM) from scratch, covering every stage from data preparation and model architecture to pretraining and fine-tuning. This project demystifies transformer-based models through hands-on code and experiments, enabling a deeper understanding of attention mechanisms and token prediction.

Python
NumPy
PyTorch
Transformer Architecture
Attention Mechanism
Word Embeddings
Instruction Tuning
Fine-tuning
LLM Pretraining
Network Security - Malicious URL Detection using MLOps

Network Security - Malicious URL Detection using MLOps

Developed an end-to-end MLOps project to detect malicious URLs using XGBoost. Integrated robust pipelines for data ingestion, model training, deployment, and monitoring.

Streamlit
FastAPI
XGBoost
MongoDB
Apache Airflow
MLflow
GitHub Actions
Docker
AWS S3
AWS EC2 Instance

Latest Blogs


Loading blogs...

Some of My Lectures

A visual guide to Word Embeddings

A visual guide to Word Embeddings

Jul 9, 2025

Dive deep into the fascinating world of word embeddings and discover how computers transform text into meaningful numbers!

word embeddings
Word2Vec
NLP
transformers
A visual introduction to tokenization in LLMs | Byte Pair Encoding Algorithm

A visual introduction to tokenization in LLMs | Byte Pair Encoding Algorithm

March 13, 2025

In this video, I have explained tokenization in Large Language Models (LLMs) in a visual manner.

BPE
Tokenization
LLMs

Skills

Get in Touch

I love connecting with people doing interesting work in deep learning. Message me on LinkedIn.
Follow and DM me on Twitter, that's where I'm most responsive.
Or just email me: mayankpratapsingh022@gmail.com