feat(stt): Add a Nemotron 3.5 ASR Finetuning Recipe - #122
Open
iancarrasco-b10 wants to merge 5 commits into
Open
feat(stt): Add a Nemotron 3.5 ASR Finetuning Recipe#122iancarrasco-b10 wants to merge 5 commits into
iancarrasco-b10 wants to merge 5 commits into
Conversation
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.
What
Adds a new training example,
examples/nemotron-asr-nemo/, that fine-tunes NVIDIA's Nemotron 3.5 ASR streaming model (600M-param, multilingual, Cache-Aware FastConformer-RNNT) on Baseten.Ported from NVIDIA's official fine-tuning recipe, following the structure/Truss conventions of the existing
whisper-transformersexample. Unlike Whisper, this is a NeMo recipe: it fine-tunes via NeMo'sspeech_to_text_finetune.py(init_from_nemo_model) using the streaming-prompt FastConformer config, driven bytarget_lang-tagged manifests.Files
config.py— Truss training job (NeMo NGC base image, 1x H100,hf_access_tokensecret, cache + checkpointing)run.sh— installs deps, clones NeMo, downloads the base.nemocheckpoint, preps data, runs the fine-tune into$BT_CHECKPOINT_DIRprepare_data.py— builds NeMo JSON-lines manifests (AN4 as a quick smoke test) withtarget_langtags; template for bringing your own datarequirements.txt,README.mdNotes
target_lang-tagged, punctuated manifests, tarred Lhotse shards, step budgets, replay for multilingual protection).att_context_size).NEMO_BRANCHpinned tomainsince the streaming-prompt config is recent — pin to a release tag once available.