NeMoCitrinetOptions
Options & Configuration · AiDotNet.SpeechRecognition.NeMo
Options for NeMo Citrinet (NVIDIA, 2021): 1D time-channel separable convolution CTC model.
Inheritance: ModelOptions → NeMoCitrinetOptions
For Beginners
These options configure the NeMoCitrinet model. Default values follow the original paper’s recommended settings for optimal speech recognition accuracy.
Constructors
| Constructor | Summary |
|---|---|
NeMoCitrinetOptions() |
Initializes a new instance with default values. |
NeMoCitrinetOptions(NeMoCitrinetOptions other) |
Initializes a new instance by copying from another instance. |
Properties
| Property | Summary |
|---|---|
OnnxModelOptions OnnxOptions { get; set; } |
Gets or sets the ONNX Runtime settings used when the model is loaded from an ONNX file. |
double DropoutRate { get; set; } |
Gets or sets the dropout probability of the native layers during training. |
int EncoderDim { get; set; } |
Gets or sets the hidden width of the encoder. |
int MaxAudioLengthSeconds { get; set; } |
Gets or sets the longest clip, in seconds, of the reference configuration. |
int MaxTextLength { get; set; } |
Gets or sets the most tokens decoded for one utterance. |
int NumEncoderLayers { get; set; } |
Gets or sets the number of encoder layers. |
int NumMels { get; set; } |
Gets or sets the number of mel filterbank channels in the input features. |
int SampleRate { get; set; } |
Gets or sets the sample rate, in Hz, that input audio is expected at. |
int SqueezeExcitationRatio { get; set; } |
Squeeze-excitation reduction ratio for channel attention. |
int VocabSize { get; set; } |
Gets or sets the number of output tokens the model predicts over. |
string Language { get; set; } |
Gets or sets the language code (for example “en”) reported for a transcript when none is passed or detected. |
string ModelPath { get; set; } |
Gets or sets the path of the pretrained ONNX model. |