---
title: NeoHorse-1-9B-GGUF
canonical_url: "https://www.modelscope.cn/models/TokenRhythm/NeoHorse-1-9B-GGUF"
md_url: "https://www.modelscope.cn/models/TokenRhythm/NeoHorse-1-9B-GGUF.md"
repository: TokenRhythm/NeoHorse-1-9B-GGUF
last_updated: 2026-09-09
license: apache-2.0
pipeline_tag: text-generation
tasks:
  - text-generation
base_model:
  - TokenRhythm/NeoHorse-1-9B
base_model_relation: quantized
library_name:
  - gguf
downloads: 335
stars: 2
tags:
  - gguf
  - llama-cpp
  - agentic
  - tool-use
  - coding
  - reasoning
  - instruction-following
---

# NeoHorse-1-9B-GGUF

> NeoHorse-1-9B-GGUF - TokenRhythm 在 ModelScope 开源的模型。NeoHorse-1-9B GGUF: BF16, F16, Q8_0, Q5_K_M, Q4_K_M.

TokenRhythm/NeoHorse-1-9B-GGUF 是 ModelScope 魔搭社区上的text-generation模型，采用 apache-2.0 许可，基于 TokenRhythm/NeoHorse-1-9B 构建。

- **Repository**: TokenRhythm/NeoHorse-1-9B-GGUF
- **License**: apache-2.0
- **Tasks**: text-generation
- **Base model**: TokenRhythm/NeoHorse-1-9B
- **Tags**: gguf, llama-cpp, agentic, tool-use, coding, reasoning, instruction-following
- **Downloads**: 335
- **Stars**: 2
- **Last updated**: 2026-09-09

Source: https://www.modelscope.cn/models/TokenRhythm/NeoHorse-1-9B-GGUF

---

<div align="center">
  <h1>NeoHorse-1-9B-GGUF</h1>
  <p><b>Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harness.</b></p>
</div>

<div align="center">
  <a href="https://github.com/TokenRhythm/NeoHorse"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-NeoHorse-181717?logo=github&logoColor=white"></a>
  <a href="https://tokenrhythm.ai/"><img alt="Company" src="https://img.shields.io/badge/Company-TokenRhythm-F97316?logo=homeassistant&logoColor=white"></a>
  <a href="https://huggingface.co/TokenRhythm"><img alt="Hugging Face" src="https://img.shields.io/badge/Hugging%20Face-Models-FFD21E?logo=huggingface&logoColor=000000"></a>
  <a href="https://x.com/opensquilla"><img alt="Twitter / X" src="https://img.shields.io/badge/Twitter%20%2F%20X-OpenSquilla-111827?logo=x&logoColor=white"></a>
  <a href="https://www.apache.org/licenses/LICENSE-2.0"><img alt="License: Apache-2.0" src="https://img.shields.io/badge/License-Apache--2.0-64748B"></a>
</div>

<p align="center">
  <a href="https://arxiv.org/abs/2609.08183"><b>Technical Report</b></a>
</p>

<style>
/* Reusable benchmark table architecture. Inline styles remain as a fallback for HF rendering. */
.vl-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
}
.vl-table th {
  font-size: 15px !important;
  line-height: 1.2;
  color: #c2410c;
  background: rgba(249,115,22,.10);
}
.vl-table td:not(.benchmark-cell):not([colspan]) {
  font-size: 15px;
  line-height: 1.2;
  vertical-align: middle;
}
.vl-table .benchmark-cell {
  padding: 12px 10px 12px 18px !important;
  vertical-align: middle;
}
.vl-table .benchmark-capability {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.22;
  color: #c2410c;
}
.vl-table .benchmark-name {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
}
.vl-table .metric-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 3px 0;
}
.vl-table .metric-label {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.1;
  color: inherit;
}
.vl-table .metric-value {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.15;
  color: inherit;
}
.model-table td:first-child {
  width: 34%;
  font-weight: 600;
}
/* HF's theme toggle sets the dark class on an ancestor. */
.dark .vl-table th,
.dark .vl-table .benchmark-capability {
  color: #fdba74 !important;
}
</style>

