torchaudio.models.wav2vec2_base¶
- torchaudio.models.wav2vec2_base(encoder_projection_dropout: float = 0.1, encoder_attention_dropout: float = 0.1, encoder_ff_interm_dropout: float = 0.1, encoder_dropout: float = 0.1, encoder_layer_drop: float = 0.1, aux_num_out: Optional[int] = None) Wav2Vec2Model [source]¶
从 wav2vec 2.0 [Baevski 等人,2020] 构建“基本”
Wav2Vec2Model
- 参数:
encoder_projection_dropout (float) – 见
wav2vec2_model()
。encoder_attention_dropout (float) – 见
wav2vec2_model()
。encoder_ff_interm_dropout (float) – 见
wav2vec2_model()
。encoder_dropout (float) – 见
wav2vec2_model()
。encoder_layer_drop (float) – 见
wav2vec2_model()
。aux_num_out (int 或 None, 可选) – 见
wav2vec2_model()
。
- 返回值:
生成的模型。
- 返回类型: