Receiving these errors when loading

#5
by xernos6996 - opened

File "E:\Games\VAM\text-generation-webui-main\modules\ui_model_menu.py", line 209, in load_model_wrapper

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

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

File "E:\Games\VAM\text-generation-webui-main\modules\models.py", line 84, in load_model

output = load_func_maploader

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

File "E:\Games\VAM\text-generation-webui-main\modules\models.py", line 225, in huggingface_loader

model = LoaderClass.from_pretrained(path_to_model, **params)

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

File "E:\Games\VAM\text-generation-webui-main\installer_files\env\Lib\site-packages\transformers\models\auto\auto_factory.py", line 566, in from_pretrained

return model_class.from_pretrained(

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

File "E:\Games\VAM\text-generation-webui-main\installer_files\env\Lib\site-packages\transformers\modeling_utils.py", line 2992, in from_pretrained

raise EnvironmentError(
OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory models\mayaeary_PPO_Pygway-6b-Mix-4bit-128g.

Sign up or log in to comment