NeoHorse-1-9B is a 9B causal language model and an initial prototype on the path toward **recursive self-improvement (RSI)**. It is post-trained from Qwen3.5-9B for text-based agent harnesses, tool use, coding, and instruction following.

This repository provides **GGUF versions** of [NeoHorse-1-9B](https://huggingface.co/TokenRhythm/NeoHorse-1-9B) for local use with llama.cpp, Ollama, and LM Studio. It includes **16-bit (BF16)** weights and smaller **8-bit, 5-bit, and 4-bit quantized versions**. Quantized versions take up less disk space and use less memory, making the model easier to run on your own hardware. These files contain **text-only model weights**, fine-tuned by TokenRhythm from [Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B).

<p align="center">
  <a href="https://huggingface.co/TokenRhythm/NeoHorse-1-9B/resolve/main/9B_head_fig.jpg">
    <img src="https://huggingface.co/TokenRhythm/NeoHorse-1-9B/resolve/main/9B_head_fig.jpg" alt="NeoHorse-1-9B evaluation results" width="100%">
  </a>
</p>

## Highlights

- **Path toward RSI:** the routing harness assigns tasks to a heterogeneous model pool, records tool interactions and outcomes, estimates capability demand, and uses capability-level feedback to shape the next training mixture. Updated models can return to the harness, closing a prototype evaluation–selection–update loop; extending this loop across successive iterations is the next step toward RSI.
- **Agentic post-training framework:** the associated research explores routing-guided curriculum SFT and routing-guided on-policy distillation to turn execution trajectories into training signal while preserving execution and harness context around each response.
- **Data quality:** exact and near-duplicate removal, evaluation decontamination, structural validation, six-dimensional semantic evaluation, and subscene-level Scene/Goal/Outcome labeling.
- **Broad gains:** 69.04 macro average across ten benchmarks versus 65.60 for Qwen3.5-9B (**+3.44**).

## Model Details

<div style="width:100%;max-width:none;margin:16px 0;padding:0;overflow-x:auto">
<table class="vl-table model-table" width="100%" style="display:table;width:100%;min-width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px">
<thead><tr>
<th style="padding:9px 10px;text-align:left;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Property</th>
<th style="padding:9px 10px;text-align:left;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Value</th>
</tr></thead><tbody>
<tr>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Model family</td>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">NeoHorse Agent-Native Causal Language Model</td>
</tr>
<tr>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Parameters</td>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">Approximately <strong>9B</strong></td>
</tr>
<tr>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Base model</td>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)"><a href="https://huggingface.co/Qwen/Qwen3.5-9B">Qwen3.5-9B</a></td>
</tr>
<tr>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Post-training</td>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">Routing-guided agentic post-training</td>
</tr>
<tr>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Interface</td>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">Text input and text output</td>
</tr>
<tr>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Context length</td>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">262,144 natively and extensible up to 1,010,000 tokens.</td>
</tr>
<tr>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16);font-weight:600">Weight format / precision</td>
<td style="padding:9px 10px;border-bottom:1px solid rgba(249,115,22,.16)">GGUF / 16-bit (BF16), 8-bit, 5-bit, 4-bit</td>
</tr>
</tbody></table>
</div>

## Evaluation
The results below are from the original checkpoint, not a separate GGUF benchmark run.
The 9B track compares NeoHorse-1-9B with five representative open-weight baselines: Granite-4.2-8B, Qwen3.5-9B, Ornith-1.5-9B, Gemma-4-12B-it, and Muse-Glimmer-30B. Results cover ten benchmarks and are grouped by capability. Higher is better; `Δ` is NeoHorse-1-9B minus Qwen3.5-9B. **Bold** and <u>underline</u> mark the best and second-best results in each benchmark row, respectively; ties share the same formatting.

