mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-16 02:58:23 +06:00
parent
a2ad9d5ad5
commit
535fe78b9f
@ -69,8 +69,6 @@ OBJECTS_TO_IGNORE = [
|
|||||||
"InputExample",
|
"InputExample",
|
||||||
"InputFeatures",
|
"InputFeatures",
|
||||||
# Signature is *args/**kwargs
|
# Signature is *args/**kwargs
|
||||||
# "PretrainedConfig", #ignored but could be fixed
|
|
||||||
# "GenerationConfig", #ignored but could be fixed
|
|
||||||
"TFSequenceSummary",
|
"TFSequenceSummary",
|
||||||
"TFBertTokenizer",
|
"TFBertTokenizer",
|
||||||
"TFGPT2Tokenizer",
|
"TFGPT2Tokenizer",
|
||||||
@ -83,7 +81,6 @@ OBJECTS_TO_IGNORE = [
|
|||||||
"AudioClassificationPipeline",
|
"AudioClassificationPipeline",
|
||||||
"AutoformerConfig",
|
"AutoformerConfig",
|
||||||
"AutomaticSpeechRecognitionPipeline",
|
"AutomaticSpeechRecognitionPipeline",
|
||||||
"AzureOpenAiAgent",
|
|
||||||
"BarkCoarseConfig",
|
"BarkCoarseConfig",
|
||||||
"BarkConfig",
|
"BarkConfig",
|
||||||
"BarkFineConfig",
|
"BarkFineConfig",
|
||||||
@ -165,7 +162,6 @@ OBJECTS_TO_IGNORE = [
|
|||||||
"ElectraConfig",
|
"ElectraConfig",
|
||||||
"ElectraTokenizerFast",
|
"ElectraTokenizerFast",
|
||||||
"EncoderDecoderModel",
|
"EncoderDecoderModel",
|
||||||
"EncoderRepetitionPenaltyLogitsProcessor",
|
|
||||||
"ErnieMModel",
|
"ErnieMModel",
|
||||||
"ErnieModel",
|
"ErnieModel",
|
||||||
"ErnieMTokenizer",
|
"ErnieMTokenizer",
|
||||||
@ -332,7 +328,6 @@ OBJECTS_TO_IGNORE = [
|
|||||||
"ImageToImagePipeline",
|
"ImageToImagePipeline",
|
||||||
"ImageToTextPipeline",
|
"ImageToTextPipeline",
|
||||||
"InformerConfig",
|
"InformerConfig",
|
||||||
"InstructBlipQFormerConfig",
|
|
||||||
"JukeboxPriorConfig",
|
"JukeboxPriorConfig",
|
||||||
"JukeboxTokenizer",
|
"JukeboxTokenizer",
|
||||||
"LEDConfig",
|
"LEDConfig",
|
||||||
@ -450,7 +445,6 @@ OBJECTS_TO_IGNORE = [
|
|||||||
"RemBertModel",
|
"RemBertModel",
|
||||||
"RemBertTokenizer",
|
"RemBertTokenizer",
|
||||||
"RemBertTokenizerFast",
|
"RemBertTokenizerFast",
|
||||||
"RepetitionPenaltyLogitsProcessor",
|
|
||||||
"RetriBertConfig",
|
"RetriBertConfig",
|
||||||
"RetriBertTokenizerFast",
|
"RetriBertTokenizerFast",
|
||||||
"RoCBertConfig",
|
"RoCBertConfig",
|
||||||
@ -496,253 +490,26 @@ OBJECTS_TO_IGNORE = [
|
|||||||
"Text2TextGenerationPipeline",
|
"Text2TextGenerationPipeline",
|
||||||
"TextClassificationPipeline",
|
"TextClassificationPipeline",
|
||||||
"TextGenerationPipeline",
|
"TextGenerationPipeline",
|
||||||
"TFAlbertForMaskedLM",
|
|
||||||
"TFAlbertForMultipleChoice",
|
|
||||||
"TFAlbertForPreTraining",
|
|
||||||
"TFAlbertForQuestionAnswering",
|
|
||||||
"TFAlbertForSequenceClassification",
|
|
||||||
"TFAlbertForTokenClassification",
|
|
||||||
"TFAlbertModel",
|
|
||||||
"TFBartForConditionalGeneration",
|
"TFBartForConditionalGeneration",
|
||||||
"TFBartForSequenceClassification",
|
"TFBartForSequenceClassification",
|
||||||
"TFBartModel",
|
"TFBartModel",
|
||||||
"TFBertForMaskedLM",
|
|
||||||
"TFBertForMultipleChoice",
|
|
||||||
"TFBertForNextSentencePrediction",
|
|
||||||
"TFBertForPreTraining",
|
|
||||||
"TFBertForQuestionAnswering",
|
|
||||||
"TFBertForSequenceClassification",
|
|
||||||
"TFBertForTokenClassification",
|
|
||||||
"TFBertModel",
|
"TFBertModel",
|
||||||
"TFBlenderbotForConditionalGeneration",
|
|
||||||
"TFBlenderbotModel",
|
|
||||||
"TFBlenderbotSmallForConditionalGeneration",
|
|
||||||
"TFBlenderbotSmallModel",
|
|
||||||
"TFBlipForConditionalGeneration",
|
|
||||||
"TFBlipForImageTextRetrieval",
|
|
||||||
"TFBlipForQuestionAnswering",
|
|
||||||
"TFCLIPModel",
|
|
||||||
"TFCTRLForSequenceClassification",
|
|
||||||
"TFCTRLLMHeadModel",
|
|
||||||
"TFCTRLModel",
|
|
||||||
"TFCamembertForCausalLM",
|
|
||||||
"TFCamembertForMaskedLM",
|
|
||||||
"TFCamembertForMultipleChoice",
|
|
||||||
"TFCamembertForQuestionAnswering",
|
|
||||||
"TFCamembertForSequenceClassification",
|
|
||||||
"TFCamembertForTokenClassification",
|
|
||||||
"TFCamembertModel",
|
|
||||||
"TFConvBertForMaskedLM",
|
|
||||||
"TFConvBertForMultipleChoice",
|
|
||||||
"TFConvBertForQuestionAnswering",
|
|
||||||
"TFConvBertForSequenceClassification",
|
|
||||||
"TFConvBertForTokenClassification",
|
|
||||||
"TFConvBertModel",
|
|
||||||
"TFConvNextForImageClassification",
|
|
||||||
"TFConvNextModel",
|
"TFConvNextModel",
|
||||||
"TFConvNextV2Model", # Parsing issue. Equivalent to PT ConvNextV2Model, see PR #25558
|
|
||||||
"TFConvNextV2ForImageClassification",
|
|
||||||
"TFCvtForImageClassification",
|
|
||||||
"TFCvtModel",
|
|
||||||
"TFDPRReader",
|
|
||||||
"TFData2VecVisionForImageClassification",
|
|
||||||
"TFData2VecVisionForSemanticSegmentation",
|
|
||||||
"TFData2VecVisionModel",
|
"TFData2VecVisionModel",
|
||||||
"TFDebertaForMaskedLM",
|
|
||||||
"TFDebertaForQuestionAnswering",
|
|
||||||
"TFDebertaForSequenceClassification",
|
|
||||||
"TFDebertaForTokenClassification",
|
|
||||||
"TFDebertaModel",
|
|
||||||
"TFDebertaV2ForMaskedLM",
|
|
||||||
"TFDebertaV2ForMultipleChoice",
|
|
||||||
"TFDebertaV2ForQuestionAnswering",
|
|
||||||
"TFDebertaV2ForSequenceClassification",
|
|
||||||
"TFDebertaV2ForTokenClassification",
|
|
||||||
"TFDebertaV2Model",
|
|
||||||
"TFDeiTForImageClassification",
|
|
||||||
"TFDeiTForImageClassificationWithTeacher",
|
|
||||||
"TFDeiTForMaskedImageModeling",
|
|
||||||
"TFDeiTModel",
|
"TFDeiTModel",
|
||||||
"TFDistilBertForMaskedLM",
|
|
||||||
"TFDistilBertForMultipleChoice",
|
|
||||||
"TFDistilBertForQuestionAnswering",
|
|
||||||
"TFDistilBertForSequenceClassification",
|
|
||||||
"TFDistilBertForTokenClassification",
|
|
||||||
"TFDistilBertModel",
|
|
||||||
"TFEfficientFormerForImageClassification",
|
|
||||||
"TFEfficientFormerForImageClassificationWithTeacher",
|
|
||||||
"TFEfficientFormerModel",
|
|
||||||
"TFElectraForMaskedLM",
|
|
||||||
"TFElectraForMultipleChoice",
|
|
||||||
"TFElectraForPreTraining",
|
|
||||||
"TFElectraForQuestionAnswering",
|
|
||||||
"TFElectraForSequenceClassification",
|
|
||||||
"TFElectraForTokenClassification",
|
|
||||||
"TFElectraModel",
|
|
||||||
"TFEncoderDecoderModel",
|
"TFEncoderDecoderModel",
|
||||||
"TFEsmForMaskedLM",
|
|
||||||
"TFEsmForSequenceClassification",
|
|
||||||
"TFEsmForTokenClassification",
|
|
||||||
"TFEsmModel",
|
"TFEsmModel",
|
||||||
"TFFlaubertForMultipleChoice",
|
|
||||||
"TFFlaubertForQuestionAnsweringSimple",
|
|
||||||
"TFFlaubertForSequenceClassification",
|
|
||||||
"TFFlaubertForTokenClassification",
|
|
||||||
"TFFlaubertModel",
|
|
||||||
"TFFlaubertWithLMHeadModel",
|
|
||||||
"TFFunnelBaseModel",
|
|
||||||
"TFFunnelForMaskedLM",
|
|
||||||
"TFFunnelForMultipleChoice",
|
|
||||||
"TFFunnelForPreTraining",
|
|
||||||
"TFFunnelForQuestionAnswering",
|
|
||||||
"TFFunnelForSequenceClassification",
|
|
||||||
"TFFunnelForTokenClassification",
|
|
||||||
"TFFunnelModel",
|
|
||||||
"TFGPT2DoubleHeadsModel",
|
|
||||||
"TFGPT2ForSequenceClassification",
|
|
||||||
"TFGPT2LMHeadModel",
|
|
||||||
"TFGPT2Model",
|
|
||||||
"TFGPTJForCausalLM",
|
|
||||||
"TFGPTJForQuestionAnswering",
|
|
||||||
"TFGPTJForSequenceClassification",
|
|
||||||
"TFGPTJModel",
|
|
||||||
"TFGroupViTModel",
|
|
||||||
"TFHubertForCTC",
|
|
||||||
"TFHubertModel",
|
|
||||||
"TFLEDForConditionalGeneration",
|
|
||||||
"TFLEDModel",
|
|
||||||
"TFLayoutLMForMaskedLM",
|
|
||||||
"TFLayoutLMForQuestionAnswering",
|
|
||||||
"TFLayoutLMForSequenceClassification",
|
|
||||||
"TFLayoutLMForTokenClassification",
|
|
||||||
"TFLayoutLMModel",
|
|
||||||
"TFLayoutLMv3ForQuestionAnswering",
|
|
||||||
"TFLayoutLMv3ForSequenceClassification",
|
|
||||||
"TFLayoutLMv3ForTokenClassification",
|
|
||||||
"TFLayoutLMv3Model",
|
|
||||||
"TFLongformerForMaskedLM",
|
|
||||||
"TFLongformerForMultipleChoice",
|
|
||||||
"TFLongformerForQuestionAnswering",
|
|
||||||
"TFLongformerForSequenceClassification",
|
|
||||||
"TFLongformerForTokenClassification",
|
|
||||||
"TFLongformerModel",
|
|
||||||
"TFLxmertForPreTraining",
|
|
||||||
"TFLxmertModel",
|
|
||||||
"TFMBartForConditionalGeneration",
|
|
||||||
"TFMBartModel",
|
|
||||||
"TFMPNetForMaskedLM",
|
|
||||||
"TFMPNetForMultipleChoice",
|
|
||||||
"TFMPNetForQuestionAnswering",
|
|
||||||
"TFMPNetForSequenceClassification",
|
|
||||||
"TFMPNetForTokenClassification",
|
|
||||||
"TFMPNetModel",
|
|
||||||
"TFMarianMTModel",
|
|
||||||
"TFMarianModel",
|
|
||||||
"TFMobileBertForMaskedLM",
|
|
||||||
"TFMobileBertForMultipleChoice",
|
|
||||||
"TFMobileBertForNextSentencePrediction",
|
|
||||||
"TFMobileBertForPreTraining",
|
|
||||||
"TFMobileBertForQuestionAnswering",
|
|
||||||
"TFMobileBertForSequenceClassification",
|
|
||||||
"TFMobileBertForTokenClassification",
|
|
||||||
"TFMobileBertModel",
|
|
||||||
"TFMobileViTForImageClassification",
|
|
||||||
"TFMobileViTForSemanticSegmentation",
|
|
||||||
"TFMobileViTModel",
|
"TFMobileViTModel",
|
||||||
"TFOPTForCausalLM",
|
|
||||||
"TFOPTModel",
|
|
||||||
"TFOpenAIGPTDoubleHeadsModel",
|
|
||||||
"TFOpenAIGPTForSequenceClassification",
|
|
||||||
"TFOpenAIGPTLMHeadModel",
|
|
||||||
"TFOpenAIGPTModel",
|
|
||||||
"TFPegasusForConditionalGeneration",
|
|
||||||
"TFPegasusModel",
|
|
||||||
"TFRagModel",
|
"TFRagModel",
|
||||||
"TFRagSequenceForGeneration",
|
"TFRagSequenceForGeneration",
|
||||||
"TFRagTokenForGeneration",
|
"TFRagTokenForGeneration",
|
||||||
"TFRegNetForImageClassification",
|
|
||||||
"TFRegNetModel",
|
|
||||||
"TFRemBertForCausalLM",
|
|
||||||
"TFRemBertForMaskedLM",
|
|
||||||
"TFRemBertForMultipleChoice",
|
|
||||||
"TFRemBertForQuestionAnswering",
|
|
||||||
"TFRemBertForSequenceClassification",
|
|
||||||
"TFRemBertForTokenClassification",
|
|
||||||
"TFRemBertModel",
|
|
||||||
"TFRepetitionPenaltyLogitsProcessor",
|
"TFRepetitionPenaltyLogitsProcessor",
|
||||||
"TFResNetForImageClassification",
|
|
||||||
"TFResNetModel",
|
|
||||||
"TFRoFormerForCausalLM",
|
|
||||||
"TFRoFormerForMaskedLM",
|
|
||||||
"TFRoFormerForMultipleChoice",
|
|
||||||
"TFRoFormerForQuestionAnswering",
|
|
||||||
"TFRoFormerForSequenceClassification",
|
|
||||||
"TFRoFormerForTokenClassification",
|
|
||||||
"TFRoFormerModel",
|
|
||||||
"TFRobertaForMaskedLM",
|
|
||||||
"TFRobertaForMultipleChoice",
|
|
||||||
"TFRobertaForQuestionAnswering",
|
|
||||||
"TFRobertaForSequenceClassification",
|
|
||||||
"TFRobertaForTokenClassification",
|
|
||||||
"TFRobertaModel",
|
|
||||||
"TFRobertaPreLayerNormForMaskedLM",
|
|
||||||
"TFRobertaPreLayerNormForMultipleChoice",
|
|
||||||
"TFRobertaPreLayerNormForQuestionAnswering",
|
|
||||||
"TFRobertaPreLayerNormForSequenceClassification",
|
|
||||||
"TFRobertaPreLayerNormForTokenClassification",
|
|
||||||
"TFRobertaPreLayerNormModel",
|
|
||||||
"TFSamModel",
|
|
||||||
"TFSegformerForImageClassification",
|
|
||||||
"TFSegformerForSemanticSegmentation",
|
|
||||||
"TFSegformerModel",
|
|
||||||
"TFSpeech2TextForConditionalGeneration",
|
|
||||||
"TFSpeech2TextModel",
|
|
||||||
"TFSwiftFormerForImageClassification",
|
|
||||||
"TFSwiftFormerModel",
|
|
||||||
"TFSwinForImageClassification",
|
|
||||||
"TFSwinForMaskedImageModeling",
|
|
||||||
"TFSwinModel",
|
"TFSwinModel",
|
||||||
"TFT5EncoderModel",
|
|
||||||
"TFT5ForConditionalGeneration",
|
|
||||||
"TFT5Model",
|
|
||||||
"TFTapasForMaskedLM",
|
|
||||||
"TFTapasForQuestionAnswering",
|
|
||||||
"TFTapasForSequenceClassification",
|
|
||||||
"TFTapasModel",
|
|
||||||
"TFTransfoXLForSequenceClassification",
|
|
||||||
"TFTransfoXLLMHeadModel",
|
|
||||||
"TFTransfoXLModel",
|
|
||||||
"TFViTForImageClassification",
|
|
||||||
"TFViTMAEForPreTraining",
|
|
||||||
"TFViTMAEModel",
|
|
||||||
"TFViTModel",
|
"TFViTModel",
|
||||||
"TFVisionEncoderDecoderModel",
|
"TFVisionEncoderDecoderModel",
|
||||||
"TFVisionTextDualEncoderModel",
|
"TFVisionTextDualEncoderModel",
|
||||||
"TFWav2Vec2ForCTC",
|
|
||||||
"TFWav2Vec2Model",
|
|
||||||
"TFWhisperForConditionalGeneration",
|
|
||||||
"TFWhisperModel",
|
|
||||||
"TFXGLMForCausalLM",
|
"TFXGLMForCausalLM",
|
||||||
"TFXGLMModel",
|
"TFXGLMModel",
|
||||||
"TFXLMForMultipleChoice",
|
|
||||||
"TFXLMForQuestionAnsweringSimple",
|
|
||||||
"TFXLMForSequenceClassification",
|
|
||||||
"TFXLMForTokenClassification",
|
|
||||||
"TFXLMModel",
|
|
||||||
"TFXLMRobertaForCausalLM",
|
|
||||||
"TFXLMRobertaForMaskedLM",
|
|
||||||
"TFXLMRobertaForMultipleChoice",
|
|
||||||
"TFXLMRobertaForQuestionAnswering",
|
|
||||||
"TFXLMRobertaForSequenceClassification",
|
|
||||||
"TFXLMRobertaForTokenClassification",
|
|
||||||
"TFXLMRobertaModel",
|
|
||||||
"TFXLMWithLMHeadModel",
|
|
||||||
"TFXLNetForMultipleChoice",
|
|
||||||
"TFXLNetForQuestionAnsweringSimple",
|
|
||||||
"TFXLNetForSequenceClassification",
|
|
||||||
"TFXLNetForTokenClassification",
|
|
||||||
"TFXLNetLMHeadModel",
|
|
||||||
"TFXLNetModel",
|
|
||||||
"TimeSeriesTransformerConfig",
|
"TimeSeriesTransformerConfig",
|
||||||
"TokenClassificationPipeline",
|
"TokenClassificationPipeline",
|
||||||
"TrOCRConfig",
|
"TrOCRConfig",
|
||||||
|
Loading…
Reference in New Issue
Block a user