Automatic Speech Recognition
NeMo
Safetensors
GGUF
Transformers
PyTorch
English
parakeet_ctc
speech
audio
FastConformer
Conformer
NeMo
hf-asr-leaderboard
ctc
Eval Results (legacy)
Eval Results
Instructions to use nvidia/parakeet-ctc-1.1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use nvidia/parakeet-ctc-1.1b with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("nvidia/parakeet-ctc-1.1b") transcriptions = asr_model.transcribe(["file.wav"]) - Transformers
How to use nvidia/parakeet-ctc-1.1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="nvidia/parakeet-ctc-1.1b")# Load model directly from transformers import AutoModelForCTC model = AutoModelForCTC.from_pretrained("nvidia/parakeet-ctc-1.1b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add NeMo-Speech.cpp GGUF
#4
by prabhsimrans-nv - opened
- .gitattributes +1 -0
- README.md +24 -2
- parakeet-ctc-1.1b.q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
parakeet-ctc-1.1b.nemo filter=lfs diff=lfs merge=lfs -text
|
| 37 |
.safetensors filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
parakeet-ctc-1.1b.nemo filter=lfs diff=lfs merge=lfs -text
|
| 37 |
.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -192,16 +192,38 @@ pip install nemo_toolkit['all']
|
|
| 192 |
|
| 193 |
## How to Use this Model
|
| 194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
The model is available for use in the NeMo toolkit [3], and can be used as a pre-trained checkpoint for inference or for fine-tuning on another dataset. Moreover, you can now run Parakeet CTC natively with [Transformers](https://github.com/huggingface/transformers) 🤗.
|
| 196 |
|
| 197 |
-
### Automatically instantiate the model
|
| 198 |
|
| 199 |
```python
|
| 200 |
import nemo.collections.asr as nemo_asr
|
| 201 |
asr_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained(model_name="nvidia/parakeet-ctc-1.1b")
|
| 202 |
```
|
| 203 |
|
| 204 |
-
### Transcribing using NeMo
|
| 205 |
First, let's get a sample
|
| 206 |
```
|
| 207 |
wget https://dldata-public.s3.us-east-2.amazonaws.com/2086-149220-0033.wav
|
|
|
|
| 192 |
|
| 193 |
## How to Use this Model
|
| 194 |
|
| 195 |
+
There are several ways to use this model. Choose the one that fits your needs.
|
| 196 |
+
|
| 197 |
+
### Run locally with NeMo-Speech.cpp
|
| 198 |
+
|
| 199 |
+
[NeMo-Speech.cpp](https://github.com/NVIDIA/NeMo-Speech.cpp) provides a
|
| 200 |
+
lightweight native C++ runtime for local inference with
|
| 201 |
+
this model. After [installing the runtime](https://github.com/NVIDIA/NeMo-Speech.cpp#installation):
|
| 202 |
+
|
| 203 |
+
```bash
|
| 204 |
+
hf download nvidia/parakeet-ctc-1.1b \
|
| 205 |
+
parakeet-ctc-1.1b.q8_0.gguf \
|
| 206 |
+
--local-dir models
|
| 207 |
+
|
| 208 |
+
nemo-speech transcribe audio.wav \
|
| 209 |
+
--model models/parakeet-ctc-1.1b.q8_0.gguf
|
| 210 |
+
```
|
| 211 |
+
|
| 212 |
+
See the [NeMo-Speech.cpp documentation](https://github.com/NVIDIA/NeMo-Speech.cpp)
|
| 213 |
+
for more details.
|
| 214 |
+
|
| 215 |
+
### NVIDIA NeMo
|
| 216 |
+
|
| 217 |
The model is available for use in the NeMo toolkit [3], and can be used as a pre-trained checkpoint for inference or for fine-tuning on another dataset. Moreover, you can now run Parakeet CTC natively with [Transformers](https://github.com/huggingface/transformers) 🤗.
|
| 218 |
|
| 219 |
+
#### Automatically instantiate the model
|
| 220 |
|
| 221 |
```python
|
| 222 |
import nemo.collections.asr as nemo_asr
|
| 223 |
asr_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained(model_name="nvidia/parakeet-ctc-1.1b")
|
| 224 |
```
|
| 225 |
|
| 226 |
+
#### Transcribing using NeMo
|
| 227 |
First, let's get a sample
|
| 228 |
```
|
| 229 |
wget https://dldata-public.s3.us-east-2.amazonaws.com/2086-149220-0033.wav
|
parakeet-ctc-1.1b.q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6584fc0fdacf1c220401ea4c3a1d5b44454b655c141cb8672178072c203d92b8
|
| 3 |
+
size 1178100960
|