<div style="overflow-x:auto">
<table class="vl-table" width="100%" style="display:table;width:100%;min-width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px">
<thead><tr><th style="padding:9px 8px;text-align:left;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Benchmark</th>
<th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Granite-4.2-8B</th>
<th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Qwen3.5-9B</th>
<th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Ornith-1.5-9B</th>
<th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Gemma-4-12B-it</th>
<th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.10)">Muse-Glimmer-30B</th>
<th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.18)">NeoHorse-1-9B</th>
<th style="padding:9px 8px;text-align:center;border-bottom:2px solid #f97316;color:#c2410c;background:rgba(249,115,22,.18)">Δ vs Qwen3.5-9B</th></tr></thead><tbody>
<tr><td class="benchmark-capability" colspan="8" style="padding:10px 8px;font-weight:700;color:#c2410c;background:rgba(249,115,22,.10);border-top:2px solid #f97316">🤖 Agentic</td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">QwenClawBench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">37.01</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">44.04</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>47.27</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">43.53</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">46.11</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>48.73</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+4.69</span></div></td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">WorkBuddy Bench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">35.07</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">39.60</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">29.29</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">29.65</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>45.85</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><u>40.15</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+0.55</span></div></td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">PinchBench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">56.93</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>74.55</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">68.22</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">58.89</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">71.35</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>82.25</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+7.70</span></div></td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">VitaBench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">23.00</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">31.25</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">26.75</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">36.50</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>48.50</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><u>42.25</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+11.00</span></div></td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">BFCL v4</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">52.06</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">64.88</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>65.03</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">62.06</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">53.74</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>67.43</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+2.55</span></div></td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">tau2-Bench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">62.28</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>88.04</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">83.68</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">59.37</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">76.64</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>90.82</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+2.78</span></div></td></tr>
<tr><td class="benchmark-capability" colspan="8" style="padding:10px 8px;font-weight:700;color:#c2410c;background:rgba(249,115,22,.10);border-top:2px solid #f97316">💻 Coding</td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">HumanEval</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">96.34</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">92.68</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">93.90</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>100.00</strong></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>98.17</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><u>98.17</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+5.49</span></div></td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">LiveCodeBench v6</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>72.00</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">65.14</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">47.43</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>73.14</strong></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">65.71</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value">65.14</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+0.00</span></div></td></tr>
<tr><td class="benchmark-capability" colspan="8" style="padding:10px 8px;font-weight:700;color:#c2410c;background:rgba(249,115,22,.10);border-top:2px solid #f97316">📚 Instruction Following</td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">IFBench</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>78.00</u></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">66.33</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">40.00</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">77.67</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>78.67</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value">66.33</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+0.00</span></div></td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">IFEval</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">92.98</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">89.46</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">71.35</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><strong>94.27</strong></span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>93.90</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value">89.09</span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">-0.37</span></div></td></tr>
<tr><td class="benchmark-capability" colspan="8" style="padding:10px 8px;font-weight:700;color:#c2410c;background:rgba(249,115,22,.10);border-top:2px solid #f97316">📊 Overall</td></tr>
<tr style="border-bottom:1px solid rgba(128,128,128,.16)"><td class="benchmark-cell" style="padding:8px;font-weight:600"><div class="benchmark-name">Ten-benchmark average</div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">60.57</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">65.60</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">57.29</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value">63.51</span></div></td><td style="padding:8px;text-align:center"><div class="metric-stack"><span class="metric-value"><u>67.86</u></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16)"><div class="metric-stack"><span class="metric-value"><strong>69.04</strong></span></div></td><td style="padding:8px;text-align:center;background:rgba(249,115,22,.16);font-weight:700"><div class="metric-stack"><span class="metric-value">+3.44</span></div></td></tr>
</tbody></table>
</div>


> **Reported protocol:** SGLang v0.5.17 · `temperature=1.0` · `top_p=0.95` · `top_k=20` · `min_p=0.0` · `presence_penalty=1.5` · `repetition_penalty=1.0` · thinking mode enabled with `enable_thinking=true` and `force_nonempty_content=true`. QwenClawBench, WorkBuddy Bench, and tau2-Bench use three runs; PinchBench and VitaBench use one run; the remaining benchmarks follow their official protocols. VitaBench uses the DeepSeek-V4-Flash simulator and judge.

