How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf apepkuss79/CodeShell-7B-Chat-GGUF:F16
# Run inference directly in the terminal:
llama-cli -hf apepkuss79/CodeShell-7B-Chat-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf apepkuss79/CodeShell-7B-Chat-GGUF:F16
# Run inference directly in the terminal:
llama-cli -hf apepkuss79/CodeShell-7B-Chat-GGUF:F16
Use pre-built binary
# 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 apepkuss79/CodeShell-7B-Chat-GGUF:F16
# Run inference directly in the terminal:
./llama-cli -hf apepkuss79/CodeShell-7B-Chat-GGUF:F16
Build from source code
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 apepkuss79/CodeShell-7B-Chat-GGUF:F16
# Run inference directly in the terminal:
./build/bin/llama-cli -hf apepkuss79/CodeShell-7B-Chat-GGUF:F16
Use Docker
docker model run hf.co/apepkuss79/CodeShell-7B-Chat-GGUF:F16
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

CodeShell-7B-Chat-GGUF

Prompt Template

## human: {query}
## assistant: {response}
## human: {query}
## assistant:
Downloads last month
26
GGUF
Model size
8B params
Architecture
codeshell
Hardware compatibility
Log In to add your hardware

4-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support