alipay / alipay/Ant-Multi-Modal-Framework

Error loading model M2_omni

未关闭
#33 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
180
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

Unable to recognize "bailing2" model type while loading model with transformers.

`Traceback (most recent call last):
File "test.py", line 10, in
model = AutoModelForCausalLM.from_pretrained(
File "/home/a/.conda/envs/m2-omni/lib/python3.8/site-packages/transformers/models/auto/auto_factory.py", line 526, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/a/.conda/envs/m2-omni/lib/python3.8/site-packages/transformers/models/auto/configuration_auto.py", line 1036, in from_pretrained
raise ValueError(
ValueError: The checkpoint you are trying to load has model type `bailing2` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.`

Seems to be a problem not registering "bailing2" to the transformers lib

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。