I'm having trouble running gguf models #215
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
Is there something wrong with using it this way? I can't run the gguf models I want to try.
Error output:
yes
Hello @fatihsazan I haven't done much with ctransformers but from my understanding, the model type "gguf" isn't a valid type. GGUF is a file format for storing models. You would need to change it to llama since that is the type of the model you are using. Here is an example with The Blokes Mistral models.
If you already download the gguf file locally, that requires the huggingface_hub snapshot_download function which will load the models in a folder of your choice and then you can call using the AutoModelForCasualLm model_path_or_repo_path parameter to point to the folder.