Instructions to use KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF", filename="Ornith-1.0-9B-IQ4_XS.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M
Use Docker
docker model run hf.co/KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF with Ollama:
ollama run hf.co/KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M
- Unsloth Studio
How to use KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF to start chatting
- Pi
How to use KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KikoCis/Ornith-1.0-9B-Ollama-fixed-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": "KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KikoCis/Ornith-1.0-9B-Ollama-fixed-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 "KikoCis/Ornith-1.0-9B-Ollama-fixed-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 KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF with Docker Model Runner:
docker model run hf.co/KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M
- Lemonade
How to use KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Ornith-1.0-9B-Ollama-fixed-GGUF-Q4_K_M
List all available models
lemonade list
llm.create_chat_completion(
messages = "No input example has been defined for this model task."
)Ornith-1.0-9B — full GGUF ladder + fidelity metrics
This is NOT my model. All weights and training are by DeepReinforce (deepreinforce-ai/Ornith-1.0-9B). This is an independent repack: it ships the whole quantization ladder with objective KLD fidelity metrics and an honest third-party evaluation. No weights were modified.
About the "repetition loop" (correcting my earlier claim)
An earlier version of this repo framed a missing tokenizer.chat_template as the bug behind Ornith's repetition loops. That framing was wrong, and I want to correct it in the open. After feedback from @NeoHuggingF — and re-checking — the qwen3.5-family GGUFs do carry the chat template (the source repo ships chat_template.jinja), and hand-writing a ChatML override actually introduces dropped-character bugs. So there is no unique "template bug" that this repo fixes.
What actually causes the loops, and how to avoid them:
- Ollama renderer/parser. For qwen3.5 the correct Modelfile is
TEMPLATE {{ .Prompt }}+RENDERER qwen3.5+PARSER qwen3.5(recent Ollama), not a custom template. TheModelfilein this repo is set up that way. - Sampling. Low temperature (e.g. 0.1) makes reasoning-tuned models loop. Use DeepReinforce's recommended temp 1.0 / top_p 0.95.
What this repo actually adds is the honest part: the full quant ladder (below) with a KLD fidelity sweep, an imatrix, provenance and checksums — plus a small independent SWE probe. No "bug fix" claim.
✅ Recommended files
| Use case | File | Size | Top-1 vs Q8 |
|---|---|---|---|
| Best quality / archival | Ornith-1.0-9B-Q8_0.gguf |
9.5 GB | 100% |
| Near-lossless | Ornith-1.0-9B-Q6_K.gguf |
7.4 GB | 97.5% |
| Balanced default | Ornith-1.0-9B-Q5_K_M.gguf |
6.5 GB | 95.9% |
| Best compact (imatrix) | Ornith-1.0-9B-IQ4_XS.gguf |
5.2 GB | 94.4% |
| Smallest (lossy) | Ornith-1.0-9B-Q3_K_M.gguf |
4.6 GB | 86.5% |
Tip: on this hybrid arch, IQ4_XS dominates Q4_K_M — it's smaller (5.2 vs 5.6 GB) and more faithful (94.4% vs 92.2% Top-1), thanks to the imatrix.
Q4_K_Mis still shipped as the familiar safe default.Q3_K_Mis the only sub-5 GB option but noticeably lossy (86.5%).
📦 Files (the ladder)
| Quant | Size | Top-1 vs Q8 |
|---|---|---|
| Q3_K_M | 4.6 GB | 86.5% |
| IQ4_XS | 5.2 GB | 94.4% |
| Q4_K_M | 5.6 GB | 92.2% |
| Q5_K_M | 6.5 GB | 95.9% |
| Q6_K | 7.4 GB | 97.5% |
| Q8_0 | 9.5 GB | ref |
📊 Metrics — fidelity vs the Q8_0 reference
Measured with llama-perplexity --kl-divergence over 68 chunks (n_ctx 512). KLD (Kullback–Leibler divergence) is the gold-standard quant-fidelity metric; Top-1 match is how often the quant's argmax token equals the reference's.
Reference = Q8_0, not BF16. Ornith is a hybrid
qwen3_5arch (linear-attention / SSM layers + periodic full-attention + vision), whichllama.cpp's converter does not yet lower cleanly from safetensors. So the whole ladder is requantized from the verified Q8_0 (near-lossless), and fidelity is measured against that Q8_0.
| Quant | Size | PPL | PPL vs Q8 | KLD mean | KLD p50 | Top-1 match |
|---|---|---|---|---|---|---|
| Q8_0 | 9.53 GB | 4.605 | ref | ref | ref | 100.0% |
| Q6_K | 7.36 GB | 4.605 | +0.06% | 0.0045 | 0.0014 | 97.5% |
| Q5_K_M | 6.47 GB | 4.653 | +1.09% | 0.0133 | 0.0037 | 95.9% |
| Q4_K_M | 5.63 GB | 4.637 | +0.74% | 0.0379 | 0.0135 | 92.2% |
| IQ4_XS | 5.20 GB | 4.661 | +1.26% | 0.0229 | 0.0079 | 94.4% |
| Q3_K_M | 4.62 GB | 5.073 | +10.22% | 0.1219 | 0.0469 | 86.5% |
Small eval set (68 chunks) → PPL carries some noise (a lower-tier PPL can dip below a higher one by chance); KLD and Top-1 match are the reliable fidelity signals and rank monotonically. Q6_K is effectively lossless (97.5% Top-1, +0.06% PPL); Q3_K_M is the only tier with visible degradation.
🧮 Will it fit?
| RAM | Comfortable quant | Context |
|---|---|---|
| 8 GB | IQ4_XS / Q4_K_M | 8K–16K |
| 16 GB | Q5_K_M / Q6_K | 32K |
| 24 GB+ | Q8_0 | 32K–128K |
🚀 How to run it
Ollama:
ollama run hf.co/KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q5_K_M
# or a specific file: ollama create ornith -f Modelfile && ollama run ornith
llama.cpp:
llama-server -m Ornith-1.0-9B-Q5_K_M.gguf --jinja -c 32768
Recommended sampling (DeepReinforce official): temperature 1.0, top_p 0.95. Low temperature (0.1) causes repetition loops on this model — use ~1.0. For agentic tool-use, point your harness at DeepReinforce's <function=> (OpenHands) tool format.
Independent evaluation (honest, small probe)
6-instance SWE-bench (django) probe, Claude-Code agentic harness, temp 1.0 / top_p 0.95, same template for all:
| model | SWE | note |
|---|---|---|
| base Qwen3.5-9B | 1/6 | baseline |
| Ornith-1.0-9B | 2/6 | real fine-tune, beats base |
NRS_QWEN_MYTHOS_1M ("100x reasoning" hype) |
0/6 | hype, worse than base |
| Ornith-9B, only the change shown | result |
|---|---|
| temp 0.1, raw template | 0/6 (repetition loops) |
temp 1.0 + RENDERER/PARSER qwen3.5 |
2/6 (healthy) |
⚠️ These are relative numbers on a tiny probe — NOT comparable 1:1 to DeepReinforce's official 69.4 SWE-bench Verified (OpenHands harness,
<function=>format, temp 1.0/top_p 0.95). Use the official numbers for leaderboard comparison. The SWE probe was run on the Q8_0; the lower tiers are validated by the KLD table above (fidelity to that Q8_0), not by re-running the full agentic suite on each.
🔁 Provenance & reproducibility
- Ladder: requantized from the verified
Q8_0withllama-quantize --allow-requantize(K-quants) + an imatrix (llama-imatrix, 264 KB calibration corpus) forIQ4_XS. Seescripts/ladder.sh,scripts/phaseB2.sh. - Metrics:
scripts/parse_metrics.py→metrics/quant-summary-with-kld.json/.csv; per-quant KLD logs inreports/. - Integrity: SHA-256 of every file in
reports/artifact-sha256sums.txt. - Chat template: DeepReinforce's official
chat_template.jinja, embedded unmodified.
Credit & license
- Model, weights, training, and
chat_template.jinja: © DeepReinforce — Ornith-1.0, GrandCode paper, deep-reinforce.com. - This repack + ladder + evaluation: KikoCis. MIT (same as upstream). No weights modified — only metadata (
chat_template,general.description) added, then requantized.
🗒️ Changelog
- 2026-07-12 — Added the full quant ladder (IQ4_XS, Q3_K_M, Q4_K_M, Q5_K_M, Q6_K) alongside the original Q8_0, with a KLD/PPL fidelity sweep vs Q8_0, imatrix, provenance scripts, and SHA-256 sums.
- 2026-07-12 (later) — Corrected the card: withdrew the "missing chat-template bug" claim (per @NeoHuggingF; the GGUFs do carry the template). The real fix is Ollama's
RENDERER/PARSER qwen3.5+ recommended sampling. - 2026-06-27 — Initial Q8_0 repack + independent SWE probe.
- Downloads last month
- 2,680
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF
Base model
deepreinforce-ai/Ornith-1.0-9B
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF", filename="", )