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

@@ -118,6 +118,7 @@ IGNORE_NON_AUTO_CONFIGURED = [
"TFMT5EncoderModel",
"TFOpenAIGPTDoubleHeadsModel",
"TFT5EncoderModel",
"Wav2Vec2ForCTC",
"XLMForQuestionAnswering",
"XLMProphetNetDecoder",
"XLMProphetNetEncoder",
@@ -370,6 +371,7 @@ DEPRECATED_OBJECTS = [
"TFBartPretrainedModel",
"TextDataset",
"TextDatasetForNextSentencePrediction",
"Wav2Vec2ForMaskedLM",
"glue_compute_metrics",
"glue_convert_examples_to_features",
"glue_output_modes",