Downloads · 30 days
0
TheStageAI/Elastic-parakeet-tdt-0.6b-v2
Elastic-parakeet-tdt-0.6b-v2 is a automatic speech recognition model from TheStageAI. Use it when you need speech turned into text. The card lists the license as other.
Downloads · 30 days
0
Access
Public
Updated Oct 19, 2026
Repo size
4.8 GB
Likes
0
Public
Click a slice to open those files.
.enc4.8 GB · 100%
From the Hugging Face model README
ElasticModels are the models produced by TheStage AI ANNA: Automated Neural Networks Accelerator. ANNA allows you to control model size, latency and quality with a simple slider movement, routing different compression algorithms to different layers. For each model, we have produced a series of optimized models:
Models can be accessed via TheStage AI Python SDK: ElasticModels, or deployed as Docker containers with REST API endpoints (see Deploy section).
| Property | Value |
|---|---|
| GPU | H100 |
| Python Version | 3.10-3.12 |
| CPU | Intel/AMD x86_64 |
| CUDA Version | 12.8+ |
Install TheStage AI CLI and setup API token:
pip install thestage
thestage config set --access-token <YOUR_ACCESS_TOKEN>
Elastic Models provides the same interface as HuggingFace Transformers. Here is an example of how to use the parakeet-tdt-0.6b-v2 model.
pip install 'thestage-elastic-models[nvidia]' \
--extra-index-url https://thestage.jfrog.io/artifactory/api/pypi/pypi-thestage-ai-production/simple
pip install datasets==3.6.0 librosa soundfile # only needed to load audio for the example below
import torch
from elastic_models.transformers import ParakeetForTDT
from transformers import AutoProcessor
model_name = "nvidia/parakeet-tdt-0.6b-v2"
hf_token = ''
device = torch.device("cuda")
model = ParakeetForTDT.from_pretrained(
model_name,
token=hf_token,
torch_dtype=torch.bfloat16,
mode='S'
).to(device)
model.eval()
# The upstream checkpoint is published in NeMo format; the model class converts
# it to HF format on load and caches the result. Point the processor at that
# cached directory.
from elastic_models.transformers.models.parakeet import ensure_hf_checkpoint
processor = AutoProcessor.from_pretrained(
ensure_hf_checkpoint(model_name), token=hf_token
)
# Load audio file
from datasets import load_dataset
dataset = load_dataset(
"hf-internal-testing/librispeech_asr_dummy",
"clean", split="validation"
)
audio_sample = dataset[0]["audio"]
# Process audio
inputs = processor(
audio_sample["array"],
sampling_rate=audio_sample["sampling_rate"],
return_tensors="pt"
).to(device)
inputs["input_features"] = inputs["input_features"].to(model.dtype)
# Generate transcription
with torch.inference_mode():
output = model.generate(**inputs)
transcription = processor.batch_decode(
output.sequences, skip_special_tokens=True
)[0]
print(f"Transcription: {transcription}")
We have evaluated the models using the Hugging Face Open ASR Leaderboard methodology. For each model size (S, M, L, XL), we report Word Error Rate (WER) on standard English speech recognition benchmarks. The model is English-only.

