error : ValueError: Unrecognized configuration class

#2
by tekeshwarhirwani - opened

ValueError: Unrecognized configuration class <class
'transformers.models.t5.configuration_t5.T5Config'> for this kind of AutoModel:
AutoModelForTokenClassification.
Model type should be one of AlbertConfig, BertConfig, BigBirdConfig,
BioGptConfig, BloomConfig, CamembertConfig, CanineConfig, ConvBertConfig,
Data2VecTextConfig, DebertaConfig, DebertaV2Config, DistilBertConfig,
ElectraConfig, ErnieConfig, ErnieMConfig, EsmConfig, FlaubertConfig, FNetConfig,
FunnelConfig, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig,
GPTNeoXConfig, IBertConfig, LayoutLMConfig, LayoutLMv2Config, LayoutLMv3Config,
LiltConfig, LongformerConfig, LukeConfig, MarkupLMConfig, MegaConfig,
MegatronBertConfig, MobileBertConfig, MPNetConfig, NezhaConfig,
NystromformerConfig, QDQBertConfig, RemBertConfig, RobertaConfig,
RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, SqueezeBertConfig,
XLMConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, XmodConfig,
YosoConfig.

Sign up or log in to comment