Elastic-parakeet-tdt-0.6b-v2

NVIDIA

parakeet-tdt-0.6b-v2 automatic speech recognition, accelerated by TheStage AI.

Deploy

Serving with Docker Image

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.

Prebuilt image from ECR

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
ParameterDescription
Names the served model: parakeet-tdt-0-6b-v2- -cl -bs . One of S, M, L, XL, eager.
Accelerated encoder to load: S, M, L or XL. Without it the original model is served.
Bearer token the endpoint requires. Protected inference requests return 503 while it is unset.
Maximum batch size for the model.
Maximum batch size for the ASR pipeline processing.
Audio chunk length in seconds (e.g., 10, 15, 20, 30).
Number of preprocessor worker processes (e.g., 8).
Number of Triton model instances (e.g., 1).
Preprocessor dynamic-batching queue delay in microseconds (e.g., 10000).
Model dynamic-batching queue delay in microseconds (e.g., 10000).
Ensemble dynamic-batching queue delay in microseconds (e.g., 10000).
Hugging Face access token.
TheStage token generated on the platform (Profile -> Access tokens).

Invocation

CLI

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

curl -X POST http://127.0.0.1:80/v1/audio/transcriptions \
    -H "Authorization: Bearer <AUTH_TOKEN>" \
    -F "file=@sample.wav" \
    -F "model=parakeet-tdt-0-6b-v2-<MODEL_SIZE_LOWER>-cl<CHUNK_LENGTH>-bs<MODEL_BATCH>" \
    -F "language=en"

Endpoint Parameters

Method

POST /v1/audio/transcriptions

Header Parameters

Authorization: string
Bearer token for authentication; it must match the container's AUTH_TOKEN.

Input Body

All fields are sent as multipart/form-data.

file : binary
The audio file to transcribe.

model : string
Specifies the model to use for transcription. Format: parakeet-tdt-0-6b-v2- -cl -bs , where is MODEL_SIZE lowercased (s, m, l, xl, or eager), is CHUNK_LENGTH, and is MODEL_BATCH. The dot in the model name becomes a hyphen. Example: parakeet-tdt-0-6b-v2-s-cl15-bs1.

language : string
Language of the audio (e.g., "en", "es", "fr").