File size: 3,163 Bytes
6119223 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | # Compressed Shruti family benchmarks
Each model has a weight-compressed Core ML candidate. The mixed profile
uses INT4 in the eight encoder blocks and INT8 elsewhere for eligible
weights. The alternate INT8 profile uses per-channel quantization.
The audio frontend is identical across profiles.
## Paired speech screen
We use the first eight test rows per language from the pinned
[Indic DiarBench parquet files](https://huggingface.co/datasets/sarvamai/indic-diarbench/tree/92877bad8aab6e598167d91c6ee02aa8ca6ede09).
Eligible turns are 2–14 seconds long, have at least three reference words
after removing annotation tags, and do not overlap another annotated turn.
We order eligible turns by SHA-256 of their deterministic IDs and select
up to 16, with up to four from a recording. Audio hashes and manifest
hashes verify matching inputs. We retain annotated references except for
angle-bracket tags and apply NFC, lowercase, and punctuation removal when
scoring WER. Language is forced to the pack language.
Each turn runs through the original released CQ4 model, FP32 Core ML,
and compressed Core ML. Core ML uses CPU-only inference on Mac. The
runner rotates execution order and records real-time factor with other
language jobs active. Treat these timings as local measurements. Each
language also runs a shared English LibriSpeech clip and a four-second
digital silence check with English forced.
The [family results](https://huggingface.co/bingokingooo/shruti-coreml/blob/main/benchmarks/compressed/family.json) report every measured language and
precision profile. When the mixed profile adds over two WER points
against FP32, we also test INT8 on that manifest and choose the lower-WER
profile. This threshold selects a candidate on a small pilot. The same
pilot cannot establish accuracy parity or predict generalization. The
comparison with original CQ4 and the conversation-bootstrap intervals
are separate measurements. Physical iPhone latency, peak memory, and
energy were outside this run. The released archives compile for iOS 26.
Indic DiarBench was published by Sarvam AI under CC BY 4.0. The report
contains aggregate metrics and manifest digests. Audio, speaker labels,
and utterance-level transcripts stay local.
## Hindi comparisons
The [compression screen](https://huggingface.co/bingokingooo/shruti-coreml/blob/main/benchmarks/compressed/hindi-screen.json) evaluates five candidate
profiles on 24 clips each from public FLEURS, Monsoon, and MUCS. The
[full-split protocol](https://huggingface.co/bingokingooo/shruti-coreml/blob/main/benchmarks/protocol.md) documents the separately
published FP32 port results and the upstream evaluation access and
reference differences.
## Reproduce
The public [reference source](https://huggingface.co/bingokingooo/shruti-coreml/blob/main/source/README.md) lists the project
dependencies and pinned upstream checkout.
```sh
python -m shruti_coreml.compress build/hi build/hi-mixed-encoder \
--profile mixed-encoder --compile macos --compile ios
python -m shruti_coreml.diarbench hi
python -m shruti_coreml.family_benchmark hi \
--output results/local/family-compression/pinned-hi
```
|