Instructions to use nectec/Pathumma-parakeet-rnnt-th-0.6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use nectec/Pathumma-parakeet-rnnt-th-0.6b with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("nectec/Pathumma-parakeet-rnnt-th-0.6b") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
🪷 Pathumma Parakeet RNNT 0.6B (TH)
Pathumma Parakeet RNNT 0.6B (TH) is a Thai–English automatic speech recognition (ASR) model built for real-world audio. It handles:
- Thai–English code-switching: English words and phrases mixed into Thai speech
- Background noise and other difficult recording conditions
- Telephony and VoIP audio: narrowband (8 kHz) phone calls, call-center recordings and online meetings
- Many domains, including technology, news, finance, science, healthcare and law
The model is fine-tuned from nvidia/parakeet-rnnt-0.6b, the XL (~600M parameters) FastConformer-Transducer [1]. The original English tokenizer was replaced with a new tokenizer that covers Thai and Thai–English mixed text.
NVIDIA NeMo
To train, fine-tune, or run Python inference with this model, install NVIDIA NeMo after installing a recent PyTorch version.
pip install -U nemo_toolkit['asr']
Quickstart
Load the model:
import torch
import nemo.collections.asr as nemo_asr
device = "cuda" if torch.cuda.is_available() else "cpu"
torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
model_name = "nectec/Pathumma-parakeet-rnnt-th-0.6b"
asr_model = nemo_asr.models.EncDecRNNTBPEModel.from_pretrained(model_name=model_name)
asr_model.to(device)
asr_model.to(torch_dtype)
Run inference:
output = asr_model.transcribe(["audio_path.wav"])
print(output[0].text)
Run inference with timestamps:
output = asr_model.transcribe(["audio_path.wav"], timestamps=True)
# Output indices correspond to the order of items in `data`
word_timestamps = output[0].timestamp['word']
segment_timestamps = output[0].timestamp['segment']
char_timestamps = output[0].timestamp['char']
for word in word_timestamps:
print(f"{word['start']}s - {word['end']}s : {word['segment']}")
Model Architecture
FastConformer [1] is an optimized version of the Conformer model with 8x depthwise-separable convolutional downsampling. This model uses the XL FastConformer encoder (~600M parameters) with a Transducer (RNNT) decoder, inherited from nvidia/parakeet-rnnt-0.6b.
Changes from the base model:
- Tokenizer: the English tokenizer was replaced with a new Thai–English tokenizer (TODO: type, e.g. SentencePiece Unigram/BPE, and vocabulary size).
- Decoder: the RNNT decoder and joint network were adapted to the new vocabulary (TODO: confirm whether they were re-initialized).
- Fine-tuning: the whole model was fine-tuned on Thai and Thai–English speech (see Training).
Training
The model was fine-tuned with the NeMo toolkit [2], using this example script and this base config.
The tokenizer was built from the text transcripts of the training set with this script.
- Training data: TODO: total hours, and the datasets/domains used
- Training setup: TODO: number of epochs or steps, GPUs, and key hyperparameters
Performance
Results will be added soon.
License
This model is released under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
It is a derivative of Parakeet RNNT 0.6B (en) by the NVIDIA NeMo and Suno.ai teams, licensed under CC BY 4.0. The changes made are listed under Model Architecture.
This is not an official NVIDIA release and is not endorsed by NVIDIA or Suno.ai.
Citation
@misc{tipaksorn2026pathummaparakeetrnnt,
title = {{Pathumma Parakeet RNNT 0.6B (TH)}},
author = {Pattara Tipaksorn and Siwakorn Kaewwichai},
url = {https://huggingface.co/nectec/Pathumma-parakeet-rnnt-th-0.6b},
publisher = {Hugging Face},
year = {2026}
}
References
[1] D. Rekesh et al., "Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition," 2023.
- Downloads last month
- 1
Model tree for nectec/Pathumma-parakeet-rnnt-th-0.6b
Base model
nvidia/parakeet-rnnt-0.6b