Open dbkblk opened 2 weeks ago
That model is gated on huggingface which means you need to go to the page and request access. Make sure you have done that and you have set the huggingface token. You can set it with huggingface-cli login
, or the environment variable HF_TOKEN
. Or set it manually with https://docs.rs/kalosm-common/0.3.2/kalosm_common/struct.Cache.html#method.with_huggingface_token
Thank you for your answer, it worked to pass the 401 error. I would suggest to add this information in this documentation page: https://docs.rs/kalosm/latest/kalosm/language/struct.LlamaSource.html Maybe it's just me, but I missed it when I read the doc.
Now, NeuralHermes-2.5-Mistral-7B-GGUF return 403 even though there's no authorization required, but that's another issue.
Problem
No source are working on kalosm::language: error Unexpected status code: 401
Steps To Reproduce
Example code:
Output:
Expected behavior
The example is supposed to download the model and execute it.
Environment:
Questionnaire