Riva ASR Mandarin LM

Riva ASR Mandarin LM

Logo for Riva ASR Mandarin LM
Base Mandarin 4-gram LM
Latest Version
March 26, 2024
12.42 GB

Speech Recognition: Mandarin N-Gram Language Models

Model Overview

When deployed, the ASR engine can optionally condition the transcript output on n-gram language models.

Model Architecture

These models are simple 4-gram language models trained with Kneser-Ney smoothing using KenLM.

Intended Use

Primary use case intended for these models is automatic speech recognition.


Sequence of zero or more words.


Likelihood of word sequence.

How to Use this Model

There are a variety of formats contained within this model archive:

ARPA-formatted Language Models:

  • zh-CN_default_2.0.arpa
  • zh-CN_default_pnc_6.0.arpa (For zh-CN Unified model)

KenLM-formatted Binary Language Models

  • zh-CN_default_2.0.bin
  • zh-CN_default_pnc_6.0.bin (For zh-CN Unified model)

Flashlight Decoder Vocabulary Files

  • zh-CN_default_2.0_dict_vocab.txt

ARPA and KenLM binary formatted files can be used directly by the CTC CPU Decoder.




Currently, TLT cannot train LMs for ASR inference. To train custom LMs for ASR inference, use KenLM and consult the Riva Documentation.


By downloading and using the models and resources packaged with Riva Conversational AI, you accept the terms of the Riva license.

Ethical AI

NVIDIA’s platforms and application frameworks enable developers to build a wide array of AI applications. Consider potential algorithmic bias when choosing or creating the models being deployed. Work with the model’s developer to ensure that it meets the requirements for the relevant industry and use case; that the necessary instruction and documentation are provided to understand error rates, confidence intervals, and results; and that the model is being used under the conditions and in the manner intended.