Download benchmarks/protocol.md from bingokingooo/shruti-coreml: direct link, hf CLI and curl.
- Browser
- Download file 7.91 kB
-
https://huggingface.co/bingokingooo/shruti-coreml/resolve/main/benchmarks/protocol.md
- Command line
-
hf download hf://bingokingooo/shruti-coreml/benchmarks/protocol.md
-
curl -L -o protocol.md https://huggingface.co/bingokingooo/shruti-coreml/resolve/main/benchmarks/protocol.md
Shruti evaluation protocol
Udgam Labs reports separate accuracy benchmarks for the Hindi release and the rest of the family, and a separate native-versus-port test for ONNX. The native baseline here is the exact published CQ4 archive for each language running in Cactus. The comparison runs the same decoded 16 kHz mono samples in both engines. Core ML uses the upstream portable beam-5 decoder with length normalization and no loop cleanup. The native implementation uses its default decoder. The runs record the local Cactus version.
Hindi release
| Dataset | Published selection | Scoring | Readiness |
|---|---|---|---|
| Monsoon Hindi | Public split, 753 | Official Open ASR Hindi OIWER lattice | Full pinned public split measured |
| FLEURS Hindi | Hindi test, 418 | NFC, lowercase, punctuation removed, corpus WER | Full public split measured with its normalized references |
| Lahaja | All 6,152 | Same WER | Gated corpus |
| MUCS Hinglish | Test, 3,136 | Same WER plus transliteration views | Full pinned test split measured |
| Svarah | All 6,656, English forced | Same WER | Gated corpus |
| LibriSpeech | test-clean, 2,620, English forced | Same WER | Full pinned test split measured |
| Silence | 50 quiet and 50 Gaussian-noise clips of 4 seconds | Words generated | Both engines produced zero words on the seeded local recreation |
Set Hindi explicitly for Monsoon, FLEURS, Lahaja and MUCS, and English for
Svarah and LibriSpeech, as in the original Hindi accuracy report. The same-input
Hindi FLEURS run uses the public dataset's normalized TSV reference from
google/fleurs revision 70bb2e84b976b7e960aa89f1c648e09c59f894dd.
These public references retain digits on 65 of 418 rows. Udgam's comparison
notes describe spelled-out references, and its prepared reference files,
historical harness, and precise historical native binary were not identified
among the public artifacts. The live Core ML and native results are a paired
comparison of the full split on the same public references. Reproducing the
historical FLEURS headline requires Udgam's prepared references or its exact
normalizer.
The Monsoon input is the complete test split at VoiceArena/MonsoonASR-Open-ASR-leaderboard-hi-IN
revision a4b7375e9adea16c16100295976cdb0aabd9fb6d. The source parquet SHA-256
is c78a3265811fc90e5c65e4a346a6fd13714d84bf505647b49ce75c4d9978deac.
The voi-oiwer 0.1.4 library scores the reference lattices directly. As in
the official leaderboard, corpus OIWER sums edit counts and divides by the
sum of the scorer's reference word counts. The authors' comparison provides
no paired interval for the lattice scorer.
Udgam Labs Hindi methodology · Hindi public result files
Completed paired checks
On all 753 public Monsoon Hindi clips, the local Cactus baseline scored 20.43% OIWER and Core ML scored 20.24%. The difference was −0.19 percentage points. Udgam Labs reported 20.46% for native Shruti. The local run used the released weights and Cactus 4.2.0. Recorded Apple M5 Mac CPU real-time factors were 0.0326 for Cactus and 0.2760 for Core ML, with other benchmark workloads running concurrently.
On all 418 public FLEURS Hindi test clips, the local Cactus baseline scored
20.56% WER and Core ML scored 20.90%. The paired difference was +0.34 percentage
points, with 95% interval +0.06 to +0.66 and 313 identical transcripts. The
interval excluded zero, so this run missed the upstream port-matching rule.
The Apple M5 Mac (Mac17,3) CPU run overlapped other conversion and benchmark
workloads. Recorded real-time factors were 0.0348 for Cactus and 0.2424 for
Core ML.
The complete 3,136-clip MUCS Hinglish test run scored 35.28% WER for original Shruti and 36.29% for FP32 Core ML. The public-reference comparison uses the stated WER normalization. The 2,620-clip LibriSpeech test-clean run scored 7.47% and 7.48%, respectively.
For the separate 100-clip Hindi silence experiment, neither engine emitted words. The local noise generation used the stated 0.003 standard deviation and recorded seed 42. Upstream's noise seed was not identified.
All packages compiled for iOS 26, and all 22 compiled bundles passed a macOS CPU execution smoke check with a shared forced-English clip and digital silence. Physical iPhone performance and each model's regional accuracy remain pending.
Family accuracy
Use native language detection unless a model section specifies forced language.
Follow each language's available datasets. In most cases the read benchmarks
use up to 200 clips. Kathbath uses test-unknown, except Marathi uses its
validation split. IndicVoices uses its validation split where reported.
LibriSpeech uses test-clean and English forced. Extract single-speaker
DiarBench turns from revision 92877bad8aab6e598167d91c6ee02aa8ca6ede09.
Use the source Latin and native references independently and compute both
clip and conversation bootstrap intervals where permitted by the report.
| Model | DiarBench turns | English-word filter |
|---|---|---|
| Hindi | 200 | At least one |
| Marathi | 200 | At least one |
| Tamil | 200 | At least one |
| Bengali | 200 | At least one |
| Telugu | 200 | At least one |
| Gujarati | 200 | At least one |
| Odia | 196 | At least one |
| Kannada | 200 | At least one |
| Urdu | 74 | At least one |
| Malayalam | 200 | At least one |
| Assamese | 84 | At least one |
| Sanskrit | 55 | All usable turns |
| Punjabi | 200 | At least one |
| Bodo | 112 | All usable turns |
| Dogri | 24 | All usable turns |
| Kashmiri | 32 | All usable turns |
| Konkani | 90 | All usable turns |
| Maithili | 54 | All usable turns |
| Manipuri | 44 | All usable turns |
| Nepali | 45 | All usable turns |
| Santali | 99 | All usable turns |
| Sindhi | 27 | All usable turns |
The public report specifies filters and counts but does not publish every
selected row ID and prepared reference. Exact family reproduction requires
those manifests or enough selection information to reconstruct them. A new
subset is an independent paired evaluation. Kathbath, IndicVoices, Lahaja,
and Svarah returned HTTP 403 for the Hugging Face account used by the project.
AI4Bharat also makes the full Kathbath test-unknown and valid archives
and their transcripts available from the IndicSUPERB release. The exact
clips selected by Udgam still need their manifest. The runner accepts a prepared manifest with
id, relative local audio, reference, and optional audio_sha256 and
conversation fields. For dual reference evaluation use separate manifests.
It implements normalized corpus WER and a paired 1,000-resample interval.
For Monsoon, a manifest field named lattice selects the official voi-oiwer scorer. The upstream multi-script transliteration views still need their original preparation.
The upstream ONNX report used additional runtime, script-integrity and silence checks. A Hindi FLEURS accuracy comparison covers one part of that protocol. Its WER confidence interval is an estimate of the difference, and a wide interval containing zero by itself cannot rule out a material quality loss.
Udgam Labs family methodology · Official ONNX port comparisons · DiarBench dataset · Official IndicSUPERB Kathbath archives
Official Monsoon Hindi public split · Official scorer and dataset background