Yukang/LongAlpaca-16k-length
Viewer • Updated • 6.28k • 132 • 25
How to use Anoxiom/Llama-3-8B-16K-Q6_K-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K # Run inference directly in the terminal: ./llama-cli -hf Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K
docker model run hf.co/Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K
How to use Anoxiom/Llama-3-8B-16K-Q6_K-GGUF with Ollama:
ollama run hf.co/Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K
How to use Anoxiom/Llama-3-8B-16K-Q6_K-GGUF with Docker Model Runner:
docker model run hf.co/Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K
How to use Anoxiom/Llama-3-8B-16K-Q6_K-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Anoxiom/Llama-3-8B-16K-Q6_K-GGUF:Q6_K
lemonade run user.Llama-3-8B-16K-Q6_K-GGUF-Q6_K
lemonade list
This model was converted to GGUF format from mattshumer/Llama-3-8B-16K using llama.cpp via the ggml.ai's GGUF-my-repo space.
Refer to the original model card for more details on the model.
Install llama.cpp through brew.
brew install ggerganov/ggerganov/llama.cpp
Invoke the llama.cpp server or the CLI.
CLI:
llama-cli --hf-repo Anoxiom/Llama-3-8B-16K-Q6_K-GGUF --model llama-3-8b-16k.Q6_K.gguf -p "The meaning to life and the universe is"
Server:
llama-server --hf-repo Anoxiom/Llama-3-8B-16K-Q6_K-GGUF --model llama-3-8b-16k.Q6_K.gguf -c 2048
Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m llama-3-8b-16k.Q6_K.gguf -n 128
6-bit