Open flotos opened 1 year ago
After digging through the code it seems repo path meant /organization/repoID, but never local path. I saw I can use the --cache option to save the models locally. But this imply that I can't use a locally trained model ?
Hey. I haven't seen this error before. Did you finetune minotaur and are trying to load it from a saved checkpoint? My immediate guess is the checkpoint is in a weird format but not sure. I have been able to load lots of finetuned models before.
Same problem.
The local model cannot be loaded. It was downloaded from https://huggingface.co/NumbersStation/nsql-llama-2-7B
Did you just try passing NumbersStation/nsql-llama-2-7B
as the model_name_or_path?
Description of the bug
When loading a local model using this command :
I get the following error message :
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/fsx/bigcode/experiments/pretraining/conversions/starcoderplus/large-model'. Use repo_type argument if needed.
The path is indeed or valid one pulled from https://huggingface.co/openaccess-ai-collective/minotaur-15b. I tried by quoting "/workspace/models/minotaur-15b" or using a local path "./models/minotaur-15b".
To Reproduce
Clone the above repositor, and execute the specified command.
Expected behavior
It should load the model.
Environment (please complete the following information)