runtime error
Exit code: 1. Reason: 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/home/user/app/./main.py", line 12, in <module> pipe_flan = pipeline("text2text-generation", model=MODEL, trust_remote_code=True) File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/__init__.py", line 940, in pipeline framework, model = infer_framework_load_model( File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/base.py", line 302, in infer_framework_load_model raise ValueError( ValueError: Could not load model jingyaogong/minimind-v1-small with any of the following classes: (<class 'transformers.models.auto.modeling_auto.AutoModelForSeq2SeqLM'>,). See the original errors: while loading with AutoModelForSeq2SeqLM, an error is thrown: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/base.py", line 289, in infer_framework_load_model model = model_class.from_pretrained(model, **kwargs) File "/usr/local/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 567, in from_pretrained raise ValueError( ValueError: Unrecognized configuration class <class 'transformers_modules.jingyaogong.minimind-v1-small.fad3b10dd5e251cb6f8050e5a3c8080efbccfdd2.LMConfig.LMConfig'> for this kind of AutoModel: AutoModelForSeq2SeqLM. Model type should be one of BartConfig, BigBirdPegasusConfig, BlenderbotConfig, BlenderbotSmallConfig, EncoderDecoderConfig, FSMTConfig, GPTSanJapaneseConfig, LEDConfig, LongT5Config, M2M100Config, MarianConfig, MBartConfig, MT5Config, MvpConfig, NllbMoeConfig, PegasusConfig, PegasusXConfig, PLBartConfig, ProphetNetConfig, Qwen2AudioConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, SwitchTransformersConfig, T5Config, UMT5Config, XLMProphetNetConfig.
Container logs:
Fetching error logs...