Downloads · 30 days
11
13% of all-time downloads
patnir41/kaetram-qwen3.5-2b-opd-r1
kaetram-qwen3.5-2b-opd-r1 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 (a 2D pixel MMORPG) by calling typed game tools. This is round 1 of an on-policy distillation (OPD) program that lifts a base Qwen3.5-2B toward a stronger 4B teacher on a 3-quest benchmar…
Downloads · 30 days
11
13% of all-time downloads
All-time downloads
88
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 (a 2D pixel MMORPG) by calling typed game tools. This is round 1 of an on-policy distillation (OPD) program that lifts a base Qwen3.5-2B toward a stronger 4B teacher on a 3-quest benchmark ("Core 3", scored out of 30 stages).
| Checkpoint | Core-3 (/30) |
|---|---|
| base Qwen3.5-2B | 12 |
| r1 (this model) | 12 |
| r2 | 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 1 transferred the teacher's style (turn economy, error rates, re-grounding habits) but not yet new task competence — the Core-3 score held at 12/30 while per-turn behavior measurably moved toward the teacher. The competence gains arrive in r2 and r3.
On-policy distillation: the student plays the game, and each emitted action token
is scored with a reverse-KL advantage against the teacher,
advantage = -(logp_student − logp_teacher). Training is PPO-clipped
importance-sampling on those advantages (LoRA r=64, α=64, no rsLoRA, 7 projection
modules, bf16, 1 epoch, advantage clamp ±3, early-turn step-weight 1.5). Round 1
initializes a fresh LoRA on base Qwen3.5-2B. Full construction is in the
patnir41/kaetram-opd-2b
dataset card.
Chain: base Qwen3.5-2B → r1 → (merge) → r2 → (merge) → r3.
Qwen3_5ForConditionalGeneration) — load directly with transformers/vLLM/SGLang.adapter/: the LoRA adapter alone (apply on top of Qwen/Qwen3.5-2B).This is a text-only fine-tune; the base architecture is multimodal-capable but
no vision/audio path is trained or used. The included chat_template.jinja
preserves <think> reasoning on every assistant turn.
from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained("patnir41/kaetram-qwen3.5-2b-opd-r1", torch_dtype="bfloat16", device_map="auto")
t = AutoTokenizer.from_pretrained("patnir41/kaetram-qwen3.5-2b-opd-r1")
The model emits typed tool calls (observe, navigate, attack, gather,
query_quest, …) and expects the Kaetram MCP tool harness; outside that harness
it generates the same tool-call syntax as plain text.
Trained for one narrow task (the Kaetram Core-3 benchmark) — not a general assistant. Inherits the round's known failure modes (occasional malformed tool-call syntax; the "Rick's Roll" quest stays unsolved across the whole program).
Apache-2.0, inheriting Qwen3.5-2B
(© 2026 Alibaba Cloud). Game environment and embedded game data
(coordinates, NPC/mob/quest names) are 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_r1_2026,
title = {Kaetram Qwen3.5-2B OPD (Round 1)},
author = {patnir41},
year = {2026},
howpublished = {\url{https://huggingface.co/patnir41/kaetram-qwen3.5-2b-opd-r1}}
}