Views
No views yet

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.
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.TEMPLATE {{ .Prompt }} + RENDERER qwen3.5 + PARSER qwen3.5 (recent Ollama), not a custom template. The Modelfile in this repo is set up that way.| 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%).
| 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 |
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 hybridqwen3_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% |
| 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 |
1ollama run hf.co/KikoCis/Ornith-1.0-9B-Ollama-fixed-GGUF:Q5_K_M
2# or a specific file: ollama create ornith -f Modelfile && ollama run ornithllama-server -m Ornith-1.0-9B-Q5_K_M.gguf --jinja -c 32768temperature 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.| 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.
Q8_0 with llama-quantize --allow-requantize (K-quants) + an imatrix (llama-imatrix, 264 KB calibration corpus) for IQ4_XS. See scripts/ladder.sh, scripts/phaseB2.sh.scripts/parse_metrics.py → metrics/quant-summary-with-kld.json / .csv; per-quant KLD logs in reports/.reports/artifact-sha256sums.txt.chat_template.jinja, embedded unmodified.chat_template.jinja: © DeepReinforce — Ornith-1.0, GrandCode paper, deep-reinforce.com.chat_template, general.description) added, then requantized.RENDERER/PARSER qwen3.5 + recommended sampling.