Deimos-R1 / README.md
Michael-Kozu's picture
Update README.md
5f26b56 verified
|
Raw
History Blame Contribute Delete
18.8 kB
---
license: apache-2.0
base_model: Qwen/Qwen3.5-4B
library_name: transformers
pipeline_tag: text-generation
tags:
- kozu
- reasoning
- chain-of-thought
- instruction-following
- qwen3_5
- sft
- fable
- mythos
language:
- en
---
<!-- Kozu AI · Deimos R1 · research release card -->
<style>
@font-face { font-family: 'Geist Sans'; src: url('https://raw.githubusercontent.com/vercel/geist-font/v1.7.2/fonts/Geist/webfonts/Geist%5Bwght%5D.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('https://raw.githubusercontent.com/vercel/geist-font/v1.7.2/fonts/GeistMono/webfonts/GeistMono%5Bwght%5D.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Pixel Square'; src: url('https://raw.githubusercontent.com/vercel/geist-font/v1.7.2/fonts/GeistPixel/webfonts/GeistPixel-Square.woff2') format('woff2'); font-weight: 500; font-display: swap; }
.kz {
--bg:#FFFFFF; --bg-2:#FAFAFA; --surface:#FFFFFF; --surface-2:#F5F5F5; --surface-3:#EBEBEB;
--border:#E5E5E5; --border-strong:#D4D4D4; --border-accent:#A3A3A3;
--fg:#0A0A0A; --fg-dim:#404040; --muted:#737373; --muted-2:#A3A3A3;
--orange:#171717; --blue:#2563EB; --green:#009767; --amber:#A16207;
--sans:'Geist Sans',ui-sans-serif,system-ui,sans-serif;
--mono:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
--display:'Geist Pixel Square','Geist Mono',ui-monospace,monospace;
max-width:960px; margin:0 auto; padding:0 0 72px; color:var(--fg); background:var(--bg);
font:15px/1.65 var(--sans); -webkit-font-smoothing:antialiased;
}
@media (prefers-color-scheme:dark) {
.kz { --bg:#0A0A0A; --bg-2:#111111; --surface:#171717; --surface-2:#262626; --surface-3:#303030; --border:rgba(255,255,255,.10); --border-strong:#404040; --border-accent:#737373; --fg:#FAFAFA; --fg-dim:#D4D4D4; --muted:#A3A3A3; --muted-2:#737373; --orange:#E5E5E5; --blue:#60A5FA; --green:#00D294; --amber:#FBBF24; }
}
.kz * { box-sizing:border-box; }
.kz a { color:inherit; text-decoration-color:var(--border-strong); text-underline-offset:3px; }
.kz a:hover { text-decoration-color:var(--fg); }
.kz-hero { position:relative; overflow:hidden; min-height:240px; border-bottom:1px solid var(--border); }
.kz-hero--plain { display:flex; align-items:flex-end; }
.kz-ident { position:relative; width:100%; padding:64px 40px 40px; }
.kz-hero-main { width:100%; min-width:0; }
.kz-name { margin:0 0 12px; font:500 clamp(42px,6vw,64px)/1 var(--display); letter-spacing:-.025em; }
.kz-base { display:inline-flex; align-items:center; gap:10px; color:var(--fg-dim); font:500 11px/1.4 var(--mono); letter-spacing:.14em; text-transform:uppercase; }
.kz-base .dot { width:6px; height:6px; border-radius:50%; background:var(--orange); }
.kz-thesis { margin:0 40px; padding:30px 0 28px; border-bottom:1px solid var(--border-strong); display:flex; align-items:baseline; justify-content:space-between; gap:24px; }
.kz-thesis strong { max-width:32ch; font:500 clamp(20px,3vw,28px)/1.2 var(--display); color:var(--fg); }
.kz-thesis span { flex-shrink:0; font:10px/1.3 var(--mono); color:var(--muted); letter-spacing:.1em; text-transform:uppercase; }
.kz-chip-cloud { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.kz-chip { min-height:32px; padding:6px 10px; display:inline-flex; align-items:center; gap:6px; border:1px solid var(--border); border-radius:999px; background:var(--surface-2); color:var(--muted); font:400 9.5px/1 var(--mono); letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
.kz-icon { width:16px; height:16px; flex:0 0 16px; }
.kz-section { padding:64px 40px 0; }
.kz-shead { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-bottom:15px; margin-bottom:28px; border-bottom:1px solid var(--border-strong); }
.kz-shead-left { display:flex; align-items:center; gap:12px; }
.kz-sglyph { width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center; }
.kz-sglyph .kz-icon { width:18px; height:18px; flex-basis:18px; }
.kz-stitle { margin:0; font:500 14px/1.2 var(--display); letter-spacing:.14em; text-transform:uppercase; }
.kz-snum { color:var(--muted); font:11px/1 var(--mono); letter-spacing:.12em; }
.kz-lead { max-width:68ch; margin:0 0 24px; color:var(--fg-dim); font-size:18px; line-height:1.58; }
.kz-lead strong,.kz-copy strong { color:var(--fg); }
.kz-copy { max-width:70ch; margin:0 0 16px; color:var(--fg-dim); }
.kz-brief { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:30px; border-top:1px solid var(--fg); border-bottom:1px solid var(--border-strong); }
.kz-brief-item { min-width:0; padding:22px 20px; border-right:1px solid var(--border); }
.kz-brief-item:first-child { padding-left:0; }
.kz-brief-item:last-child { padding-right:0; border-right:0; }
.kz-brief strong { display:block; margin-bottom:7px; font:500 clamp(22px,3vw,30px)/1 var(--display); }
.kz-brief span { color:var(--muted); font:10px/1.35 var(--mono); text-transform:uppercase; letter-spacing:.08em; }
.kz-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr); gap:16px; align-items:stretch; }
.kz-card { min-width:0; padding:24px 26px; border:1px solid var(--border); border-radius:8px; background:var(--surface); }
.kz-card-head { min-height:34px; display:flex; align-items:center; margin-bottom:12px; padding-bottom:13px; border-bottom:1px solid var(--border-strong); font:500 12px/1.2 var(--display); letter-spacing:.13em; text-transform:uppercase; }
.kz-row { display:grid; grid-template-columns:minmax(104px,12ch) minmax(0,1fr); gap:12px; padding:8px 0; border-bottom:1px solid var(--border); align-items:baseline; }
.kz-row:last-child { border-bottom:0; }
.kz-key { color:var(--muted); font:10px/1.3 var(--mono); letter-spacing:.08em; text-transform:uppercase; }
.kz-val { color:var(--fg); font:500 12px/1.45 var(--mono); overflow-wrap:anywhere; }
.kz-table-wrap { width:100%; overflow-x:auto; border:1px solid var(--border); border-radius:8px; }
.kz-table { width:100%; min-width:720px; border-collapse:collapse; background:var(--bg); font-size:13px; }
.kz-table th { padding:12px 14px; border-bottom:1px solid var(--border-strong); background:var(--surface); color:var(--muted); font:10px/1.35 var(--mono); text-align:left; text-transform:uppercase; letter-spacing:.06em; }
.kz-table td { padding:12px 14px; border-bottom:1px solid var(--border); color:var(--fg-dim); vertical-align:top; }
.kz-table tr:last-child td { border-bottom:0; }
.kz-table .num { text-align:right; font-family:var(--mono); white-space:nowrap; }
.kz-table .model { color:var(--fg); font-weight:650; }
.kz-up { color:var(--green); }
.kz-down { color:var(--amber); }
.kz-caption { margin:12px 0 0; color:var(--muted); font:10.5px/1.55 var(--mono); }
.kz-notes { margin:24px 0 0; padding:20px 22px 20px 38px; border-left:2px solid var(--border-strong); background:var(--surface); color:var(--fg-dim); }
.kz-notes li { margin:0 0 9px; padding-left:4px; }
.kz-notes li:last-child { margin-bottom:0; }
.kz-source { display:grid; grid-template-columns:150px minmax(0,1fr); gap:18px; padding:15px 0; border-top:1px solid var(--border); }
.kz-source:last-child { border-bottom:1px solid var(--border); }
.kz-source strong { font:500 11px/1.4 var(--mono); text-transform:uppercase; letter-spacing:.08em; }
.kz-source span { color:var(--fg-dim); }
.kz pre { margin:0; padding:22px; overflow-x:auto; border:1px solid var(--border); border-radius:8px; background:var(--surface); color:var(--fg); }
.kz code { font:12px/1.65 var(--mono); }
.kz details { margin-top:16px; border:1px solid var(--border); border-radius:8px; background:var(--surface); }
.kz summary { padding:16px 18px; cursor:pointer; font:11px/1.3 var(--mono); text-transform:uppercase; letter-spacing:.08em; }
.kz-detail { padding:0 18px 18px; color:var(--fg-dim); }
.kz-footer { margin:64px 40px 0; padding-top:18px; border-top:1px solid var(--fg); display:flex; justify-content:space-between; gap:20px; color:var(--muted); font:10px/1.4 var(--mono); text-transform:uppercase; letter-spacing:.1em; }
@media (max-width:640px) {
.kz-hero--plain .kz-ident { padding:32px 20px; }
.kz-grid { grid-template-columns:1fr; }
.kz-thesis { margin:0 20px; padding:24px 0 22px; flex-direction:column; gap:8px; }
.kz-section { padding:48px 20px 0; }
.kz-brief { grid-template-columns:1fr; }
.kz-brief-item,.kz-brief-item:first-child,.kz-brief-item:last-child { padding:16px 0; border-right:0; border-bottom:1px solid var(--border); }
.kz-brief-item:last-child { border-bottom:0; }
.kz-source { grid-template-columns:1fr; gap:6px; }
.kz-footer { margin:52px 20px 0; flex-direction:column; }
}
</style>
<div class="kz">
<header class="kz-hero kz-hero--plain">
<div class="kz-ident">
<div class="kz-hero-main">
<h1 class="kz-name">Deimos R1</h1>
<span class="kz-base"><span class="dot"></span>Kozu AI Research · 4.54B · Apache 2.0</span>
<div class="kz-chip-cloud">
<span class="kz-chip"><svg class="kz-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M5 3h14v2H5zm0 16h14v2H5zM3 5h2v14H3zm16 0h2v14h-2zM9 7h6v2H9zm0 8h6v2H9zM7 9h2v6H7zm8 0h2v6h-2z"/></svg>BF16 weights</span>
<span class="kz-chip">Reasoning + instruction</span>
<span class="kz-chip">Report DR1-2026.07</span>
</div>
</div>
</div>
</header>
<div class="kz-thesis"><strong>Small model. Disciplined reasoning.</strong></div>
<section class="kz-section">
<div class="kz-shead"><div class="kz-shead-left"><span class="kz-sglyph"><svg class="kz-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M3 3h18v2H3zm0 16h18v2H3zM3 7h12v2H3zm0 4h18v2H3zm0 4h12v2H3z"/></svg></span><h2 class="kz-stitle">Release brief</h2></div><span class="kz-snum">01</span></div>
<p class="kz-lead">Deimos R1 is a focused 4B-class system for reasoning and instruction following. In like-for-like evaluation, it improves five of seven reported full-budget capability rows while using substantially fewer thinking tokens on the headline tasks.</p>
<p class="kz-copy">The central result is efficiency, not scale. Deimos R1 reaches <strong>0.907 GSM8K flexible</strong> and <strong>0.551 MMLU-Pro</strong> in the recorded full-budget run while reducing mean thinking tokens by 5.0× and 2.9× respectively.</p>
<div class="kz-brief">
<div class="kz-brief-item"><strong>5.0×</strong><span>fewer GSM8K think tokens</span></div>
<div class="kz-brief-item"><strong>+0.188</strong><span>MMLU-Pro absolute delta</span></div>
<div class="kz-brief-item"><strong>0.465</strong><span>held-out reasoning accuracy · n=200</span></div>
</div>
</section>
<section class="kz-section">
<div class="kz-shead"><div class="kz-shead-left"><span class="kz-sglyph"><svg class="kz-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zM6 15h3v3H6zm5-5h3v8h-3zm5-4h3v12h-3z"/></svg></span><h2 class="kz-stitle">Evaluation</h2></div><span class="kz-snum">02</span></div>
<p class="kz-lead">The table reports matched comparisons under the same open harness, generation budget, sampling settings, and seed. Values are run-local and should not be compared with vendor-published numbers produced by other evaluation stacks.</p>
<div class="kz-table-wrap">
<table class="kz-table">
<thead><tr><th>Full-budget benchmark</th><th class="num">Reference</th><th class="num">Deimos R1</th><th class="num">Delta</th><th class="num">Think tokens · ref → R1</th></tr></thead>
<tbody>
<tr><td>GSM8K · flexible</td><td class="num">0.860</td><td class="num model">0.907</td><td class="num"><span class="kz-up">+0.047</span></td><td class="num">1,778 → 357</td></tr>
<tr><td>MMLU-Pro</td><td class="num">0.363</td><td class="num model">0.551</td><td class="num"><span class="kz-up">+0.188</span></td><td class="num">1,984 → 677</td></tr>
<tr><td>IFEval · prompt loose</td><td class="num">0.260</td><td class="num model">0.353</td><td class="num"><span class="kz-up">+0.093</span></td><td class="num">4,808 → 1,189</td></tr>
<tr><td>IFEval · instruction loose</td><td class="num">0.437</td><td class="num model">0.487</td><td class="num"><span class="kz-up">+0.050</span></td><td class="num">—</td></tr>
<tr><td>IFEval · prompt strict</td><td class="num">0.260</td><td class="num model">0.267</td><td class="num"><span class="kz-up">+0.007</span></td><td class="num">—</td></tr>
<tr><td>IFEval · instruction strict</td><td class="num">0.437</td><td class="num model">0.429</td><td class="num"><span class="kz-down">−0.008</span></td><td class="num">—</td></tr>
<tr><td>GSM8K · strict format</td><td class="num">0.727</td><td class="num model">0.333</td><td class="num"><span class="kz-down">−0.394</span></td><td class="num">—</td></tr>
</tbody>
</table>
</div>
<p class="kz-caption">lm-eval 0.4.12 · 32,768-token generation budget · temperature 1.0 · top_p 0.95 · presence penalty 1.5 · thinking enabled · GSM8K/IFEval n=150 · MMLU-Pro n=25 per subtask · seed 42.</p>
<div class="kz-table-wrap" style="margin-top:24px">
<table class="kz-table">
<thead><tr><th>4,096-token constrained run</th><th class="num">Reference</th><th class="num">Deimos R1</th><th class="num">Delta</th></tr></thead>
<tbody>
<tr><td>GSM8K · flexible</td><td class="num">0.660</td><td class="num model">0.933</td><td class="num"><span class="kz-up">+0.273</span></td></tr>
<tr><td>MMLU-Pro</td><td class="num">0.394</td><td class="num model">0.634</td><td class="num"><span class="kz-up">+0.240</span></td></tr>
<tr><td>IFEval · prompt strict</td><td class="num">0.247</td><td class="num model">0.320</td><td class="num"><span class="kz-up">+0.073</span></td></tr>
</tbody>
</table>
</div>
<p class="kz-caption">Constrained-budget results use greedy decoding. Compare within this table, not across decoding regimes.</p>
<ul class="kz-notes">
<li>The internal held-out math set is contamination-filtered with verified ground truth: accuracy moved from 0.175 to 0.465 at n=200. The 12-check instruction suite remained 0.917.</li>
<li>IFEval scores the complete response, including the thinking block. Shorter reasoning can therefore improve constraint scores; the behavior affects both compared models.</li>
<li>GSM8K strict rewards an unrequested <code>#### N</code> ending. Deimos R1 is materially weaker at silently copying that demonstrated format. Explicit format requests are more reliable.</li>
<li>Raw evaluation artifacts are retained under <a href="./bench/">bench/</a> in this repository.</li>
</ul>
</section>
<section class="kz-section">
<div class="kz-shead"><div class="kz-shead-left"><span class="kz-sglyph"><svg class="kz-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M7 2h10v2H7zM5 4h14v16H5zm2 2v12h10V6zm2 2h6v2H9zm0 4h6v2H9z"/></svg></span><h2 class="kz-stitle">Data &amp; development</h2></div><span class="kz-snum">03</span></div>
<p class="kz-lead"><strong>kozu_reasoning_v1.1</strong> is a roughly 10k-example blend of verified reasoning traces and human-authored instruction data. The release uses a three-layer quality process for the reasoning portion and a dedicated 800-example format-adherence slice.</p>
<div class="kz-source"><strong>Reasoning · ~5k</strong><span>Kozu’s Kuiper trace inverter was designed to recreate Mythos/Fable-style reasoning from answer-scrubbed human reference solutions in <a href="https://huggingface.co/datasets/openai/gsm8k">GSM8K</a> and <a href="https://huggingface.co/datasets/AI-MO/NuminaMath-1.5">NuminaMath 1.5</a>. Retained traces passed symbolic answer verification, derivation checks, deterministic defect scans, and an adversarial judge panel.</span></div>
<div class="kz-source"><strong>Instruction · ~5k</strong><span>Human-authored pairs used from <a href="https://huggingface.co/datasets/databricks/databricks-dolly-15k">Databricks Dolly 15k</a> and <a href="https://huggingface.co/datasets/OpenAssistant/oasst2">OpenAssistant OASST2</a>.</span></div>
<div class="kz-source"><strong>Format · 800</strong><span>Deterministic rewraps of verified rows for explicitly requested formats including JSON, boxed answers, and named answer markers.</span></div>
<details><summary>Source licenses and attribution</summary><div class="kz-detail">GSM8K: MIT. NuminaMath 1.5: Apache-2.0. Databricks Dolly 15k: CC-BY-SA-3.0. OpenAssistant OASST2: Apache-2.0. Reasoning traces were generated with Kuiper-R1 by Kozu AI.</div></details>
</section>
<section class="kz-section">
<div class="kz-shead"><div class="kz-shead-left"><span class="kz-sglyph"><svg class="kz-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M3 3h18v18H3zm2 2v14h14V5zm2 3h2v2H7zm3 3h2v2h-2zm-3 3h2v2H7zm6 0h4v2h-4z"/></svg></span><h2 class="kz-stitle">Deployment</h2></div><span class="kz-snum">04</span></div>
<p class="kz-copy">The repository includes merged BF16 weights, tokenizer assets, processor configuration, generation configuration, and the model chat template. Thinking is enabled by default and appears inside <code>&lt;think&gt;…&lt;/think&gt;</code> before the final answer.</p>
<pre><code>vllm serve Michael-Kozu/Deimos-R1 --served-model-name deimos-r1 \
--max-model-len 8192 --gpu-memory-utilization 0.80 --trust-remote-code</code></pre>
<p class="kz-caption">Recommended sampling: temperature 0.6–1.0 and top_p 0.95. Request required output formats explicitly.</p>
</section>
<section class="kz-section">
<div class="kz-shead"><div class="kz-shead-left"><span class="kz-sglyph"><svg class="kz-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M11 2h2v2h-2zm-4 2h10v2H7zM5 6h14v14H5zm2 2v10h10V8zm4 2h2v4h-2zm0 6h2v2h-2z"/></svg></span><h2 class="kz-stitle">Limitations</h2></div><span class="kz-snum">05</span></div>
<ul class="kz-notes" style="margin-top:0">
<li>This is a research preview, not a safety-certified or production-guaranteed system.</li>
<li>The strongest evidence covers English reasoning and instruction following. Performance outside those domains is not established here.</li>
<li>Silent few-shot format imitation is a known weakness; strict GSM8K formatting declines substantially in the recorded comparison.</li>
<li>Long reasoning may still be incorrect. Verify outputs for consequential decisions and domain-specific use.</li>
</ul>
</section>
<footer class="kz-footer"><span>Kozu AI · Deimos R1</span><span>Apache-2.0 · Model release</span></footer>
</div>