Downloads · 30 days
58
4% of all-time downloads
grikdotnet/parakeet-tdt-0.6b-fp16
parakeet-tdt-0.6b-fp16 is a automatic speech recognition model from grikdotnet. Use it when you need speech turned into text. The card lists the license as cc-by-4.0.
FP16 (half-precision) quantized version of the Parakeet TDT 0.6B V3 ONNX model.
Downloads · 30 days
58
4% of all-time downloads
All-time downloads
1.3K
Public
Repo size
1.3 GB
Likes
5
Public
Click a slice to open those files.
.onnx1.3 GB · 100%
From the Hugging Face model README
FP16 (half-precision) quantized version of the Parakeet TDT 0.6B V3 ONNX model.
This repository contains FP16-quantized ONNX models for NVIDIA's Parakeet TDT (Token-and-Duration Transducer) 0.6B V3, a multilingual automatic speech recognition (ASR) model.
Created for AI stenographer project.
Key Benefits:
onnx-asr library via quantization='fp16' parameter| File | Size | Description |
|---|---|---|
encoder-model.fp16.onnx | 1.2GB | FP16 encoder model |
decoder_joint-model.fp16.onnx | 35MB | FP16 decoder model |
Note: You'll also need the supporting files from the original repository:
config.json - Model configurationvocab.txt - Vocabulary filenemo128.onnx - FeatureExtractor modelpip install onnx-asr
import onnx_asr
# Load FP16 model
model = onnx_asr.load_model(
'nemo-parakeet-tdt-0.6b-v3',
'./models/parakeet', # Directory containing both FP32 and FP16 files
quantization='fp16', # Use FP16 quantized models
cpu_preprocessing=False
)
# Recognize speech from audio file
text = model.recognize('audio.wav')
print(text)
import numpy as np
# Load audio as numpy array (16kHz, mono, float32)
audio = np.random.randn(16000).astype(np.float32)
# Recognize
text = model.recognize(audio)
FP16 models work best with GPU acceleration:
model = onnx_asr.load_model(
'nemo-parakeet-tdt-0.6b-v3',
'./models/parakeet',
quantization='fp16',
providers=['CUDAExecutionProvider', 'CPUExecutionProvider'], # GPU first
cpu_preprocessing=False
)
This FP16 model was created using a two-step process:
from onnxconverter_common import float16
import onnx
model = onnx.load('encoder-model.onnx')
model_fp16 = float16.convert_float_to_float16(
model,
keep_io_types=True, # Keep inputs/outputs as FP32
disable_shape_infer=True # Preserve external data
)
onnx.save(model_fp16, 'encoder-model.fp16.onnx')
The initial conversion leaves some Cast operations targeting FP32, causing type mismatches. A post-processing script fixes these by converting internal Cast(to=FLOAT) operations to Cast(to=FLOAT16) while preserving output casts for compatibility.
See the conversion scripts on GitHub
Supports 25 languages (same as original model):
This model is licensed under CC-BY-4.0 (Creative Commons Attribution 4.0), same as the original Parakeet model.
See huggingface repo for details.
If you use this model, please cite both the original Parakeet model and the ONNX conversion.
For issues or questions: