๐Ÿšฉ Report : Not working

#3
by JustBrad - opened

Traceback (most recent call last):
File "download-model.py", line 169, in
links = get_download_links_from_huggingface(model, branch)
File "download-model.py", line 112, in get_download_links_from_huggingface
fname = dict[i]['path']
KeyError: 0
Loading the extension "gallery"... Ok.
Loading pygmalion-350m...
Traceback (most recent call last):
File "server.py", line 191, in
shared.model, shared.tokenizer = load_model(shared.model_name)
File "/home/user/app/modules/models.py", line 130, in load_model
model = eval(command)
File "", line 1, in
File "/home/user/.local/lib/python3.8/site-packages/transformers/models/auto/auto_factory.py", line 441, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/user/.local/lib/python3.8/site-packages/transformers/models/auto/configuration_auto.py", line 890, in from_pretrained
config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/user/.local/lib/python3.8/site-packages/transformers/configuration_utils.py", line 573, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/user/.local/lib/python3.8/site-packages/transformers/configuration_utils.py", line 628, in _get_config_dict
resolved_config_file = cached_file(
File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/hub.py", line 380, in cached_file
raise EnvironmentError(
OSError: models/pygmalion-350m does not appear to have a file named config.json. Checkout 'https://huggingface.co/models/pygmalion-350m/None' for available files.

antonovmaxim pinned discussion

I see, thanks for the report. I assume that the error is related to updates in the oobabooga interface. It is very interesting that the official colab also stopped working. Maybe I'll try to figure it out in the near future. (I also accept pull requests)

Found issue. Created yesterday. So while we wait for oobabooga.

not a problem thanks for looking into it

Sign up or log in to comment