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.
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.