devmaksi/Qwen-AgentWorld-35B-A3B-FP8-Freetoken
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.
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.
cd ~/.freetoken
./venv/bin/ft serve --model-path ./models/Qwen-AgentWorld-35B-A3B-FP8-PE --text-model-only --kv-reserve-tokens 128000An OpenAI-compatible API will be available at http://127.0.0.1:1919/v1.
