forked from kaust-generative-ai/local-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLaMA C++ integration with HF #9
Labels
enhancement
New feature or request
Comments
davidrpugh
added
enhancement
New feature or request
and removed
documentation
Improvements or additions to documentation
labels
Oct 16, 2024
Related examples can be added to the - `-mu MODEL_URL --model-url MODEL_URL`: Specify a remote http url to download the file. Here is an example of usage. MODEL_URL=https://huggingface.co/ggml-org/gemma-1.1-7b-it-Q4_K_M-GGUF/resolve/main/gemma-1.1-7b-it.Q4_K_M.gguf
llama-cli --model-url "$MODEL_URL" --prompt "Once upon a time" This requires a working with a build that has enabled curl support. See issue #11 . |
Other relevant HF related options for -hfr, --hf-repo REPO Hugging Face model repository (default: unused)
(env: LLAMA_ARG_HF_REPO)
-hff, --hf-file FILE Hugging Face model file (default: unused)
(env: LLAMA_ARG_HF_FILE)
-hft, --hf-token TOKEN Hugging Face access token (default: value from HF_TOKEN environment
variable)
(env: HF_TOKEN) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a nice example in the HF docs showing how you can use both
llama-cli
andllama-server
to work with GGUF files directly from HF.https://huggingface.co/docs/hub/en/gguf-llamacpp
These are good examples to include in our tutorials.
The text was updated successfully, but these errors were encountered: