Upload lightonai_LightOnOCR-2-1B_1.txt with huggingface_hub
Browse files26 unmodified lines272829303132333435363726 unmodified linesERROR:Traceback (most recent call last):File "/tmp/lightonai_LightOnOCR-2-1B_1rweS26.py", line 27, in <module>model = AutoModelForSeq2SeqLM.from_pretrained("lightonai/LightOnOCR-2-1B")File "/tmp/.cache/uv/environments-v2/ee91f5fd6c657f04/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 375, in from_pretrainedraise ValueError(...<2 lines>...)ValueError: Unrecognized configuration class <class 'transformers.models.mistral3.configuration_mistral3.Mistral3Config'> for this kind of AutoModel: AutoModelForSeq2SeqLM.Model type should be one of AudioFlamingo3Config, BartConfig, BigBirdPegasusConfig, BlenderbotConfig, BlenderbotSmallConfig, EncoderDecoderConfig, FSMTConfig, GlmAsrConfig, GraniteSpeechConfig, LEDConfig, LongT5Config, M2M100Config, MarianConfig, MBartConfig, MT5Config, MvpConfig, NllbMoeConfig, PegasusConfig, PegasusXConfig, PLBartConfig, ProphetNetConfig, Qwen2AudioConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SwitchTransformersConfig, T5Config, T5GemmaConfig, T5Gemma2Config, UMT5Config, VoxtralConfig.26 unmodified lines272829303132333435363726 unmodified linesERROR:Traceback (most recent call last):File "/tmp/lightonai_LightOnOCR-2-1B_1I6wYW7.py", line 27, in <module>model = AutoModelForSeq2SeqLM.from_pretrained("lightonai/LightOnOCR-2-1B")File "/tmp/.cache/uv/environments-v2/ee91f5fd6c657f04/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 377, in from_pretrainedraise ValueError(...<2 lines>...)ValueError: Unrecognized configuration class <class 'transformers.models.mistral3.configuration_mistral3.Mistral3Config'> for this kind of AutoModel: AutoModelForSeq2SeqLM.Model type should be one of AudioFlamingo3Config, BartConfig, BigBirdPegasusConfig, BlenderbotConfig, BlenderbotSmallConfig, EncoderDecoderConfig, FSMTConfig, GlmAsrConfig, GraniteSpeechConfig, LEDConfig, LongT5Config, M2M100Config, MarianConfig, MBartConfig, MT5Config, MvpConfig, NllbMoeConfig, PegasusConfig, PegasusXConfig, PLBartConfig, ProphetNetConfig, Qwen2AudioConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SwitchTransformersConfig, T5Config, T5GemmaConfig, T5Gemma2Config, UMT5Config, VibeVoiceAsrConfig, VoxtralConfig, VoxtralRealtimeConfig.
lightonai_LightOnOCR-2-1B_1.txt+3-3