alipay / alipay/Ant-Multi-Modal-Framework

Error loading model M2_omni

Đang mở
#33 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
180
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.