oobabooga/text-generation-webui errors

#8
by JimGale - opened

(it's worth trying in oobabooga to see how it runs):

Traceback (most recent call last):

File "G:\ai-text\oobabooga\text-generation-webui\modules\ui_model_menu.py", line 210, in load_model_wrapper

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

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

File "G:\ai-text\oobabooga\text-generation-webui\modules\models.py", line 85, in load_model

output = load_func_maploader

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

File "G:\ai-text\oobabooga\text-generation-webui\modules\models.py", line 135, in huggingface_loader

config = AutoConfig.from_pretrained(path_to_model, trust_remote_code=params['trust_remote_code'])

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

File "G:\ai-text\oobabooga\text-generation-webui\installer_files\env\Lib\site-packages\transformers\models\auto\configuration_auto.py", line 1051, in from_pretrained

trust_remote_code = resolve_trust_remote_code(

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

File "G:\ai-text\oobabooga\text-generation-webui\installer_files\env\Lib\site-packages\transformers\dynamic_module_utils.py", line 620, in resolve_trust_remote_code

raise ValueError(
ValueError: Loading models\SkunkworksAI_phi-2 requires you to execute the configuration file in that repo on your local machine. Make sure you have read the code there to avoid malicious use, then set the option trust_remote_code=True to remove this error.

just fyi : looks like it needs --trust-remote-code for oobabooga

JimGale changed discussion status to closed

Sign up or log in to comment