Cannot Load Model? 404 page not found How to fix? thanks!

#1
by ZakXDXDXD - opened

Traceback (most recent call last):

File "C:\Users\Documents\AI_Character\text-generation-webui\modules\ui_model_menu.py", line 249, in load_model_wrapper

shared.model, shared.tokenizer = load_model(selected_model, loader)

                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\Documents\AI_Character\text-generation-webui\modules\models.py", line 94, in load_model

output = load_func_maploader

     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\Documents\AI_Character\text-generation-webui\modules\models.py", line 149, in huggingface_loader

config = AutoConfig.from_pretrained(path_to_model, trust_remote_code=shared.args.trust_remote_code)

     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\Documents\AI_Character\text-generation-webui\installer_files\env\Lib\site-packages\transformers\models\auto\configuration_auto.py", line 928, in from_pretrained

config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)

                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\Documents\AI_Character\text-generation-webui\installer_files\env\Lib\site-packages\transformers\configuration_utils.py", line 631, in get_config_dict

config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\Documents\AI_Character\text-generation-webui\installer_files\env\Lib\site-packages\transformers\configuration_utils.py", line 686, in _get_config_dict

resolved_config_file = cached_file(

                   ^^^^^^^^^^^^

File "C:\Users\Documents\AI_Character\text-generation-webui\installer_files\env\Lib\site-packages\transformers\utils\hub.py", line 369, in cached_file

raise EnvironmentError(
OSError: models\PygmalionAI_pygmalion-13b does not appear to have a file named config.json. Checkout 'https://huggingface.co/models\PygmalionAI_pygmalion-13b/tree/None' for available files.

Sign up or log in to comment