Model reference · open weights
parakeet-tdt_ctc-ja is an open-weight audio or speech model from nvidia. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | NVIDIA |
|---|---|
| Type | Audio & music |
| Task | Speech→text |
| Runs with | nemo |
| Released | 2024-05-13 |
| Popularity | 5k downloads / month |
| Licence | Open weights |
About
img { display: inline; }
parakeet-tdt_ctc-0.6b-ja is an ASR model that transcribes Japanese speech with Punctuations. This model is developed by NVIDIA NeMo team.
It is an XL version of Hybrid FastConformer [1] TDT-CTC [2] (around 0.6B parameters) model.
See the model architecture section and NeMo documentation for complete architecture details.
To train, fine-tune or play with the model you will need to install NVIDIA NeMo. We recommend you install it after you've installed latest PyTorch version.
pip install nemo_toolkit['asr']
The model is available for use in the NeMo Framework [3], and can be used as a pre-trained checkpoint for inference or for fine-tuning on another dataset.
import nemo.collections.asr as nemo_asr
asr_model = nemo_asr.models.ASRModel.from_pretrained(model_name="nvidia/parakeet-tdt_ctc-0.6b-ja")
Simply do:
output = asr_model.transcribe(['speech.wav'])
print(output[0].text)
By default model uses TDT to transcribe the audio files, to switch decoder to use CTC, use decoding_type='ctc'
python [NEMO_GIT_FOLDER]/examples/asr/transcribe_speech.py
pretrained_name="nvidia/parakeet-tdt_ctc-0.6b-ja"
audio_dir=""
This model accepts 16000 Hz mono-channel audio (wav files) as input.
This model provides transcribed speech as a string for a given audio sample.
This model uses a Hybrid FastConformer-TDT-CTC architecture.
FastConformer [1] is an optimized version of the Conformer model with 8x depthwise-separable convolutional downsampling. You may find more information on the details of FastConformer here: Fast-Conformer Model.
TDT (Token-and-Duration Transducer) [2] is a generalization of conventional Transducers by decoupling token and duration predictions. Unlike conventional Transducers which produces a lot of blanks during inference, a TDT model can skip majority of blank predictions by using the duration output (up to 4 frames for this parakeet-tdt_ctc-0.6b-ja model), thus brings significant inference speed-up. The detail of TDT can be found here: Efficient Sequence Transduction by Jointly Predicting Tokens and Durations.
The NeMo Framework [3] was used for training this model with this example script and this base config.
The model was trained for 300k steps with dynamic bucketing and a batch duration of 600s per GPU on 32 NVIDIA A100 80GB GPUs, and then finetuned for 100k additional steps on the modified training data (predicted texts for training samples with CER>10%).
SentencePiece [4] tokenizer with 3072 tokens for this model was built using the text transcripts of the train set with this script.
The model was trained on ReazonSpeech v2.0 [5] speech corpus containing more than 35k hours of natural Japanese speech.
The following table summarizes the performance of this model in terms of Character Error Rate (CER%).
In CER calculation, punctuation marks and non-alphabet characters are removed, and numbers are transformed to words using num2words library [6].
| Version | Decoder | JSUT basic5000 | MCV 8.0 test | MCV 16.1 dev | MCV16.1 test | TEDxJP-10k |
|---|---|---|---|---|---|---|
| 1.23.0 | TDT | 6.4 | 7.1 | 10.1 | 13.2 | 9.0 |
| 1.23.0 | CTC | 6.5 | 7.2 | 10.2 | 13.3 | 9.1 |
These are greedy CER numbers without external LM.
NVIDIA Riva, is an accelerated speech AI SDK deployable on-prem, in all clouds, multi-cloud, hybrid, on edge, and embedded. Additionally, Riva provides:
Although this model isn’t supported yet by Riva, the list of supported models is here. Check out Riva live demo.
[1] Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition
[2] Efficient Sequence Transduction by Jointly Predicting Tokens and Durations
[4] Google SentencePiece Tokenizer
[6] num2words library - Convert numbers to words in multiple languages
License to use this model is covered by the CC-BY-4.0. By downloading the public and release version of the model, you accept the terms and conditions of the [CC-BY-4.0](https://creativecommo
From the published model card. Full card on the HuggingFace links in the sidebar.
How it works
Benchmarks
As published on the model card — the maker's own numbers, not measured by AxForge.
| Task | Dataset | Metric | Score |
|---|---|---|---|
| Automatic Speech Recognition | JSUT basic5000 | Test CER | 6.400 |
| Automatic Speech Recognition | Mozilla Common Voice 8.0 | Test CER | 7.100 |
| Automatic Speech Recognition | Mozilla Common Voice 16.1 | Dev CER | 10.100 |
| Automatic Speech Recognition | Mozilla Common Voice 16.1 | Test CER | 13.200 |
| Automatic Speech Recognition | TEDxJP-10k | Test CER | 9 |
Using it via the API
Once AxForge deploys parakeet-tdt-ctc-ja for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (parakeet-tdt-ctc-ja below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \ -H "Authorization: Bearer $AXFORGE_API_KEY" \ -F model="parakeet-tdt-ctc-ja" -F file=@audio.mp3
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.