How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="Colby/apertus-8b-coding-gguf",
	filename="",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

apertus-8b-coding-gguf

GGUF conversion of Colby/apertus-8b-coding, a LoRA fine-tune of swiss-ai/Apertus-8B-Instruct-2509 for coding assistance.

Quantizations

File Format Size
apertus-8b-coding-f16.gguf FP16 ~16 GB
apertus-8b-coding-q8_0.gguf Q8_0 ~8 GB
apertus-8b-coding-q5_k_m.gguf Q5_K_M ~5 GB
apertus-8b-coding-q4_k_m.gguf Q4_K_M ~4 GB

Ollama usage

hf download Colby/apertus-8b-coding-gguf apertus-8b-coding-q4_k_m.gguf
ollama create apertus-coding:8b -f Modelfile   # FROM ./apertus-8b-coding-q4_k_m.gguf
ollama run apertus-coding:8b
Downloads last month
185
GGUF
Model size
8B params
Architecture
apertus
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Colby/apertus-8b-coding-gguf

Quantized
(34)
this model