OriGent-SFT

arXiv Project Website GitHub

OriGent Suite: OriGent-RL · OriGent-SFT · OriGent-SFT-Data · OriGent-RL-Data

OriGent-SFT is the Stage-1 long-context supervised fine-tuned hardware engineering agent initialized from Qwen3.6-35B-A3B. It serves both as a standalone repository-level hardware agent (66.8% on HWE-Bench v1.1, +26.0 pp over Base) and as the initialization checkpoint for OriGent-RL (74.2%).

Benchmark Performance (HWE-Bench v1.1, 417 Tasks)

Evaluated with OpenCode 1.18.22 (256K context window, 64K max output tokens per turn, 6-hour task budget, temperature = 1.0, top_p = 1.0, top_k = -1):

Model HWE-Bench v1.1 (Mean / 417) Per-Run Solved Gain vs. Base
Qwen3.6-35B-A3B (Base) 40.8% (170.0) 170 —
OriGent-SFT (this model) 66.8% (278.7) 272 / 285 / 279 +26.0 pp
OriGent-RL 74.2% (309.3) 311 / 312 / 305 +33.4 pp

Model & Training Summary

  • Architecture: Qwen3_5MoeForConditionalGeneration (qwen3_5_moe), 40 layers (hybrid linear + full attention), 256 experts, 248,320 vocabulary, BF16 (34 × ~2 GiB safetensors shards, 67 GiB; all 352 frozen visual/MTP tensors preserved).
  • Training Data: 8,444 verified hardware engineering tasks (9,664 segments: 9,054 multi-turn interaction segments and 610 standalone context-compaction summary samples; 436,576 supervised assistant turns after the 8K reasoning mask) across 61 repositories disjoint from RL (23 repos) and HWE-Bench (6 repos). Sanitized teacher trajectories and the 8,861-task Harbor suite are released in henryen/OriGent-SFT-Data.
  • Optimization: 3 epochs (906 updates) at global batch size 32, cosine learning rate 1e-5 to 1e-6 (90 warmup steps), sequence-packed 256K context window, and turn-level reasoning loss masking on assistant turns exceeding 8,192 reasoning tokens.

Quick Start (Serving with SGLang / vLLM)

SGLang (Recommended for OpenCode)

python3 -m sglang.launch_server \
  --model-path henryen/OriGent-SFT \
  --served-model-name origent-sft \
  --tp 4 \
  --context-length 262144 \
  --reasoning-parser qwen3 \
  --tool-call-parser qwen3_coder \
  --host 0.0.0.0 \
  --port 30000

vLLM

vllm serve henryen/OriGent-SFT \
  --served-model-name origent-sft \
  --tensor-parallel-size 4 \
  --max-model-len 262144 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_coder \
  --host 0.0.0.0 \
  --port 30000

Recommended Sampling & Agent Settings

  • Temperature / Top-p / Top-k: temperature = 1.0, top_p = 1.0, top_k = -1 (pass top_k = -1 explicitly in your client config to override top_k = 20 in the inherited generation_config.json)
  • Multi-turn reasoning: Enable thinking and configure OpenCode with "interleaved": {"field": "reasoning_content"} so reasoning blocks are preserved across tool calls
  • Context / Compaction: 262,144 context window, 65,536 max output tokens per turn, OpenCode compaction reserved = 73,728 (auto = true, prune = false)

License

Released under the Apache License 2.0, inheriting the base model license of Qwen/Qwen3.6-35B-A3B.

Citation

@article{cui2026origent,
  title   = {OriGent: Post-Training Hardware Engineering Agents through Scalable Environment Synthesis},
  author  = {Fan Cui and Kexing Zhou and Youwei Zhuo},
  journal = {arXiv preprint arXiv:2611.38637},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.38637}
}
Downloads last month
9
Safetensors
Model size
36B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for henryen/OriGent-SFT

Finetuned
(555)
this model

Collection including henryen/OriGent-SFT

Paper for henryen/OriGent-SFT