## Deployment

<!-- neohorse-f16 -->
**FP16 option:** `NeoHorse-1-9B-F16.gguf` (17.92 GB) is also available for runtimes or hardware that prefer FP16 over BF16. Use `:F16` instead of `:BF16` in the llama.cpp or Ollama commands below. This is a format-converted 16-bit option, not a quality upgrade.
<!-- /neohorse-f16 -->

<!-- neohorse-quantized-files -->
### Quantized files

| Version | File | Size |
|---|---|---:|
| 8-bit | `NeoHorse-1-9B-Q8_0.gguf` | 9.53 GB |
| 5-bit | `NeoHorse-1-9B-Q5_K_M.gguf` | 6.47 GB |
| 4-bit | `NeoHorse-1-9B-Q4_K_M.gguf` | 5.63 GB |

**4-bit** is the smallest option, **5-bit** sits in the middle, and **8-bit** uses less compression. Choose **16-bit (BF16)** to keep the original weight precision. Lower precision saves memory but can affect response quality. The sizes above are file sizes; running the model also needs memory for the conversation and other runtime data.

These standard llama.cpp quantizations were generated directly from the BF16 GGUF, without an importance matrix. All three passed eight short llama.cpp compatibility checks, including thinking, single and parallel tool calls, and tool-result continuation, at 4K context. These checks are not a quantized-quality benchmark; the benchmark scores in this card refer to the original checkpoint. Quantized variants have not yet been separately tested in Ollama or LM Studio. Use the desired filename in place of the BF16 filename in the examples below.
<!-- /neohorse-quantized-files -->


Use a recent runtime with Qwen3.5 support. The commands below download the model from Hugging Face and cache it locally; no manual file download is required. These are text-only GGUF files with an embedded chat template and no MTP draft head.

### llama.cpp

Download and start a local OpenAI-compatible server:

```bash
llama-server -hf TokenRhythm/NeoHorse-1-9B-GGUF:BF16 -c 4096 -ngl 99 --jinja --port 8080 --alias neohorse-1-9b
```

### Ollama

Download and run directly, without creating a Modelfile:

```bash
ollama run hf.co/TokenRhythm/NeoHorse-1-9B-GGUF:BF16
```

### LM Studio

