Automatic Speech Recognition
NeMo
Safetensors
Transformers
PyTorch
nemotron3_5_asr
feature-extraction
speech-recognition
cache-aware ASR
streaming-asr
multilingual
speech
audio
FastConformer
RNNT
Parakeet
ASR
NeMo
Eval Results (legacy)
Eval Results
Instructions to use nvidia/nemotron-3.5-asr-streaming-0.6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use nvidia/nemotron-3.5-asr-streaming-0.6b with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("nvidia/nemotron-3.5-asr-streaming-0.6b") transcriptions = asr_model.transcribe(["file.wav"]) - Transformers
How to use nvidia/nemotron-3.5-asr-streaming-0.6b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="nvidia/nemotron-3.5-asr-streaming-0.6b")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("nvidia/nemotron-3.5-asr-streaming-0.6b") model = AutoModel.from_pretrained("nvidia/nemotron-3.5-asr-streaming-0.6b", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Python 3.10 not supported
#17
by ahmed-sevimli - opened
I tried running your scripts from the repo, the speech_to_text_cache_aware_streaming_infer.py but it causes a python syntax error with Python version 3.10.12 which is a widely used standard still. The error traceback goes like this, a fix would be appreciated:
File "C:\NeMo\examples\asr\asr_cache_aware_streaming\speech_to_text_cache_aware_streaming_infer.py", line 117, in <module>
from nemo.collections.asr.parts.utils.streaming_utils import CacheAwareStreamingAudioBuffer
File "C:\Users\user\AppData\Local\miniconda3\envs\nemo\lib\site-packages\nemo\collections\asr\parts\utils\streaming_utils.py", line 2467
shifted_indices = shifted_indices[..., *[None for _ in range(len(self.dim_shape))]]
^
SyntaxError: invalid syntax
README says you need to install Python >= 3.11:
"We recommend you install it after you've installed python >= 3.11, Cython and latest PyTorch version."