Instructions to use calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8 with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
- Parakeet TDT 0.6B v3 pt-BR TAGARELA โ ONNX INT8 Dynamic
Parakeet TDT 0.6B v3 pt-BR TAGARELA โ ONNX INT8 Dynamic
๐ง๐ท Quantizaรงรฃo INT8 dinรขmica do melhor ASR open-source para portuguรชs brasileiro hoje, pronta para CPU. Compatรญvel direto com Whispering,
onnx-asre qualquer pipeline ONNX Runtime.๐ฌ๐ง Dynamic INT8 quantization of the strongest open-source pt-BR ASR available today, CPU-ready. Drop-in compatible with Whispering,
onnx-asr, and any ONNX Runtime pipeline.
โก Quick Start
pip install "onnx-asr[cpu,hub]"
import onnx_asr
model = onnx_asr.load_model(
"nemo-conformer-tdt",
"calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8",
)
print(model.recognize("audio.wav", language="pt"))
๐ง๐ท Sobre este modelo (pt-BR)
Este repositรณrio contรฉm uma quantizaรงรฃo pรณs-treino INT8 dinรขmica do modelo alefiury/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx โ o ASR Parakeet TDT 0.6B v3 da NVIDIA, fine-tuned em pt-BR pelo dataset TAGARELA por Alefiury.
Por que existe:
- Original FP32 ocupa ~2.55 GB em disco e RAM. Pesado para deploy em apps desktop como Whispering.
- INT8 dynamic reduz para ~890 MB (-65 %) sem retreino, sem dataset de calibraรงรฃo.
- MatMul-only quantization (camadas Conv e LayerNorm preservadas em FP) โ abordagem conservadora, espera-se < 1 pp de degradaรงรฃo WER.
Para quem รฉ:
- Usuรกrios de Whispering / Epicenter que querem transcriรงรฃo em portuguรชs local de qualidade.
- Devs Python que precisam de ASR pt-BR sem GPU, sem cloud, sem custo por minuto.
- Aplicaรงรตes que rodam em desktop / edge com restriรงรฃo de RAM e disco.
Quando NรO usar:
- Vocรช tem GPU e quer mรกxima qualidade โ use o FP32 original.
- Vocรช precisa de transcriรงรฃo multi-idioma โ use o Parakeet 0.6B v3 NVIDIA original.
- Workloads de batch em servidor โ use static quantization com calibraรงรฃo prรณpria.
๐ฌ๐ง About this model (English)
INT8 dynamic post-training quantization of alefiury/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx โ NVIDIA's Parakeet TDT 0.6B v3 fine-tuned for Brazilian Portuguese on the TAGARELA dataset by Alefiury.
Why it exists: Original FP32 weights are ~2.55 GB. Too heavy for desktop apps. Dynamic INT8 cuts that to ~890 MB (-65 %) with no retraining and no calibration dataset. Conservative MatMul-only quantization preserves Conv / LayerNorm layers in FP โ expected WER degradation < 1 pp.
Source model lineage
nvidia/parakeet-tdt-0.6b-v3 (multilingual base, FP32)
โโโ alexandreacff/parakeet-tdt-0.6b-v3-ptBR-plus (pt-BR fine-tune)
โโโ alefiury/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx (TAGARELA fine-tune + ONNX export, FP32)
โโโ this repo (INT8 dynamic quantization)
All credit for training, dataset curation, and original weights goes to Alefiury, Alexandre Acff, and the NVIDIA NeMo team. This repository contributes only post-training quantization.
Benchmarks (inherited from base model)
The base TAGARELA model achieves state-of-the-art pt-BR WER among similarly-sized open models. Numbers below are from the FP32 base โ INT8 dynamic typically degrades < 1 pp WER on Conformer ASR but was not formally re-evaluated for this checkpoint. Bench it on your own data before production.
Prepared speech (WER โ)
| Model | CETUC | Common Voice | MLS (PT) | MTEDx (PT) | Avg |
|---|---|---|---|---|---|
| Parakeet TDT 0.6B v3 ptBR TAGARELA (FP32) | 0.006 | 0.051 | 0.108 | 0.133 | 0.075 |
| ElevenLabs Scribe v2 | 0.018 | 0.047 | 0.038 | 0.138 | 0.060 |
Spontaneous speech (WER โ)
| Model | ALIP | C-ORAL | NURC-R | SP2010 | NURC-SP | MuPe | Avg |
|---|---|---|---|---|---|---|---|
| Parakeet TDT 0.6B v3 ptBR TAGARELA (FP32) | 0.213 | 0.137 | 0.138 | 0.104 | 0.160 | 0.120 | 0.143 |
โญ Best-in-class for spontaneous Brazilian Portuguese among similarly-sized open models.
Quantization details
| Item | Value |
|---|---|
| Method | Dynamic post-training quantization (no calibration data needed) |
| Tool | onnxruntime.quantization.quantize_dynamic (onnxruntime 1.23.2) |
| Weight type | QInt8 (signed 8-bit integer) |
| Ops quantized | MatMul only โ conservative, preserves Conv / LayerNorm in FP |
| External data | Disabled โ single-file ONNX, easy to deploy |
| Hardware used | Intel i7-13700K (Windows 11), CPU only |
| Total quantization time | ~14 seconds |
File sizes
| File | Original (FP32) | This repo (INT8) | Reduction |
|---|---|---|---|
Encoder (encoder-model.int8.onnx) |
~2.48 GB | 839 MB | -66 % |
Decoder + joint (decoder_joint-model.int8.onnx) |
72.5 MB | 51.1 MB | -30 % |
Mel preprocessor (nemo128.onnx) |
137 KB | 137 KB | 0 % |
Vocab (vocab.txt) |
92 KB | 92 KB | 0 % |
| Total | ~2.55 GB | ~890 MB | -65 % |
Why MatMul-only?
ASR Conformer encoders are dominated by MatMul ops (attention Q/K/V/O projections + feed-forward). Quantizing these captures most of the size win. Conv layers (~10 % of params) and LayerNorm carry less weight but are more sensitive to quantization noise โ leaving them in FP is the documented best practice from NVIDIA / Microsoft for Conformer-family models.
Files
config.json # NeMo Conformer-TDT metadata
decoder_joint-model.int8.onnx # TDT decoder + joint network (INT8)
encoder-model.int8.onnx # FastConformer encoder (INT8)
nemo128.onnx # 128-dim mel-spectrogram preprocessor (FP, unchanged)
vocab.txt # SentencePiece tokenizer vocabulary
README.md # this file
Usage
With Whispering (Epicenter)
Whispering uses transcribe-rs under the hood, which expects the exact filenames in this repo (encoder-model.int8.onnx, decoder_joint-model.int8.onnx). To install:
Windows:
$dst = "$env:APPDATA\com.bradenwong.whispering\models\parakeet\parakeet-tdt-0.6b-v3-ptBR-int8"
hf download calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8 --local-dir $dst
macOS / Linux:
dst="$HOME/.config/com.bradenwong.whispering/models/parakeet/parakeet-tdt-0.6b-v3-ptBR-int8"
hf download calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8 --local-dir "$dst"
Restart Whispering. The model appears in the model selector as parakeet-tdt-0.6b-v3-ptBR-int8.
With onnx-asr (Python)
pip install "onnx-asr[cpu,hub]"
import onnx_asr
model = onnx_asr.load_model(
"nemo-conformer-tdt",
"calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8",
)
print(model.recognize("audio.wav", language="pt"))
Direct ONNX Runtime
The model follows the standard NVIDIA NeMo Conformer-TDT export layout. Any inference stack that supports nemo-conformer-tdt (e.g. NeMo's own nemo.collections.asr ONNX backend, custom Rust / C++ runtimes) should accept it after quantized op-set negotiation.
Reproducibility
from onnxruntime.quantization import quantize_dynamic, QuantType
# Encoder
quantize_dynamic(
model_input="encoder-model.onnx",
model_output="encoder-model.int8.onnx",
weight_type=QuantType.QInt8,
op_types_to_quantize=["MatMul"],
use_external_data_format=False,
)
# Decoder + joint
quantize_dynamic(
model_input="decoder_joint-model.onnx",
model_output="decoder_joint-model.int8.onnx",
weight_type=QuantType.QInt8,
op_types_to_quantize=["MatMul"],
)
Environment: Python 3.11, onnxruntime 1.23.2, onnx 1.17.0, Windows 11.
Limitations & known caveats
- No formal WER benchmark on the quantized weights. Architecture is preserved and INT8 dynamic typically costs < 1 pp WER on Conformer ASR โ but verify on your own pt-BR test set before production deployment.
- CPU-targeted. Dynamic INT8 may not accelerate GPU inference (CUDA EP). For GPU, prefer FP16 or static quantization with calibration.
- Single-file ONNX limit (~2 GB protobuf). Encoder fits comfortably at 839 MB; if you re-quantize differently and exceed 2 GB, switch
use_external_data_format=True. - Want smaller? INT4 weight-only via
MatMul4BitsQuantizerreduces the encoder to ~280-380 MB but typically costs 1-3 pp WER and requires runtimes that supportMatMulNBitsop (ONNX Runtime โฅ 1.16). Whispering'stranscribe-rsdoes not currently support INT4.
License
Inherits CC-BY-4.0 from the base model. Attribution is required for any downstream use.
Citation
If you use this quantized model, please cite the original work:
@misc{parakeet-tdt-ptbr-tagarela,
author = {Alefiury},
title = {Parakeet TDT 0.6B v3 pt-BR TAGARELA (ONNX)},
year = {2025},
url = {https://huggingface.co/alefiury/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx}
}
@article{xu2023tdt,
title = {Efficient Sequence Transduction by Jointly Predicting Tokens and Durations},
author = {Xu, Hainan and Jia, Fei and Majumdar, Somshubra and others},
year = {2023},
eprint = {2304.06795},
archivePrefix = {arXiv}
}
Acknowledgements
- Alefiury โ TAGARELA fine-tuning + ONNX export
- Alexandre Acff โ pt-BR base fine-tune
- NVIDIA NeMo team โ Parakeet architecture, FastConformer encoder, TDT decoder, multilingual pretraining
- istupakov/onnx-asr โ reference ONNX inference framework
- EpicenterHQ / Whispering โ local-first transcription app this quantization targets
- Downloads last month
- 412
Model tree for calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8
Base model
alexandreacff/parakeet-tdt-0.6b-v3-ptBR-plusPaper for calneymgp/parakeet-tdt-0.6b-v3-ptBR-TAGARELA-onnx-int8
Evaluation results
- WER (FP32 baseline, before quantization) on CETUC (pt-BR, prepared speech)self-reported0.006
- WER (FP32 baseline, before quantization) on NURC-SP (pt-BR, spontaneous speech)self-reported0.160