Paste [this repository URL](https://huggingface.co/TokenRhythm/NeoHorse-1-9B-GGUF) into LM Studio's model search and choose a GGUF file, or download through the CLI:

```bash
lms get https://huggingface.co/TokenRhythm/NeoHorse-1-9B-GGUF
```

Select the desired file when prompted, then load it in LM Studio with MTP speculative decoding disabled. Start with a 4K context and increase it according to available memory. In LM Studio's native API, use `reasoning: "off"` to disable thinking.

For llama.cpp and Ollama, replace `:BF16` with the tag of another variant listed in **Files and versions**, such as `:Q8_0`, `:Q5_K_M`, or `:Q4_K_M`. Only variants already present in the repository can be downloaded.

See the [llama.cpp guide](https://github.com/ggml-org/llama.cpp/blob/master/tools/server/README.md), [Ollama–Hugging Face integration](https://huggingface.co/docs/hub/ollama), and [LM Studio download guide](https://lmstudio.ai/docs/cli/local-models/get).

<details>
<summary>Manual download and local-file setup (optional)</summary>

Download `NeoHorse-1-9B-BF16.gguf` (approximately 17.92 GB). Use a recent runtime with Qwen3.5 support. The file includes the chat template and does not include an MTP draft head.

### llama.cpp

```bash
llama-server -m NeoHorse-1-9B-BF16.gguf -c 4096 -ngl 99 --jinja --port 8080 --alias neohorse-1-9b
```

### Ollama

Create a `Modelfile` containing:

```text
FROM ./NeoHorse-1-9B-BF16.gguf
PARAMETER num_ctx 4096
```

```bash
ollama create neohorse-1-9b-bf16 -f Modelfile
ollama run neohorse-1-9b-bf16
```

### LM Studio

Import the GGUF file and load it with MTP speculative decoding disabled. With the CLI:

```bash
lms import ./NeoHorse-1-9B-BF16.gguf --copy
lms load neohorse-1-9b --context-length 4096 --no-speculative-draft-mtp
```

Basic chat and tool-call smoke tests passed in llama.cpp, Ollama 0.33.3, and LM Studio's llama.cpp 2.33.0 engine. Context capacity depends on available memory; the examples start at 4K. In LM Studio's native API, use `reasoning: "off"` to disable thinking.

</details>

## Using NeoHorse-1-9B-GGUF via the Chat Completions API

After starting `llama-server` as shown in [Deployment](#deployment), connect an OpenAI-compatible client to `http://127.0.0.1:8080/v1`. The examples below use the server alias `neohorse-1-9b`; it must match the `--alias` value in the launch command.

### Basic Usage

Install the Python client:

```bash
pip install openai
```

Send a message to your local server:

```python
from openai import OpenAI

client = OpenAI(
    base_url="http://127.0.0.1:8080/v1",
    api_key="EMPTY",  # Replace if server authentication is enabled.
)

generation_config = {
    "temperature": 1.0,
    "top_p": 0.95,
    "presence_penalty": 1.5,
    "max_tokens": 2048,
    "extra_body": {
        "top_k": 20,
        "min_p": 0.0,
        "repeat_penalty": 1.0,
        "chat_template_kwargs": {"enable_thinking": True},
    },
}

response = client.chat.completions.create(
    model="neohorse-1-9b",
    messages=[
        {
            "role": "user",
            "content": "Write a Python function that returns the first n Fibonacci numbers.",
        }
    ],
    **generation_config,
)

message = response.choices[0].message
print("Reasoning:", getattr(message, "reasoning_content", None))
print("Answer:", message.content)
```

These short examples allow up to 2,048 output tokens within the 4K server context. For longer prompts or responses, increase `-c` and adjust `max_tokens` while leaving room for the input and chat template.

### Tool Calling

Keep `--jinja` enabled in the `llama-server` launch command so it can use the embedded tool-aware chat template and parse generated function calls into `tool_calls`.

Using the same `client` and `generation_config` from Basic Usage:

```python
tools = [
    {
        "type": "function",
        "function": {
            "name": "get_current_weather",
            "description": "Get the current weather for a specified city.",
            "parameters": {
                "type": "object",
                "properties": {
                    "city": {
                        "type": "string",
                        "description": "Name of the city.",
                    }
                },
                "required": ["city"],
            },
        },
    }
]

response = client.chat.completions.create(
    model="neohorse-1-9b",
    messages=[
        {
            "role": "user",
            "content": "What is the weather in Beijing right now?",
        }
    ],
    tools=tools,
    tool_choice="auto",
    **generation_config,
)

message = response.choices[0].message

if message.tool_calls:
    for call in message.tool_calls:
        print(call.function.name, call.function.arguments)
else:
    print(message.content)
```

This example prints the requested function and its arguments. Your application executes the function and returns its result in a `tool` message, using the corresponding `tool_call_id`, to continue the conversation.

## License

NeoHorse-1-9B is released under the **Apache License 2.0**.

The upstream model is [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B). Its original copyright notice, Copyright 2026 Alibaba Cloud, is retained in the license file. TokenRhythm has modified the model through fine-tuning and repackaging for text-only inference. This repository converts the resulting checkpoint to BF16 GGUF and provides quantized variants using llama.cpp.

## Citation

```
@misc{neohorse2026,
  title        = {NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harness},
  author       = {NeoHorse Team},
  year         = {2026},
  howpublished = {arXiv preprint},
  eprint       = {2609.08183},
  archivePrefix = {arXiv},
  primaryClass = {cs.CL},
  url          = {https://arxiv.org/abs/2609.08183}
}
```

For questions or issue reports, use the [NeoHorse project repository](https://github.com/TokenRhythm/NeoHorse).
