Skip to content

Fixes #28357 feat(speech): add Nemotron 3.5 multilingual streaming dictation model - #28356

Closed
RealCat1st wants to merge 1 commit into
stablyai:mainfrom
RandomPixelStudios:main
Closed

RealCat1st wants to merge 1 commit into
stablyai:mainfrom
RandomPixelStudios:main

Conversation

@RealCat1st

@RealCat1st RealCat1st commented Oct 13, 2026 •

Copy link
Copy Markdown

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

  • Before: If you wanted live (streaming) dictation, you could only use English, Chinese, or Korean. The models that understand other languages (Parakeet v3, Whisper, SenseVoice) only show text after you stop speaking.
  • After: The settings list has a new model, "Nemotron 3.5 Streaming". It transcribes 40 language-locales live and detects the language automatically.
  • Mechanism:
    • New entry in src/main/speech/model-catalog.ts and a pinned download entry in src/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.
    • The model is a regular streaming transducer (encoder/decoder/joiner/tokens), so it runs through the existing streaming && transducer path in stt-worker.ts. No worker changes were needed.
    • Bumped sherpa-onnx and 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.

  • 560 ms chunk variant: the latency/accuracy middle ground from NVIDIA's model card. 80/160 ms are less accurate, and 1120 ms feels sluggish for dictation.
  • int8: keeps the download at about 682 MB, in line with Parakeet v3, instead of roughly 2.4 GB for fp32.
  • Auto language detection: leaving the stream's language option unset makes the model detect the language itself, so this PR needs no new settings UI. Wiring Orca's language setting to the sherpa language stream option could be a small follow-up.
  • modelingUnit: 'bpe' without a shipped bpe.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.json passes. 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

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

  • Security: the model files are pinned to an immutable Hugging Face revision and verified per file with SHA-256, the same as the existing models.
  • Cross-platform: sherpa-onnx 1.13.8 platform packages exist for all five targets Orca ships (darwin-arm64, darwin-x64, linux-x64, linux-arm64, win-x64).
  • Remote SSH / Mobile: only the catalog changes, and the RPC shape stays the same.
  • Backwards compatibility: existing models are unaffected. The sherpa-onnx bump touches every local model, so all of them should get a quick smoke test.
  • Performance: the model is 0.6B int8 on CPU, comparable to Parakeet v3, and only downloaded if the user picks it.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

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]>
@RealCat1st

Copy link
Copy Markdown
Author

Fixes #28357

@RealCat1st RealCat1st changed the title feat(speech): add Nemotron 3.5 multilingual streaming dictation model Fixes #28357 feat(speech): add Nemotron 3.5 multilingual streaming dictation model Oct 13, 2026
@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3b287860-6e69-46b2-9617-87853c865821
📥 Commits

Reviewing files that changed from the base of the PR and between 3a011e4 and 818fa2a.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (4)
  • package.json
  • src/main/speech/model-catalog.test.ts
  • src/main/speech/model-catalog.ts
  • src/main/speech/model-download-catalog.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The sherpa-onnx package and five platform-specific optional packages are upgraded from 1.12.37 to 1.13.8. The speech model catalogs add Nemotron 3.5 Streaming with model metadata and pinned download file details. A catalog test checks the model properties and size.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to 818fa

The dependency upgrade is locked consistently, and the new model’s files match the runtime configuration; no concrete merge-blocking risk remains.

Pre-merge checks · Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3…
Linked Issues check Passed The pull request references issue #28357 with a Fixes keyword, which provides a linked issue for the change.
Out of Scope Changes check Passed The dependency upgrade, model catalog entries, download metadata, and catalog test directly support the stated Nemotron streaming model objective.
Title check Passed The title clearly identifies the primary change: adding the Nemotron 3.5 multilingual streaming dictation model. It is specific and related to the changeset.
Description check Passed The description is detailed and covers the user impact, implementation, rationale, linked issue, testing, AI disclosure, compatibility considerations, and checklist. The visual proof remains marked TO…
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AmoabaKelvin

Copy link
Copy Markdown
Collaborator

Thanks for putting this together. Nemotron 3.5 is now in the dictation model list on main (#39468, with the settings in #40431), running on the new transcribe-cpp engine, so I'm closing this one. It helped point us at the model.

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.

[Feature]: Add NVIDIA Nemotron 3.5 ASR Streaming (multilingual) as a local dictation model

2 participants