Repository navigation
models: weigh Best accuracy against wait in proportion (0.3.0) - #8
Merged
Merged
Conversation
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).
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
models-handy-computer | 3191b8f | Nov 29 2026, 09:13 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The algorithm
Fast and Accurate are unchanged. Best now balances accuracy against wait in proportion instead of in points and seconds:
The five settings (
speedTradeErrorShare,errorOffsetPercent,instantWaitSeconds,worstLanguageWeight,streamingErrorDiscount) replacefreeWaitSecondsandwaitWeightinmethodology. The rule is exported asbestScoreand 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 changesSingle languages (4)
English + another language (8)
Two other languages (77)
Show all