CoolFace
Modelpublic

devmaksi/Qwen-AgentWorld-35B-A3B-FP8-Freetoken

sourceHugging Faceapache-2.0updated 4d agoView on Hugging Face
0likes42downloads
Model Card

Quantization

FP8 Attention FP8 MLP Experts (except the first mlp layer due to huge quantization error)

Freetoken ready

Qwen-AgentWorld-35B-A3B

<div style="text-align: center"> <img width="400px" src="https://qianwen-res.oss-accelerate-overseas.aliyuncs.com/Qwen-AgentWorld/logo.png"> <p> <a href="http://arxiv.org/abs/2606.24597">๐Ÿ“‘ Technical Report</a> | <a href="https://qwen.ai/blog?id=qwen-agentworld">๐Ÿ“– Blog</a> | <a href="https://huggingface.co/collections/Qwen/qwen-agentworld">๐Ÿค— Hugging Face</a> | <a href="https://modelscope.cn/collections/Qwen/Qwen-AgentWorld">๐Ÿค– ModelScope</a> | <a href="https://github.com/QwenLM/Qwen-AgentWorld">๐Ÿ’ป GitHub</a> | <a href="https://qwen.ai/blog?id=qwen-agentworld#interactive-demo-interactive-demo">๐Ÿ–ฅ๏ธ Demo</a> </p> </div>

[!Note] This repository contains the model weights and configuration files for Qwen-AgentWorld-35B-A3B, a native language world model trained for agentic environment simulation. These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, etc.

Qwen-AgentWorld is the first language world model to cover seven agent interaction domains within a single model. It simulates agentic environments via long chain-of-thought reasoning, predicting the next environment state given an agent's action and interaction history. Trained through a three-stage pipeline โ€” CPT injects environment knowledge, SFT activates next-state-prediction reasoning, RL sharpens simulation fidelity โ€” Qwen-AgentWorld is a native world model: environment modeling is the training objective from the CPT stage onward, not a post-hoc add-on.

Highlights

  • โ€”Seven Unified Domains. A single model covers MCP (tool calling), Search, Terminal, SWE (software engineering), Android, Web, and OS โ€” spanning both text and GUI interaction environments.
  • โ€”Native World Model. Environment modeling from CPT onward, not post-hoc adaptation on a general-purpose LLM.
  • โ€”Generalizable, Scalable & Controllable Simulator. Zero-shot generalization to OOD environments (e.g., OpenClaw); controllable perturbations and fictional-world construction surpass real-environment training.
  • โ€”Agent Foundation Model. LWM RL warm-up on single-turn, non-agentic trajectories transfers to multi-turn, tool-calling agentic tasks across 7 benchmarks, including 3 entirely out-of-domain.

Model Overview

  • โ€”Type: Causal Language Model (Language World Model)
  • โ€”Base Model: Qwen3.5-35B-A3B-Base
  • โ€”Training Stage: Continual Pre-Training (CPT) โ†’ Supervised Fine-Tuning (SFT) โ†’ Reinforcement Learning (RL, GSPO)
  • โ€”Number of Parameters: 35B in total and 3B activated
  • โ€”Hidden Dimension: 2048
  • โ€”Token Embedding: 248320 (Padded)
  • โ€”Number of Layers: 40
  • โ€”Hidden Layout: 10 ร— (3 ร— (Gated DeltaNet โ†’ MoE) โ†’ 1 ร— (Gated Attention โ†’ MoE))
  • โ€”Gated DeltaNet:
  • โ€”Number of Linear Attention Heads: 32 for V and 16 for QK
  • โ€”Head Dimension: 128
  • โ€”Gated Attention:
  • โ€”Number of Attention Heads: 16 for Q and 2 for KV
  • โ€”Head Dimension: 256
  • โ€”Rotary Position Embedding Dimension: 64
  • โ€”Mixture Of Experts
  • โ€”Number of Experts: 256
  • โ€”Number of Activated Experts: 8 Routed + 1 Shared
  • โ€”Expert Intermediate Dimension: 512
  • โ€”Context Length: 262,144 tokens
  • โ€”Disclaimer: No outputs from external API services are included in the training pipeline.

Performance

AgentWorldBench (Open-Ended Evaluation)

Five-dimensional rubric mean per domain, normalized to 0-100 scale.

ModelMCPSearchTerm.SWEAndroidWebOS**Overall**
GPT-5.470.1037.2653.6966.2960.0051.8068.5858.25
Claude Opus 4.854.9335.1459.1864.1061.5054.6666.6256.59
Claude Opus 4.669.9029.3057.5164.5561.7451.4270.2057.80
Gemini 3.1 Pro59.0730.2152.4759.0761.4052.8366.9254.57
Claude Sonnet 4.670.0028.7956.9864.5258.0350.7863.1756.04
DeepSeek-V4-Pro63.2727.6151.2659.4455.1750.3263.7052.97
GLM-5.167.6022.4647.3252.0759.1051.5059.1351.31
Kimi K2.665.2327.4852.5458.7758.9350.2060.8053.42
MiniMax-M2.755.8227.3041.6237.4452.4050.5257.7346.12
Qwen3.5-35B-A3B57.8725.9846.1347.5853.1847.1056.2747.73
Qwen3.5-397B-A17B68.3130.8155.3064.4454.9048.5560.8554.74
Qwen3.6-Plus55.2821.9450.5859.0857.6550.7860.3350.81
Qwen-AgentWorld-35B-A3B64.7936.6953.9665.6358.1749.5565.9256.39
Qwen-AgentWorld-397B-A17B68.2437.8257.7368.4960.2050.9867.8958.71

Quickstart

Freetoken

Freetoken Unlock datacenter-class intelligence on the hardware you already own โ€” Run 290B+ frontier MoE models locally on your gaming PC at blistering interactive speeds.

bash
cd ~/.freetoken
./venv/bin/ft serve --model-path ./models/Qwen-AgentWorld-35B-A3B-FP8-PE --text-model-only --kv-reserve-tokens 128000

An OpenAI-compatible API will be available at http://127.0.0.1:1919/v1.