Instructions to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
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 ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
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 ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
Use Docker
docker model run hf.co/ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
- Ollama
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with Ollama:
ollama run hf.co/ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
- Unsloth Studio
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF to start chatting
Install Unsloth Studio (Windows)
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 ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF to start chatting
- Pi
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with Docker Model Runner:
docker model run hf.co/ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
- Lemonade
How to use ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Granite-4.1-3B-SFT-Fable5-GGUF-Q4_K_M
List all available models
lemonade list
Granite-4.1-3B-SFT-Fable5 — GGUF
Quantized GGUF builds of Granite-4.1-3B-SFT-Fable5, a
ibm-granite/granite-4.1-3b model supervised-fine-tuned on the FABLE-5 Complete-2M trace
corpus. These files run locally with llama.cpp,
Ollama, LM Studio, and any GGUF-compatible
runtime — no GPU required for the smaller quants.
Overview
| Fine-tuned model | Granite-4.1-3B-SFT-Fable5 |
| Base model | ibm-granite/granite-4.1-3b |
| Parameter class | 3B |
| Model family | dense |
| Training method | LoRA SFT (distillation), assistant-only loss masking |
| Dataset | FABLE-5 Complete-2M traces (private) |
| Format | GGUF (this repo) · safetensors (merged repo) |
What is FABLE-5 Complete-2M?
This model was fine-tuned on FABLE-5 Complete-2M, the full ~2M-trace FABLE-5 corpus
(cleaned). Each target completion may include a <think>…</think> reasoning span followed
by the response; training used assistant-only loss masking so the model learns to
produce the response, not echo the prompt. The dataset is private; the fine-tuned weights
are public.
Available Quantizations
| File | Quant | Size | Notes |
|---|---|---|---|
granite-4.1-3b-sft-fable5.q4_k_m.gguf |
Q4_K_M | ~2.1 GB | Recommended — best quality/size balance |
granite-4.1-3b-sft-fable5.q5_k_m.gguf |
Q5_K_M | ~2.4 GB | Higher quality |
granite-4.1-3b-sft-fable5.q8_0.gguf |
Q8_0 | ~3.6 GB | Maximum quality (near-lossless) |
Which to pick: Q4_K_M is the best size/quality trade-off for most users. Use Q5_K_M
if you have spare RAM/VRAM and want a little more fidelity, or Q8_0 for near-lossless
output when size is not a concern.
Usage
Ollama
ollama run hf.co/ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF:Q4_K_M "Write a short story about a clockwork fox."
llama.cpp
# One-shot
llama-cli -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF --jinja -p "Write a short fable about ambition." -n 512
# Interactive chat
llama-cli -hf ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF --jinja -cnv
llama-cpp-python
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF",
filename="*q4_k_m.gguf",
n_ctx=4096,
)
out = llm.create_chat_completion(
messages=[{"role": "user", "content": "Write a short fable about ambition."}],
max_tokens=512,
)
print(out["choices"][0]["message"]["content"])
Intended use & limitations
Research and non-commercial experimentation with FABLE-5-style creative / agentic
generation. As GGUF quantizations these carry unavoidable quality loss versus the source
safetensors weights — prefer Q8_0 when fidelity matters. Inherits every limitation of the
base model ibm-granite/granite-4.1-3b and the source fine-tune Granite-4.1-3B-SFT-Fable5. Verify
outputs before any downstream use.
Citation
@misc{granite_4_1_3b_fable5_gguf,
author = {Ermia Azarkhalili},
title = {Granite-4.1-3B-SFT-Fable5 — GGUF quantized},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF}}
}
- Downloads last month
- 175
4-bit
5-bit
8-bit
Model tree for ermiaazarkhalili/Granite-4.1-3B-SFT-Fable5-GGUF
Base model
ibm-granite/granite-4.1-3b