Repository navigation
Fixes #28357 feat(speech): add Nemotron 3.5 multilingual streaming dictation model - #28356
RealCat1st wants to merge 1 commit into
Conversation
Adds NVIDIA Nemotron 3.5 ASR Streaming 0.6B (560ms, int8) as a local streaming transducer with automatic language detection across 40 language-locales, and bumps sherpa-onnx to 1.13.8 for multilingual Nemotron support. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Fixes #28357 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to
|
Fixes: #28357
Adds NVIDIA Nemotron 3.5 ASR Streaming 0.6B (560ms, int8) as a local streaming transducer with automatic language detection across 40 language-locales, and bumps sherpa-onnx to 1.13.8 for multilingual Nemotron support.
ELI5
Orca can now download NVIDIA's new Nemotron 3.5 speech model. It shows live text while you speak, in 40 languages, and works out which language you're speaking on its own.
What Changed
src/main/speech/model-catalog.tsand a pinned download entry insrc/main/speech/model-download-catalog.ts. The download uses a fixed Hugging Face revision and a SHA-256 hash per file, like the existing entries.streaming && transducerpath instt-worker.ts. No worker changes were needed.sherpa-onnxand its platform packages from 1.12.37 to 1.13.8. Multilingual Nemotron support (the language-prompt encoder input) arrived in sherpa-onnx 1.13.3 (Add multilingual Nemotron-3.5 streaming ASR support k2-fsa/sherpa-onnx#3671).Why
Multilingual users had no live dictation option. This model is the first local streaming model that covers many languages.
languageoption unset makes the model detect the language itself, so this PR needs no new settings UI. Wiring Orca's language setting to the sherpalanguagestream option could be a small follow-up.modelingUnit: 'bpe'without a shippedbpe.vocab: makes hotwords fall back to greedy search. Greedy search is the only decoder sherpa-onnx implements for NeMo streaming transducers.Linked Issue
Fixes #
Visual Proof
TODO: before/after screenshot of the speech model list in Settings.
Testing
vitest run src/main/speech: 15 files, 89 tests pass, including a new catalog test for the Nemotron entry.tsc --noEmit -p config/tsconfig.node.jsonpasses. passed.Tested on Linux only (automated tests). The model has not been run end-to-end in the app yet.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
AI Disclosure
Prepared with Claude Code (Claude Opus 5.5): research, implementation, and tests. Reviewed and submitted by me.
Review
Agent skill upstream boundary
Notes
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)