Skip to content

models: weigh Best accuracy against wait in proportion (0.3.0) - #8

Merged
cjpais merged 3 commits into
mainfrom
rec-best-tradeoff
Nov 29, 2026
Merged

cjpais merged 3 commits into
mainfrom
rec-best-tradeoff

Conversation

@cjpais

@cjpais cjpais commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

The algorithm

Fast and Accurate are unchanged. Best now balances accuracy against wait in proportion instead of in points and seconds:

  • The trade-off: a model 3× as fast may make up to 20% more errors and still be the better pick. Before, waits under 3 s counted for nothing, and 1 point of error cost 2 s of wait.
  • Low error rates: 3 points are added to every error before comparing, so a small gap between two already low error rates (3.7% vs 4.7%) counts for less than the same ratio between high ones.
  • Instant waits: waits under 1.5 s all count as instant.
  • Several languages: the worst language weighs half against the average, so a model that is good at English can't hide a weak second language.
  • Streaming: streaming models get a small edge (5%).
  • Unchanged: the pool is the same as before (20% per-language floor, automatic language switching preferred, 5 s budget). If nothing usable fits 5 s, the same score decides within 10 s, then the quickest usable model wins.
score = ln(½·error + ½·worst error (×0.95 if streaming) + 3) + β·ln(max(wait, 1.5 s)),  β = ln(1/0.8)/ln 3

The five settings (speedTradeErrorShare, errorOffsetPercent, instantWaitSeconds, worstLanguageWeight, streamingErrorDiscount) replace freeWaitSeconds and waitWeight in methodology. The rule is exported as bestScore and described in the README. Version 0.3.0. The website's recommendation pages (src/lib/recommendation.ts) use the same rule.

What changed (npm run snapshot): 89 Best picks; no Fast, Accurate or status changes

Single languages (4)

  • de: canary-1b-v2 → parakeet-ultra
  • hu: canary-1b-v2 → parakeet-ultra
  • nl: canary-1b-v2 → parakeet-ultra
  • ru: gigaam-v3-e2e-rnnt → gigaam-v3-e2e-ctc

English + another language (8)

  • en+hi: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • en+id: Qwen3-ASR-0.6B → Fun-ASR-MLT-Nano-2512
  • en+ko: Qwen3-ASR-0.6B → Fun-ASR-MLT-Nano-2512
  • en+nl: canary-1b-v2 → parakeet-ultra
  • en+sk: canary-1b-v2 → parakeet-ultra
  • en+th: Qwen3-ASR-0.6B → Fun-ASR-MLT-Nano-2512
  • en+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • en+vi: Qwen3-ASR-0.6B → cohere-transcribe-03-2026

Two other languages (77)

