[docstring] Fix UniSpeech, UniSpeechSat, Wav2Vec2ForCTC (#26664)

* Remove UniSpeechConfig

* Remove , at the end otherwise check_docstring changes order

* Auto add new docstring

* Update docstring for UniSpeechConfig

* Remove from check_docstrings

* Remove UniSpeechSatConfig and UniSpeechSatForCTC from check_docstrings

* Remove , at the end

* Fix docstring

* Update docstring for Wav2Vec2ForCTC

* Update Wav2Vec2ForCTC docstring

Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>

* fix style

---------

Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
This commit is contained in:
Gizem
2023-10-12 07:51:34 -07:00
committed by GitHub
parent 0ebee8b933
commit eb734e5147
6 changed files with 54 additions and 27 deletions

View File

@@ -760,10 +760,6 @@ OBJECTS_TO_IGNORE = [
"TranslationPipeline",
"TvltImageProcessor",
"UMT5Config",
"UniSpeechConfig",
"UniSpeechForCTC",
"UniSpeechSatConfig",
"UniSpeechSatForCTC",
"UperNetConfig",
"UperNetForSemanticSegmentation",
"ViTHybridImageProcessor",
@@ -787,7 +783,6 @@ OBJECTS_TO_IGNORE = [
"Wav2Vec2ConformerConfig",
"Wav2Vec2ConformerForCTC",
"Wav2Vec2FeatureExtractor",
"Wav2Vec2ForCTC",
"Wav2Vec2PhonemeCTCTokenizer",
"WavLMConfig",
"WavLMForCTC",