JetBrains/KStack
Viewer • Updated • 5.52M • 234 • 14
How to use YorkieOH10/CodeLlama-7B-KStack-Q8_0-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 YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0
# 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 YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0
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 YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0
docker model run hf.co/YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0
How to use YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF with Ollama:
ollama run hf.co/YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0
How to use YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF to start chatting
How to use YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF with Docker Model Runner:
docker model run hf.co/YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0
How to use YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF:Q8_0
lemonade run user.CodeLlama-7B-KStack-Q8_0-GGUF-Q8_0
lemonade list
This model was converted to GGUF format from JetBrains/CodeLlama-7B-KStack 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 YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF --model codellama-7b-kstack-q8_0.gguf -p "The meaning to life and the universe is"
Server:
llama-server --hf-repo YorkieOH10/CodeLlama-7B-KStack-Q8_0-GGUF --model codellama-7b-kstack-q8_0.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 codellama-7b-kstack-q8_0.gguf -n 128
8-bit