How can a voice assistant tell whether someone is pausing or done speaking? I study that question through speech research and data analysis. At Asurion, I built a pipeline that labeled over 400,000 audio samples to fine-tune a Whisper model for that task.
I co-authored Slim Attention and founded BuildGist and ResumeAI. As a teaching assistant at the University of San Francisco, I've supported three graduate data science courses.
I'm based in San Francisco and open to full-time roles in research, AI/ML engineering, data science, analytics, product, and strategy.
Portfolio · Résumé (PDF) · LinkedIn · kzahiri@dons.usfca.edu
Slim Attention · Nils Graef, Kayvan Zahiri and Andrew Wasielewski · arXiv, October 2026 revision
We showed how to halve context memory for multi-head attention while preserving the same computation. On Whisper, context memory fell to one-eighth of the original size. I tested how numerical precision affects cross-attention across Whisper model sizes. Code · Whisper experiments
asr-age-gap · When does a voice agent interrupt?
On 2,760 matched Common Voice clips, Whisper transcribed speakers in their seventies more accurately than speakers in their twenties. A fixed 700 ms silence threshold exposed a different problem. 19.7% of utterances from speakers in their sixties contained a pause that long, compared with 8.0% for speakers in their twenties. An agent could cut someone off even when it transcribed every word correctly.
As of December 3, 2026, 332 of my pull requests had been merged into public repositories outside my account, including 101+ in third-party production projects.
| Project | What I fixed |
|---|---|
| OpenAI Whisper #2836 | Preserved numbers like 3.1 and 1% during text normalization. The bug affected both sides of word error rate comparisons, hiding its effect on the score. |
| Google SentencePiece #1320 | Kept an empty batch from passing a list where the Python binding expected a Boolean. Taku Kudo, the project's creator, merged the fix. |
| NVIDIA NeMo #16200 and #16201 | Included the last audio frame in speech segments and fixed an evaluator that could report fewer than zero missed detections. |
| TorchMetrics #3452 and #3455 | Bounded memory use for precision-recall curves and kept an unscorable speech sample from failing a whole batch. |
| Hugging Face Transformers #47888 | Corrected stereo-to-mono conversion for channels-last audio in the speech recognition pipeline. |
| NVIDIA DALI #6471 | Converted hue fractions to degrees so a half-turn rotates colors by 180°. |
| Meta FAISS | Preserved the HNSW storage index when converting an index to a factory string and back. |
More contributions and active reviews
- Speech and audio · Deepgram #807 and #767, pyannote.audio #2049, librosa #2087, ElevenLabs #858, AssemblyAI #234
- Python tooling · coverage.py #2258, uv #21144 and #21146
- Models and documents · Five graph rewriting fixes in Microsoft ONNX Script and Docling #4836 for multilingual transcription.
- BuildGist · My macOS app explains what Claude Code, Cursor and Codex changed, cites relevant code, ranks issues by severity and hands tasks between agents. I built an evaluation suite that checks factual accuracy and planted-bug detection alongside latency and inference cost.
- ResumeAI · I built this resume editor solo with Next.js, TypeScript, Supabase, Claude and Stripe. It scores ATS compatibility, rewrites bullets and exports PDF and DOCX files. The app and Chrome extension reached users in 7+ countries.
- ParkCast SF · Our parking occupancy API covers 12,700 San Francisco blocks. The LightGBM model achieved 8.98 MAE and 0.73 R². GitHub Actions retrains it and compares candidates on a shared test set before deployment to Cloud Run. Live map
- Fieldglass · Compare a pendulum's predicted period of 0.999 seconds with the measured 1.023 seconds, then change its length and inspect the models. Interactive demo
- State of ATS 2026 · An open dataset and Node.js API covering 738 employers. The November 9 snapshot has 436 verified entries and 565 recorded application hosts.
More projects in speech, agents, apps and data science
- Voice AI · turntune compares turn detectors across 40 conversations. speko-voicebench measures transcription accuracy and latency on the same 15 clips.
- Agent evaluation · EARTHBENCH checks when a geospatial agent should decline to answer. Cost-aware agent router measures the cost of completing a task. Structured output agent compares ways to repair invalid model responses.
- Developer tools · agent-hands records and replays workflows in legacy web apps. handoff-note carries context between coding agents. brainwire compresses electrode recordings losslessly.
- Apps · PantrIQ turns pantry items into recipes and shopping lists. IceBreaker Bay helps communities plan hockey programs.
- Data and search · Music streaming analysis, Semiparametric Regression Visualizer and Java search engine.
From October to December 2026, I worked as a software engineer at Clipboard Sports, building and testing features across the frontend and backend with the founder and engineering team.
At Asurion, I built a pipeline that automatically labeled over 400,000 audio samples for Whisper fine-tuning. Labeling accuracy improved from 50% to over 88%. I deployed the model in a real-time LiveKit pipeline for testing conversational agents.
Earlier, I built data pipelines at Spotly Jobs, trained and evaluated language models at Outlier AI, and developed software for USF and Founders Network. Full work history
- University of San Francisco · M.S. in Data Science and Artificial Intelligence (2026) · B.S. in Computer Science (2025)
- Certifications · AWS Certified Cloud Practitioner · Google Cloud Digital Leader
| Area | Technologies |
|---|---|
| Languages | Python, TypeScript, JavaScript, Java, C, SQL |
| Speech and ML | PyTorch, Whisper, LiveKit, LightGBM, scikit-learn, LLM fine-tuning, RLHF, RAG, model evaluation |
| Web and mobile | React, Next.js, React Native, Expo, FastAPI, Tauri, Supabase, Stripe |
| Data and infrastructure | PostgreSQL, SQLite, MongoDB, PySpark, pandas, NumPy, Dagster, dlt, dbt, Airflow, MLflow, Docker, GitHub Actions, AWS, GCP |



