Description of the bug
When loading a local model using this command :
python3 -m manifest.api.app \
--model_type huggingface \
--model_name_or_path /workspace/models/minotaur-15b \
--device 0 \
--model_generation_type text-generation
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)
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)