You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

parakeet-ultra-fp16 (CTranslate2)

moondream/parakeet-ultra converted to the CTranslate2 format in float16, for the ctranslate2.models.Parakeet runtime of voxrun-ctranslate2.

Credit and license

  • The weights are Moondream's post-trained version of NVIDIA's parakeet-tdt-0.6b-v3. Both are licensed CC-BY-4.0, and so is this conversion. Credit NVIDIA and Moondream when you use it.
  • Changes made here: the weights were converted from the Hugging Face transformers checkpoint to the CTranslate2 format and stored as float16 (the original stores 356 matrices as F16 and the rest as F32). The 6 vad_head.* tensors were dropped, because CTranslate2 does not run them. tokenizer.model and the featurizer settings come from NVIDIA's parakeet-tdt-0.6b-v3, whose vocabulary has the same pieces and ids as the tokenizer.json of parakeet-ultra.
  • The accuracy and speed numbers on the original model card were measured by Moondream with its own engine and are not repeated here.

Files

model.bin (float16 weights), config.json, vocabulary.json, tokenizer.model. The sha256 of model.bin is 78733606b62c652b534cc40bd22ba2939cc30fd64f213aaa597bfd97f505ef30.

Usage

import numpy as np
import ctranslate2

model = ctranslate2.models.Parakeet("parakeet-ultra-fp16", device="cuda", compute_type="float16")
audio = np.ascontiguousarray(samples[None], dtype=np.float32)  # [batch, samples], 16 kHz mono
print(model.transcribe_audio(audio)[0].text)

It needs the Parakeet model of voxrun-ctranslate2 (built from master with CUDA for device="cuda").

What was checked

On 24 clips (4 English and 4 each of German, French, Spanish, Italian and Russian; FLEURS test clips of 13 to 28 s), the float32 CTranslate2 model gave the same token IDs, frames, durations and text as NeMo 3.0.0 running these weights (FP32 greedy decoding), on CPU and on CUDA. The float16 model of this repository gave the same tokens as float32 on all 24 clips. On 20 FLEURS clips the word error rate of the float32 model was 2.86 percent for both parakeet-ultra and parakeet-tdt-0.6b-v3, so those clips show no difference between the two. Twenty clips cannot confirm or refute the benchmark numbers of the original model card.

On an RTX 5080, a 30 s clip took 22.4 ms (float16, batch 1) and 117.2 ms (batch 16) with CTranslate2, against 37.0 ms and 204.7 ms for NeMo with the same weights.

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for twmht/parakeet-ultra-fp16

Finetuned
(29)
this model