Upload lightonai_LightOnOCR-2-1B_1.txt with huggingface_hub
Browse files
lightonai_LightOnOCR-2-1B_1.txt
CHANGED
|
@@ -27,11 +27,11 @@ print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
|
|
| 27 |
|
| 28 |
ERROR:
|
| 29 |
Traceback (most recent call last):
|
| 30 |
-
File "/tmp/lightonai_LightOnOCR-2-
|
| 31 |
model = AutoModelForSeq2SeqLM.from_pretrained("lightonai/LightOnOCR-2-1B")
|
| 32 |
-
File "/tmp/.cache/uv/environments-v2/ee91f5fd6c657f04/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line
|
| 33 |
raise ValueError(
|
| 34 |
...<2 lines>...
|
| 35 |
)
|
| 36 |
ValueError: Unrecognized configuration class <class 'transformers.models.mistral3.configuration_mistral3.Mistral3Config'> for this kind of AutoModel: AutoModelForSeq2SeqLM.
|
| 37 |
-
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.
|
|
|
|
| 27 |
|
| 28 |
ERROR:
|
| 29 |
Traceback (most recent call last):
|
| 30 |
+
File "/tmp/lightonai_LightOnOCR-2-1B_1I6wYW7.py", line 27, in <module>
|
| 31 |
model = AutoModelForSeq2SeqLM.from_pretrained("lightonai/LightOnOCR-2-1B")
|
| 32 |
+
File "/tmp/.cache/uv/environments-v2/ee91f5fd6c657f04/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 377, in from_pretrained
|
| 33 |
raise ValueError(
|
| 34 |
...<2 lines>...
|
| 35 |
)
|
| 36 |
ValueError: Unrecognized configuration class <class 'transformers.models.mistral3.configuration_mistral3.Mistral3Config'> for this kind of AutoModel: AutoModelForSeq2SeqLM.
|
| 37 |
+
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.
|