| Dataset | S | M | L | XL | Original |
|---|---|---|---|---|---|
| AMI | 11.45 | 11.4 | 11.32 | 11.15 | 11.15 |
| Earnings22 | 11.5 | 11.4 | 11.43 | 11.28 | 11.28 |
| GigaSpeech | 9.85 | 9.85 | 9.83 | 9.75 | 9.73 |
| LibriSpeech Clean | 1.68 | 1.69 | 1.7 | 1.67 | 1.68 |
| LibriSpeech Other | 3.22 | 3.23 | 3.21 | 3.2 | 3.23 |
| SPGISpeech | 2.18 | 2.18 | 2.18 | 2.17 | 2.16 |
| VoxPopuli | 5.94 | 6.66 | 6.63 | 5.87 | 5.88 |
| Average | 6.55 | 6.63 | 6.61 | 6.44 | 6.44 |
Average is over the seven subsets listed below; TEDLium is not included, as it is not published in the leaderboard dataset repository.
We measured RTFx (Real-Time Factor) for each model size on various GPUs. RTFx indicates how many times faster than real-time the model transcribes audio. Higher RTFx is better.
| GPU/Model Size | S | M | L | XL | Original |
|---|---|---|---|---|---|
| H100 | 615 | 608 | 597 | 557 | 89 |
| GPU/Model Size | S | M | L | XL | Original |
|---|---|---|---|---|---|
| H100 (batch 16) | 2600 | 2540 | 2497 | 2400 | 765 |
| H100 (batch 32) | 3858 | 3750 | 3649 | 3452 | 1184 |
| H100 (batch 64) | 4522 | 4385 | 4231 | 3971 | 1744 |
RTFx (Real-Time Factor) is audio_duration / transcription_time: higher values mean faster-than-real-time transcription. Measured on a single H100 over LibriSpeech test-clean, 192 clips in dataset order, one timed pass, with features precomputed before the timer. Decoding uses the label-looping loop captured as a single CUDA graph; the Original row is the unaccelerated model and does not use it.
Algorithm summary:
- Load the parakeet-tdt-0.6b-v2 model with the specified size (S, M, L, XL, original).
- Load a 10-minute audio file and resample to 16kHz mono.
- Run a warm-up pass to initialize GPU caches.
- Synchronize the GPU, record the start time.
- Run the transcription pipeline with the specified batch size and chunk length.
- Synchronize the GPU, record the end time.
- Calculate RTFx as
audio_duration / time_taken.
For serving with Nvidia GPUs, we provide ready-to-go Docker containers with OpenAI-compatible API endpoints. Using our containers you can set up an inference endpoint on any desired cloud/serverless providers as well as on-premise servers. You can also use this container to run inference through TheStage AI platform.
Pull docker image and start inference container. The container serves one model on one GPU; on a multi-GPU host --gpus all is fine, the model is placed on a single device:
docker pull public.ecr.aws/i3f7g5s7/thestage/elastic-models:0.2.4.post0-stt-streaming-v2-20261008-19026a9
docker run --rm -it \
--name triton-stt \
--gpus all \
-p 127.0.0.1:80:80 \
-v "$HOME/.cache:/opt/project/.cache/" \
-e MODEL_TYPE=stt_streaming_v2 \
-e MODEL_REPO=nvidia/parakeet-tdt-0.6b-v2 \
-e MODEL_SIZE=<MODEL_SIZE> \
-e PARAKEET_MODE=<PARAKEET_MODE> \
-e AUTH_TOKEN=<AUTH_TOKEN> \
-e MODEL_BATCH=<MODEL_BATCH> \
-e PIPELINE_MAX_BATCH_SIZE=<PIPELINE_MAX_BATCH_SIZE> \
-e CHUNK_LENGTH=<CHUNK_LENGTH> \
-e PREPROCESSOR_WORKERS=<PREPROCESSOR_WORKERS> \
-e MODEL_INSTANCES=<MODEL_INSTANCES> \
-e PREPROCESSOR_QUEUE_DELAY=<PREPROCESSOR_QUEUE_DELAY> \
-e MODEL_QUEUE_DELAY=<MODEL_QUEUE_DELAY> \
-e ENSEMBLE_QUEUE_DELAY=<ENSEMBLE_QUEUE_DELAY> \
-e HUGGINGFACE_ACCESS_TOKEN=<HUGGINGFACE_ACCESS_TOKEN> \
-e THESTAGE_AUTH_TOKEN=<THESTAGE_ACCESS_TOKEN> \
public.ecr.aws/i3f7g5s7/thestage/elastic-models:0.2.4.post0-stt-streaming-v2-20261008-19026a9
| Parameter | Description |
|---|---|
<MODEL_SIZE> | Names the served model: parakeet-tdt-0-6b-v2-<size>-cl<chunk>-bs<batch>. One of S, M, L, XL, eager. |
<PARAKEET_MODE> | Accelerated encoder to load: S, M, L or XL. Without it the original model is served. |
<AUTH_TOKEN> | Bearer token the endpoint requires. Protected inference requests return 503 while it is unset. |
<MODEL_BATCH> | Maximum batch size for the model. |
<PIPELINE_MAX_BATCH_SIZE> | Maximum batch size for the ASR pipeline processing. |
<CHUNK_LENGTH> | Audio chunk length in seconds (e.g., 10, 15, 20, 30). |
<PREPROCESSOR_WORKERS> | Number of preprocessor worker processes (e.g., 8). |
<MODEL_INSTANCES> | Number of Triton model instances (e.g., 1). |
<PREPROCESSOR_QUEUE_DELAY> | Preprocessor dynamic-batching queue delay in microseconds (e.g., 10000). |
<MODEL_QUEUE_DELAY> | Model dynamic-batching queue delay in microseconds (e.g., 10000). |
<ENSEMBLE_QUEUE_DELAY> | Ensemble dynamic-batching queue delay in microseconds (e.g., 10000). |
<HUGGINGFACE_ACCESS_TOKEN> | Hugging Face access token. |
<THESTAGE_ACCESS_TOKEN> | TheStage token generated on the platform (Profile -> Access tokens). |
elastic-models-client client stt \
--host 127.0.0.1 --port 80 --metadata-port 80 \
--authorization <AUTH_TOKEN> \
--sample sample.wav --lang-id en
curl -X POST http://127.0.0.1:80/v1/audio/transcriptions \
-H "Authorization: Bearer <AUTH_TOKEN>" \
-F "[email protected]" \
-F "model=parakeet-tdt-0-6b-v2-<MODEL_SIZE_LOWER>-cl<CHUNK_LENGTH>-bs<MODEL_BATCH>" \
-F "language=en"
POST
/v1/audio/transcriptions
Authorization:stringBearer token for authentication; it must match the container's
AUTH_TOKEN.
All fields are sent as multipart/form-data.
file:binaryThe audio file to transcribe.
model:stringSpecifies the model to use for transcription. Format:
parakeet-tdt-0-6b-v2-<size>-cl<chunk_length>-bs<batch_size>, where<size>isMODEL_SIZElowercased (s,m,l,xl, oreager),<chunk_length>isCHUNK_LENGTH, and<batch_size>isMODEL_BATCH. The dot in the model name becomes a hyphen. Example:parakeet-tdt-0-6b-v2-s-cl15-bs1.
language:stringLanguage of the audio (e.g., "en", "es", "fr").