Table of Contents

Class Wav2Vec2LidOptions

Namespace
AiDotNet.Audio.LanguageIdentification
Assembly
AiDotNet.dll

Configuration options specific to Wav2Vec2 language identification.

public class Wav2Vec2LidOptions : LanguageIdentifierOptions
Inheritance
Wav2Vec2LidOptions
Inherited Members

Properties

FeatureProjectionDropout

Gets or sets the feature projection dropout rate.

public double FeatureProjectionDropout { get; set; }

Property Value

double

Default is 0.0.

HiddenDropout

Gets or sets the hidden dropout rate.

public double HiddenDropout { get; set; }

Property Value

double

Default is 0.1.

HiddenSize

Gets or sets the hidden size of the transformer.

public int HiddenSize { get; set; }

Property Value

int

Default is 768.

IntermediateSize

Gets or sets the intermediate size for feed-forward layers.

public int IntermediateSize { get; set; }

Property Value

int

Default is 3072.

NumAttentionHeads

Gets or sets the number of attention heads.

public int NumAttentionHeads { get; set; }

Property Value

int

Default is 12.

NumLayers

Gets or sets the number of transformer layers.

public int NumLayers { get; set; }

Property Value

int

Default is 12.