Cotton code
123 lines · 8.3 KB · JSONRaw
{  "note": "Per language the live and second-pass model, chosen from the voice models' measurements (17 Nov 2026); catalogue.py writes models.json from this and the runs. 'why' is the measured reason.",  "measured_on": {    "date": "2026-11-17",    "runtime": "sherpa-onnx 2.0.1 (Python), CPU, int8 where offered",    "cpu": "Intel i9-9900K, 4 threads pinned to 4 physical cores; the box was shared with other lanes' builds (load 35-60), so rtf_4core is CPU seconds per audio second over 4 threads, steadier than wall time; expect a phone to be 2-3x slower; a quiet re-timing of the chosen models (runs-timing) gave wall rtf: fast-conformer 0.08, Parakeet Ultra 0.16, IndicConformer te 0.14 / hi 0.11, Parakeet-ja 0.16",    "sets": "FLEURS test (first 60-100 sentences per language), EdAcc test (Indian-accent and US-accent English, conversational), CS-FLEURS read test (Telugu-English, Hindi-English), AMI test meetings (speakers)",    "levelling": "audio peaking under 0.1 is raised to a 0.5 peak first, as a phone's input levelling does"  },  "languages": {    "en": {      "live": "fast-conformer-transducer-en-de-es-fr-int8",      "second": "parakeet-tdt-0.6b-ultra-int8",      "why": "Live: on Indian-accent conversational English the fast-conformer re-read every 500 ms gets 34.6% WER against 50% for every streaming model (NeMo streaming CTC, Moonshine) and 68% for the zipformer; one 138 MB file also serves es/fr/de. Second: Parakeet Ultra is best on FLEURS (4.9%) and ties the best on EdAcc (24.0% en-IN, 25.5% en-US) at rtf 0.22; Qwen3 is 21.2% on en-IN but rtf 0.86 and 2.4 GB."    },    "es": {      "live": "fast-conformer-transducer-en-de-es-fr-int8",      "second": "parakeet-tdt-0.6b-ultra-int8",      "why": "Ultra 3.8% WER against v3 4.8%, Canary 6.7%, fast-conformer 6.6%, Qwen3 6.5%."    },    "fr": {      "live": "fast-conformer-transducer-en-de-es-fr-int8",      "second": "parakeet-tdt-0.6b-ultra-int8",      "why": "Ultra 7.4% against v3 7.6%, Canary 8.0%, fast-conformer 9.8%, Qwen3 11.2%."    },    "de": {      "live": "fast-conformer-transducer-en-de-es-fr-int8",      "second": "parakeet-tdt-0.6b-ultra-int8",      "why": "Ultra 5.2% against Canary 7.3%, v3 7.8%, fast-conformer 7.8%, Qwen3 10.3%."    },    "it": {      "live": "parakeet-tdt-0.6b-ultra-int8",      "second": "parakeet-tdt-0.6b-ultra-int8",      "why": "Ultra 2.1% WER against Omnilingual 10.2%; no smaller Italian model measured, so Ultra re-reads live too (heavier: rtf 0.19)."    },    "te": {      "live": "indicconformer-te-int8",      "second": "indicconformer-te-int8",      "why": "IndicConformer 22.7% WER (198 MB, rtf 0.10) against the 600M IndicConformer 23.8%, Omnilingual 42.6% and Whisper turbo 99% (sherpa-onnx's Whisper stops after a few words of Telugu). No streaming Telugu model exists in sherpa-onnx: live is the same model re-read every 500 ms behind voice detection (first word 0.6 s)."    },    "hi": {      "live": "indicconformer-hi-int8",      "second": "indicconformer-hi-int8",      "why": "IndicConformer 10.9% WER (198 MB, rtf 0.11) against 600M IndicConformer 12.2%, Omnilingual 25.6%, Qwen3 32.6%, Whisper turbo 91.5% (truncates). Live re-read every 500 ms: first word 0.6 s."    },    "ja": {      "live": "parakeet-tdt-ctc-0.6b-ja-int8",      "second": "parakeet-tdt-ctc-0.6b-ja-int8",      "why": "Parakeet-ja 8.6% CER offline, 7.4% live (first character 1.5 s), CC-BY-4.0; SenseVoice 8.9% / 8.0% live (first character 1.0 s, lighter) is left out for its licence (see excluded); Qwen3 13.5%, the streaming 8-language zipformer 23.7%, Omnilingual 25.4%."    },    "pt": {      "live": "parakeet-tdt-0.6b-ultra-int8",      "second": "parakeet-tdt-0.6b-ultra-int8",      "why": "Ultra 5.5% WER on FLEURS Portuguese (Brazil); no smaller Portuguese model measured, so Ultra re-reads live too."    },    "ta": {      "live": "indicconformer-ta-int8",      "second": "indicconformer-ta-int8",      "why": "IndicConformer 26.3% WER on FLEURS against Omnilingual 49.6%; live is the same model re-read every 500 ms behind voice detection."    },    "kn": {      "live": "indicconformer-kn-int8",      "second": "indicconformer-kn-int8",      "why": "IndicConformer 17.6% WER on FLEURS against Omnilingual 31.2%; live is the same model re-read every 500 ms behind voice detection."    },    "ml": {      "live": "indicconformer-ml-int8",      "second": "indicconformer-ml-int8",      "why": "IndicConformer 23.6% WER on FLEURS against Omnilingual 41.0%; live is the same model re-read every 500 ms behind voice detection."    },    "bn": {      "live": "indicconformer-bn-int8",      "second": "indicconformer-bn-int8",      "why": "IndicConformer 13.6% WER on FLEURS against Omnilingual 36.6%; live is the same model re-read every 500 ms behind voice detection."    },    "mr": {      "live": "indicconformer-mr-int8",      "second": "indicconformer-mr-int8",      "why": "IndicConformer 20.0% WER on FLEURS against Omnilingual 46.2%; live is the same model re-read every 500 ms behind voice detection."    },    "gu": {      "live": "indicconformer-gu-int8",      "second": "indicconformer-gu-int8",      "why": "IndicConformer 19.1% WER on FLEURS against Omnilingual 35.4%; live is the same model re-read every 500 ms behind voice detection."    },    "ur": {      "live": "indicconformer-ur-int8",      "second": "indicconformer-ur-int8",      "why": "IndicConformer 16.3% WER on FLEURS against Omnilingual 80.3%; live is the same model re-read every 500 ms behind voice detection."    },    "pa": {      "live": "indicconformer-pa-int8",      "second": "indicconformer-pa-int8",      "why": "IndicConformer 14.3% WER on FLEURS against Omnilingual 38.2%; live is the same model re-read every 500 ms behind voice detection."    }  },  "vad": "silero-vad-v5",  "lid": "whisper-tiny-int8",  "lid_why": "Language identification for meetings (which of the person's languages a stretch of speech is): sherpa-onnx's SpokenLanguageIdentification takes Whisper's 80-mel encoders only, so large-v3 turbo (128 mels) cannot do it; Whisper tiny got 29 of 30 turns right on the meetings work's mixed English/Hindi-English meeting.",  "levelling": {    "below_peak": 0.1,    "to_peak": 0.5,    "max_gain": 100  },  "speakers": {    "segmentation": "pyannote-segmentation-3.0",    "embedding": "campplus-sv-zh-en-16k",    "threshold": 1.1  },  "excluded": {    "moonshine-base-ja / moonshine-base-es / other legacy non-English Moonshine": "Moonshine AI Community License: non-commercial above US$1M revenue.",    "sense-voice (FunAudioLLM)": "FunASR Model License 1.1 allows commercial use with attribution but lets Alibaba revise the terms unilaterally ('take effect automatically'); measured (8.0-8.9% CER Japanese, 240 MB, rtf 0.08-0.10, lighter than Parakeet-ja) and left out pending the owner's word.",    "reverb-diarization-v1/v2": "Rev's licence is non-commercial.",    "whisper-large-v3-turbo (sherpa-onnx int8)": "Licence fine (MIT); measured out: 7.4% English at rtf 1.16 (Ultra 4.9% at 0.22), and on Hindi/Telugu the sherpa-onnx 2.0.1 decoder stops after a few words (91.5% / 99.3% WER) with the fp32 decoder too.",    "qwen3-asr-0.6b": "Licence fine (Apache-2.0); measured out: behind Parakeet on every language at 3-4x the CPU and 2.3-3 GB memory; best only on Indian-accent English (21.2% against 24.0%).",    "nemotron-3.5-asr-streaming (0.6B)": "Licence fine (OpenMDW-1.1), accurate (12.9% FLEURS en, 12.4% hi), but too heavy for a phone: at 560 ms chunks rtf 1.07 on 4 desktop cores even on a quiet run, first word 2.4 s; at 160 ms slower still. A candidate for a Mac live pass later.",    "cohere-transcribe": "Licence fine (Apache-2.0); 2.9 GB int8, too large for a phone download; not measured.",    "indicconformer-600m (multilingual)": "Measured out: worse than the per-language models (te 23.8%, hi 12.2%) at 3x the size.",    "parakeet-unified-en / nemotron-speech-streaming-en (0.6B)": "Same weight class as Nemotron 3.5 streaming (0.6B re-run per chunk); not finished measuring for that reason.",    "canary-180m-flash": "Licence fine (CC-BY-4.0); measured out: ties Parakeet Ultra on EdAcc (24.2% en-IN) and the fast-conformer on es/de, at 2-4x their CPU.",    "zipformer / NeMo streaming CTC / Moonshine tiny (English live)": "Measured out on Indian-accent English: 68.3% / 50.1% / 50.1% WER against the fast-conformer's 34.6%."  }}