SpeakerDiarizedASROptions
Options & Configuration · AiDotNet.SpeechRecognition.Specialized
Options for Speaker-Diarized ASR: who-spoke-what transcription.
Inheritance: ModelOptions → SpeakerDiarizedASROptions
For Beginners
These options configure the SpeakerDiarizedASR model. Default values follow the original paper’s recommended settings for optimal speech recognition accuracy.
Constructors
| Constructor | Summary |
|---|---|
SpeakerDiarizedASROptions() |
Initializes a new instance with default values. |
SpeakerDiarizedASROptions(SpeakerDiarizedASROptions 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 NumAttentionHeads { get; set; } |
Gets or sets the number of heads in each attention layer. |
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 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. |