Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deploy? #81

Open
DW-johnK opened this issue Jun 5, 2024 · 0 comments
Open

How to deploy? #81

DW-johnK opened this issue Jun 5, 2024 · 0 comments

Comments

@DW-johnK
Copy link

DW-johnK commented Jun 5, 2024

I'm having a lot of issues trying to figure out how to deploy this in a google colab notebook - does anyone have a link or write up on how to do this? I keep getting the same error seen below. Thanks in advance!

KeyError: 'mplug_docowl'

During handling of the above exception, another exception occurred:

ValueError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/transformers/models/auto/configuration_auto.py in from_pretrained(cls, pretrained_model_name_or_path, **kwargs)
951 config_class = CONFIG_MAPPING[config_dict["model_type"]]
952 except KeyError:
--> 953 raise ValueError(
954 f"The checkpoint you are trying to load has model type {config_dict['model_type']} "
955 "but Transformers does not recognize this architecture. This could be because of an "

ValueError: The checkpoint you are trying to load has model type mplug_docowl 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant