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 bartowski/Yi-9B-Coder-GGUF:
# Run inference directly in the terminal:
llama-cli -hf bartowski/Yi-9B-Coder-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf bartowski/Yi-9B-Coder-GGUF:
# Run inference directly in the terminal:
llama-cli -hf bartowski/Yi-9B-Coder-GGUF:
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 bartowski/Yi-9B-Coder-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf bartowski/Yi-9B-Coder-GGUF:
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 bartowski/Yi-9B-Coder-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf bartowski/Yi-9B-Coder-GGUF:
Use Docker
docker model run hf.co/bartowski/Yi-9B-Coder-GGUF:
Quick Links

Llamacpp Quantizations of Yi-9B-Coder

Using llama.cpp release b2405 for quantization.

Original model: https://huggingface.co/TechxGenus/Yi-9B-Coder

Download a file (not the whole branch) from below:

Filename Quant type File Size Description
Yi-9B-Coder-Q8_0.gguf Q8_0 9.38GB Extremely high quality, generally unneeded but max available quant.
Yi-9B-Coder-Q6_K.gguf Q6_K 7.24GB Very high quality, near perfect, recommended.
Yi-9B-Coder-Q5_K_M.gguf Q5_K_M 6.25GB High quality, very usable.
Yi-9B-Coder-Q5_K_S.gguf Q5_K_S 6.10GB High quality, very usable.
Yi-9B-Coder-Q5_0.gguf Q5_0 6.10GB High quality, older format, generally not recommended.
Yi-9B-Coder-Q4_K_M.gguf Q4_K_M 5.32GB Good quality, similar to 4.25 bpw.
Yi-9B-Coder-Q4_K_S.gguf Q4_K_S 5.07GB Slightly lower quality with small space savings.
Yi-9B-Coder-Q4_0.gguf Q4_0 5.03GB Decent quality, older format, generally not recommended.
Yi-9B-Coder-Q3_K_L.gguf Q3_K_L 4.69GB Lower quality but usable, good for low RAM availability.
Yi-9B-Coder-Q3_K_M.gguf Q3_K_M 4.32GB Even lower quality.
Yi-9B-Coder-Q3_K_S.gguf Q3_K_S 3.89GB Low quality, not recommended.
Yi-9B-Coder-Q2_K.gguf Q2_K 3.35GB Extremely low quality, not recommended.

Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

Downloads last month
207
GGUF
Model size
9B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

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