alipay / alipay/Ant-Multi-Modal-Framework

Error loading model M2_omni

Abierto
#33 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
180
Forks
7
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.