Show all
  • ar+es: cohere-transcribe-03-2026 → nemotron-3.5-asr-streaming-0.6b
  • ar+it: cohere-transcribe-03-2026 → nemotron-3.5-asr-streaming-0.6b
  • ar+ko: cohere-transcribe-03-2026 → nemotron-3.5-asr-streaming-0.6b
  • ar+pt: cohere-transcribe-03-2026 → nemotron-3.5-asr-streaming-0.6b
  • bg+hu: canary-1b-v2 → parakeet-ultra
  • bg+it: parakeet-ultra → canary-1b-v2
  • bg+mt: canary-1b-v2 → parakeet-ultra
  • bg+th: whisper-large-v3 → whisper-large-v3-turbo
  • bs+th: whisper-large-v3 → whisper-large-v3-turbo
  • cs+hu: canary-1b-v2 → parakeet-ultra
  • cs+it: parakeet-ultra → canary-1b-v2
  • cs+mt: canary-1b-v2 → parakeet-ultra
  • cs+ru: parakeet-ultra → canary-1b-v2
  • cs+th: whisper-large-v3 → whisper-large-v3-turbo
  • da+mt: canary-1b-v2 → parakeet-ultra
  • da+th: whisper-large-v3 → whisper-large-v3-turbo
  • da+uk: parakeet-ultra → canary-1b-v2
  • de+es: canary-1b-v2 → parakeet-ultra
  • de+hi: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • de+hu: canary-1b-v2 → parakeet-ultra
  • de+nl: canary-1b-v2 → parakeet-ultra
  • de+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • el+th: whisper-large-v3 → whisper-large-v3-turbo
  • es+nl: canary-1b-v2 → parakeet-ultra
  • es+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • et+fr: canary-1b-v2 → parakeet-ultra
  • et+hu: canary-1b-v2 → parakeet-ultra
  • et+pl: canary-1b-v2 → parakeet-ultra
  • et+pt: canary-1b-v2 → parakeet-ultra
  • et+th: whisper-large-v3 → whisper-large-v3-turbo
  • fi+hu: canary-1b-v2 → parakeet-ultra
  • fi+it: parakeet-ultra → canary-1b-v2
  • fi+mt: canary-1b-v2 → parakeet-ultra
  • fi+ru: parakeet-ultra → canary-1b-v2
  • fr+sk: canary-1b-v2 → parakeet-ultra
  • fr+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • hi+ja: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • hi+ko: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • hi+vi: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • hr+hu: canary-1b-v2 → parakeet-ultra
  • hr+mt: canary-1b-v2 → parakeet-ultra
  • hr+ru: parakeet-ultra → canary-1b-v2
  • hr+th: whisper-large-v3 → whisper-large-v3-turbo
  • hu+nl: canary-1b-v2 → parakeet-ultra
  • hu+ro: canary-1b-v2 → parakeet-ultra
  • hu+sk: canary-1b-v2 → parakeet-ultra
  • hu+sv: canary-1b-v2 → parakeet-ultra
  • hu+th: whisper-large-v3 → whisper-large-v3-turbo
  • it+ko: cohere-transcribe-03-2026 → Qwen3-ASR-0.6B
  • it+lt: parakeet-ultra → canary-1b-v2
  • it+sv: parakeet-ultra → canary-1b-v2
  • it+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • ja+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • ko+pt: cohere-transcribe-03-2026 → Qwen3-ASR-0.6B
  • ko+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • ko+vi: Fun-ASR-MLT-Nano-2512 → cohere-transcribe-03-2026
  • lt+mt: canary-1b-v2 → parakeet-ultra
  • lt+ru: parakeet-ultra → canary-1b-v2
  • lv+mt: canary-1b-v2 → parakeet-ultra
  • lv+th: whisper-large-v3 → whisper-large-v3-turbo
  • lv+uk: parakeet-ultra → canary-1b-v2
  • mk+ms: whisper-large-v3-turbo → Qwen3-ASR-1.7B
  • mk+nl: whisper-large-v3-turbo → Qwen3-ASR-1.7B
  • mt+ro: canary-1b-v2 → parakeet-ultra
  • mt+sl: canary-1b-v2 → parakeet-ultra
  • mt+sv: canary-1b-v2 → parakeet-ultra
  • pl+sk: canary-1b-v2 → parakeet-ultra
  • pl+tr: whisper-small → nemotron-3.5-asr-streaming-0.6b
  • pt+sk: canary-1b-v2 → parakeet-ultra
  • pt+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • ro+th: whisper-large-v3 → whisper-large-v3-turbo
  • ru+sv: parakeet-ultra → canary-1b-v2
  • ru+tr: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • sl+uk: parakeet-ultra → canary-1b-v2
  • sv+th: Qwen3-ASR-1.7B → whisper-large-v3-turbo
  • tr+vi: Qwen3-ASR-0.6B → nemotron-3.5-asr-streaming-0.6b
  • vi+zh: Qwen3-ASR-0.6B → Fun-ASR-MLT-Nano-2512

Best used to pick the lowest error plus 0.5 points per second past 3 s,
so waits under 3 s counted for nothing and accuracy gaps counted in
absolute points. It now compares both in proportion (bestScore):

  accuracy = (error + worst language error) / 2, x 0.95 if streaming
  score    = ln(accuracy + 3) + beta * ln(max(wait, 1.5 s))
  beta     = ln(1 / (1 - 0.2)) / ln 3

A model three times as fast may make up to 20% more errors. Small gaps
between low error rates count for less, waits under 1.5 s all count as
instant, and a weak second language cannot hide behind a good mean.
Without a usable model within 5 s, the same score decides within 10 s,
then the quickest usable model wins.

Methodology replaces freeWaitSeconds and waitWeight with
speedTradeErrorShare, errorOffsetPercent, instantWaitSeconds,
worstLanguageWeight and streamingErrorDiscount. Fast and Accurate are
unchanged; the Pi Voice parity test now covers status, Fast and
Accurate. 89 Best picks change (npm run snapshot).
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
models-handy-computer 3191b8f Nov 29 2026, 09:13 AM

@cjpais
cjpais merged commit e80b1bb into main Nov 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant