[docstring] Update GPT2 and Whisper (#26642)
* [DOCS] Update docstrings for and tokenizer * [DOCS] add pad_token argument to whisper tokenizer docstring * [FIX] Reword pad_token description * [CHORE] Apply style formatting --------- Co-authored-by: jmcdonnell <jmcdonnell@fieldbox.ai>
This commit is contained in:
@@ -316,9 +316,6 @@ OBJECTS_TO_IGNORE = [
|
||||
"FlavaTextModel",
|
||||
"FocalNetModel",
|
||||
"FunnelTokenizerFast",
|
||||
"GPT2Config",
|
||||
"GPT2Tokenizer",
|
||||
"GPT2TokenizerFast",
|
||||
"GPTBigCodeConfig",
|
||||
"GPTJConfig",
|
||||
"GPTNeoXConfig",
|
||||
@@ -789,8 +786,6 @@ OBJECTS_TO_IGNORE = [
|
||||
"WhisperConfig",
|
||||
"WhisperFeatureExtractor",
|
||||
"WhisperForAudioClassification",
|
||||
"WhisperTokenizer",
|
||||
"WhisperTokenizerFast",
|
||||
"XCLIPTextConfig",
|
||||
"XCLIPVisionConfig",
|
||||
"XGLMConfig",
|
||||
|
||||
Reference in New Issue
Block a user