Downloads · 30 days
6
7% of all-time downloads
patnir41/kaetram-qwen3.5-2b-opd-r2
kaetram-qwen3.5-2b-opd-r2 is a text generation model from patnir41. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A 2B agent that plays Kaetram by calling typed game tools. This is round 2 of on-policy distillation (OPD) — the round where the first weights-driven competence gain appears.
Downloads · 30 days
6
7% of all-time downloads
All-time downloads
92
Public
Parameters
2.3B
4.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.7 GB · 99%
How the weights are stored.
BF162.3B · 100%
From the Hugging Face model README
A 2B agent that plays Kaetram by calling typed game tools. This is round 2 of on-policy distillation (OPD) — the round where the first weights-driven competence gain appears.
| Checkpoint | Core-3 (/30) |
|---|---|
| base Qwen3.5-2B | 12 |
| r1 | 12 |
| r2 (this model) | 15 |
| r3 | 18 |
| 4B teacher (reference) | 17 |
Core-3 = quest-stage progress summed across three archetype agents (10 stages each, 30 max) over the Foresting → Herbalist's Desperation → Rick's Roll quest chain.
Round 2 broke a wall the base and r1 never passed: all three archetype agents pass the Herbalist's Desperation stage-1 wall unseeded (base and r1 passed it 0/3; r3 goes on to finish the chain). The lift is attributable to the weights — round 2 changed only the policy, not the harness — confirming the on-policy distillation signal instilled new task competence, not just style.
On-policy distillation with a reverse-KL advantage against a scaffolded 4B
teacher, advantage = -(logp_student − logp_teacher), trained with PPO-clipped
importance sampling (LoRA r=64, α=64, no rsLoRA, bf16, 1 epoch, advantage clamp ±3,
early-turn step-weight 1.5). Round 2 fits a fresh LoRA on the merged r1
checkpoint and is trained on rollouts from the r1 policy plus a seeded
"wall-state" collection. Full construction:
patnir41/kaetram-opd-2b.
Chain: base Qwen3.5-2B → r1 → (merge) → r2 → (merge) → r3.
Qwen3_5ForConditionalGeneration) — load directly.adapter/: the LoRA adapter alone (applies on top of the merged
r1 checkpoint).Text-only fine-tune of a multimodal-capable base; chat_template.jinja preserves
<think> on every assistant turn.
from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained("patnir41/kaetram-qwen3.5-2b-opd-r2", torch_dtype="bfloat16", device_map="auto")
t = AutoTokenizer.from_pretrained("patnir41/kaetram-qwen3.5-2b-opd-r2")
Single-task agent for the Kaetram Core-3 benchmark. Known failure modes: a malformed tool-call attractor (mitigated, not eliminated) and the "Rick's Roll" quest, which stays unsolved across the whole program because the same-family teacher cannot grade a skill it cannot itself perform.
Apache-2.0, inheriting Qwen3.5-2B
(© 2026 Alibaba Cloud). Game environment/data from
Kaetram-Open (MPL-2.0). See NOTICE.
All training data was generated by Qwen self-play — no third-party proprietary
model outputs were used.
@misc{kaetram_opd_2b_r2_2026,
title = {Kaetram Qwen3.5-2B OPD (Round 2)},
author = {patnir41},
year = {2026},
howpublished = {\url{https://huggingface.co/patnir41/kaetram-qwen3.5-2b-opd-r2}}
}