A collection of easy to use, highly optimized Deep Learning Models for Speech Recognition. The Parakeet collection provides Data Scientists and Software Engineers with recipes to train, fine-tune, and deploy state-of-the-art ASR models.
Parakeet CTC 0.6B Taiwanese Mandarin (zh-TW) - Speech-to-Text Collection
Overview
Automatic Speech Recognition (ASR) systems are widely used in applications such as voice command interfaces, automated subtitle generation for online media, and transcription of customer interactions for archival. Recent advances in deep learning have enabled speech-to-text models to transcribe audio to text in real time, achieving high accuracy even in adverse acoustic conditions, with robustness to noise and accents, and low word error rates (WER).
The Parakeet CTC 0.6B Taiwanese Mandarin model represents a significant advancement in conversational AI, offering state-of-the-art Taiwanese Mandarin (Traditional Chinese) speech recognition with 600 million parameters. Integrated within the NeMo framework, it provides developers with a highly accurate and efficient solution for building robust voice-enabled applications.
In this collection
This collection provides a comprehensive set of finetunable artifacts and a ready-to-use Parakeet NIM container, enabling flexible deployment and customization of the Parakeet CTC 0.6B Taiwanese Mandarin model as a NVIDIA Inference Microservice (NIM). The collection includes:
- Acoustic Model - Parakeet-CTC-XL (FastConformer-CTC) base model for Taiwanese Mandarin audio-to-text transcription
- Language Model - N-gram language model for contextual word sequence prediction in Taiwanese Mandarin with punctuation support
- Inverse Text Normalization (ITN) - Converts spoken form text to written form in Taiwanese Mandarin
- Voice Activity Detection (VAD) - Detects speech segments in audio streams
- Speaker Diarization Model (Sortformer) - Identifies and labels different speakers in audio (who spoke when)
Each component can be used as provided or further finetuned to suit custom deployment needs, enabling domain-specific customization for various industries and use cases.
How does Parakeet CTC work?
The Parakeet CTC pipeline processes audio through multiple specialized components that work together to produce accurate, properly formatted transcriptions with speaker labels:
1. Voice Activity Detection (VAD)
Before processing begins, the Silero VAD model identifies segments of the audio that contain speech versus silence or background noise. This preprocessing step:
- Reduces computational overhead by filtering non-speech segments
- Improves noise robustness by focusing processing on relevant audio
- Enhances the ability to detect the beginning and end of speech segments for acurate endpointing.
2. Feature Extraction
The audio preprocessing stage converts raw analog signals into a machine-understandable format:
- Resampling: Converts audio to the appropriate sample rate
- Signal Preprocessing: Applies standardization and windowing techniques
- Spectrogram Transformation: Converts time-domain audio signals into frequency-domain representations that capture acoustic features
3. Acoustic Modeling with Parakeet-CTC
The core of the system is the Parakeet-CTC-XL (FastConformer-CTC) acoustic model, which:
- Architecture: Uses an optimized Conformer architecture with 8x depthwise-separable convolutional downsampling
- Scale: 600 million parameters optimized for Taiwanese Mandarin (Traditional Chinese)
- Input Processing: Accepts spectrogram features and processes them through self-attention and convolution layers
- CTC Loss: Employs Connectionist Temporal Classification to align audio frames with text outputs
- Output: Produces log probability scores for vocabulary tokens at each time step
The FastConformer architecture combines the strengths of Transformers (global context via self-attention) with CNNs (local feature extraction), achieving superior accuracy with improved efficiency through linearly scalable attention mechanisms.
4. Language Modeling
The n-gram language model adds contextual understanding for Taiwanese Mandarin:
- Statistical Context: Calculates probability distributions over Taiwanese Mandarin character sequences
- Punctuation Support: Includes punctuation symbols (period, comma, question mark) through LM decoding
- Error Correction: Helps correct acoustic model mistakes by considering likely character combinations
- Domain Adaptation: Can be customized with domain-specific vocabulary and patterns
- Architecture: 4-gram model trained with Kneser-Ney smoothing
5. Inverse Text Normalization (ITN)
ITN converts spoken-form Taiwanese Mandarin text to written form using weighted finite-state transducers (WFST):
- Numbers: Converts spoken numbers to written form
- Measurements: Standardizes measurement expressions
- Currency: Formats currency amounts appropriately
- Dates and times: Converts spoken dates to standard format
The ITN model uses OpenFST finite state archives (.far) within the Sparrowhawk normalization engine, specifically designed for Mandarin (zh-TW) text.
6. Speaker Diarization with Sortformer
The Sortformer diarization model identifies and labels different speakers in multi-speaker audio:
- Speaker Segmentation: Determines when different speakers are talking
- Speaker Labeling: Assigns consistent labels to each speaker throughout the audio
- Streaming Support: Provides real-time speaker diarization with low latency
- Multi-speaker Support: Handles up to 4 speakers simultaneously
Sortformer uses an innovative arrival-time ordering approach to resolve speaker permutation problems, making it particularly effective for conversational audio, meetings, and interviews. The model employs a FastConformer encoder with Transformer layers trained with Sort-Loss and Permutation Invariant Loss objectives.
Where to Get Started
Prerequisites
Runtime Environment:
- Riva 2.19.0 or higher
- Linux operating system (Linux 4 Tegra also supported)
- NVIDIA GPU (H100, A100, or L40 recommended)
Development Tools:
- NeMo Framework for model finetuning
- NGC CLI for downloading artifacts
- Docker for containerized deployment
Deployment Workflow
-
Download the artifacts: Use NGC CLI to download all artifacts from this collection
ngc registry model download-version <artifact> -
Finetune for Your Domain (Optional): Customize models for your specific use case
-
Optimize and Deploy: Package customized models into a NIM
- Use Riva build and deploy flow to convert and optimize models
- Deploy as a microservice with Riva NIMs
- Scale horizontally for production workloads
References
Academic Papers
- Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition
- Conformer: Convolution-augmented Transformer for Speech Recognition
- NeMo Inverse Text Normalization: From Development To Production
Software & Tools
- NeMo Framework - Training and finetuning toolkit
- KenLM - Language model training
- Google Sparrowhawk - Text normalization engine
- Riva - Deployment and inference platform
Ethical Considerations
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Terms of Use
By using this software or microservice, you are agreeing to the terms and conditions of the license and acceptable use policy.
Governing Terms
This trial is governed by the NVIDIA API Trial Terms of Service (found at https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf). The use of this model is governed by the AI Foundation Models Community License Agreement.
You are responsible for ensuring that your use of NVIDIA AI Foundation Models complies with all applicable laws.
Disclaimer
AI models generate responses and outputs based on complex algorithms and machine learning techniques, and those responses or outputs may be inaccurate or indecent. By testing this model, you assume the risk of any harm caused by any response or output of the model. Please do not upload any confidential information or personal data. Your use is logged for security.