Deprecate Wav2Vec2ForMaskedLM and add Wav2Vec2ForCTC (#10089)

* add wav2vec2CTC and deprecate for maskedlm

* remove from docs
This commit is contained in:
Patrick von Platen
2021-02-09 11:49:02 +03:00
committed by GitHub
parent ba542ffb49
commit b972125ced
8 changed files with 100 additions and 10 deletions

View File

@@ -58,8 +58,8 @@ Wav2Vec2Model
:members: forward
Wav2Vec2ForMaskedLM
Wav2Vec2ForCTC
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: transformers.Wav2Vec2ForMaskedLM
.. autoclass:: transformers.Wav2Vec2ForCTC
:members: forward