Download docs/EXPERIMENT_PLAN.md from NabuxAi/buddi-asr-source-code: direct link, hf CLI and curl.
- Browser
- Download file 3.33 kB
-
https://huggingface.co/datasets/NabuxAi/buddi-asr-source-code/resolve/main/docs/EXPERIMENT_PLAN.md
- Command line
-
hf download hf://datasets/NabuxAi/buddi-asr-source-code/docs/EXPERIMENT_PLAN.md
-
curl -L -o EXPERIMENT_PLAN.md https://huggingface.co/datasets/NabuxAi/buddi-asr-source-code/resolve/main/docs/EXPERIMENT_PLAN.md
Buddi-ASR experiment plan
Goal
Choose the smallest model that materially improves unseen-child recognition for Arabic/Gulf-Arabic and English while meeting the target-device latency budget.
Immutable evaluation design
- Build one speaker-disjoint split with a recorded seed.
- Use validation for architecture and hyperparameter selection.
- Keep test hidden until the candidate is frozen.
- Compare every candidate on identical normalized and raw transcripts.
- Report both WER and CER; short single-word Abjad samples can make WER look unusually harsh.
Stage A — data sanity
- Listen to random examples from every source and all seven ambiguous Abjad mappings.
- Find empty, clipped, corrupt, duplicated, or mislabeled files.
- Measure hours, speakers, utterance duration, label distribution, device, noise, age, and dialect coverage.
- Confirm that Abjad-Kids is capped as an educational-vocabulary component, not the majority of conversational training.
Stage B — baselines
Evaluate untouched openai/whisper-tiny and openai/whisper-base on the frozen validation set. Store predictions, normalized metrics, latency, and peak memory.
Stage C — controlled candidates
| Candidate | Purpose | Starting config |
|---|---|---|
| Tiny LoRA | Cheapest adaptation baseline | configs/train_tiny_lora.json |
| Tiny full | Check whether 39M full adaptation beats LoRA | configs/train_tiny_full.json |
| Base LoRA | Quality/compute middle point | configs/train_base_lora.json |
| Base full | Quality candidate | configs/train_base_full.json |
Change one major variable per run. Record code commit, config, manifest hashes, upstream revisions, random seed, hardware, runtime, and best checkpoint.
Stage D — evaluation slices
Required slices:
- Arabic, English, and code-switching;
- Gulf/Omani versus non-Gulf Arabic;
- age 4–5, 6–8, 9–12 where consented metadata exists;
- quiet, household noise, car, classroom;
- phone, tablet, Buddi hardware microphone;
- short commands versus conversational questions;
- seen vocabulary versus unseen words;
- empty audio, laughter, singing, whispering, crying, and overlapping speech.
Acceptance gates
- zero speaker overlap and zero corrupt/missing test audio;
- no unexplained regression on English while improving Arabic;
- statistically meaningful improvement over the untouched base on unseen children;
- no cohort hidden behind an overall average;
- empty/noise audio does not routinely hallucinate child-sensitive content;
- warm p95 latency and real-time factor meet the target hardware budget;
- model card contains data limitations and exact evaluation revision.
Do not use a universal WER threshold without a product error analysis. A one-word educational sample and an open conversational utterance have very different consequences.
Distillation stage
Only after the supervised baseline is stable:
- transcribe additional licensed/consented child audio with a stronger teacher;
- store teacher confidence and provenance;
- require human correction for evaluation data and low-confidence training data;
- mix pseudo-labels at a controlled ratio;
- re-run every frozen slice and compare against the supervised-only checkpoint.
Teacher output is not ground truth and must never contaminate test references.