Text Generation
Transformers
Safetensors
English
Chinese
qwen3
WebWorld
web-agent
world-model
simulator
browser
a11y
html
xml
markdown
long-horizon
long-context
synthetic-trajectories
instruction-tuning
conversational
text-generation-inference
Instructions to use Qwen/WebWorld-32B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/WebWorld-32B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Qwen/WebWorld-32B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Qwen/WebWorld-32B") model = AutoModelForCausalLM.from_pretrained("Qwen/WebWorld-32B") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Qwen/WebWorld-32B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/WebWorld-32B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Qwen/WebWorld-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Qwen/WebWorld-32B
- SGLang
How to use Qwen/WebWorld-32B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Qwen/WebWorld-32B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Qwen/WebWorld-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Qwen/WebWorld-32B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Qwen/WebWorld-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Qwen/WebWorld-32B with Docker Model Runner:
docker model run hf.co/Qwen/WebWorld-32B
Update README.md
Browse files
README.md
CHANGED
|
@@ -29,7 +29,17 @@ datasets:
|
|
| 29 |
|
| 30 |
# WebWorld π
|
| 31 |
|
| 32 |
-
[](https://opensource.org/licenses/LICENSE-2.0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
## π Introduction
|
| 35 |
|
|
@@ -44,13 +54,13 @@ Agents trained on WebWorld-synthesized trajectories achieve **+9.9% on MiniWob++
|
|
| 44 |
|
| 45 |
## π― Model Series
|
| 46 |
|
| 47 |
-
| Model | Base Model | Link |
|
| 48 |
-
|---|---|---|
|
| 49 |
-
| **WebWorld-8B** | [Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B) | [π€ HuggingFace](https://huggingface.co/Qwen/WebWorld-8B) |
|
| 50 |
-
| **WebWorld-14B** | [Qwen3-14B](https://huggingface.co/Qwen/Qwen3-14B) | [π€ HuggingFace](https://huggingface.co/Qwen/WebWorld-14B) |
|
| 51 |
-
| **WebWorld-32B** | [Qwen3-32B](https://huggingface.co/Qwen/Qwen3-32B) | [π€ HuggingFace](https://huggingface.co/Qwen/WebWorld-32B) |
|
| 52 |
|
| 53 |
-
**
|
| 54 |
|
| 55 |
π‘ **Recommendation**: Use 8B for fast simulation and data synthesis; use 14B/32B for higher-fidelity simulation and better long-horizon robustness. For best results in a specific environment, we recommend task-specific fine-tuning on in-domain trajectories.
|
| 56 |
|
|
|
|
| 29 |
|
| 30 |
# WebWorld π
|
| 31 |
|
| 32 |
+
[](https://opensource.org/licenses/LICENSE-2.0)
|
| 33 |
+
[](https://github.com/QwenLM/WebWorld)
|
| 34 |
+
[](https://huggingface.co/datasets/Qwen/WebWorldData)
|
| 35 |
+
[](https://modelscope.cn/datasets/Qwen/WebWorldData)
|
| 36 |
+
[](https://huggingface.co/Qwen/WebWorld-8B)
|
| 37 |
+
[](https://modelscope.cn/models/Qwen/WebWorld-8B)
|
| 38 |
+
[](https://huggingface.co/Qwen/WebWorld-14B)
|
| 39 |
+
[](https://modelscope.cn/models/Qwen/WebWorld-14B)
|
| 40 |
+
[](https://huggingface.co/Qwen/WebWorld-32B)
|
| 41 |
+
[](https://modelscope.cn/models/Qwen/WebWorld-32B)
|
| 42 |
+
|
| 43 |
|
| 44 |
## π Introduction
|
| 45 |
|
|
|
|
| 54 |
|
| 55 |
## π― Model Series
|
| 56 |
|
| 57 |
+
| Model | Base Model | HuggingFace Link | ModelScope Link |
|
| 58 |
+
|---|---|---|---|
|
| 59 |
+
| **WebWorld-8B** | [Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B) | [π€ HuggingFace](https://huggingface.co/Qwen/WebWorld-8B) | [π€ ModelScope](https://modelscope.cn/models/Qwen/WebWorld-8B) |
|
| 60 |
+
| **WebWorld-14B** | [Qwen3-14B](https://huggingface.co/Qwen/Qwen3-14B) | [π€ HuggingFace](https://huggingface.co/Qwen/WebWorld-14B) | [π€ ModelScope](https://modelscope.cn/models/Qwen/WebWorld-14B) |
|
| 61 |
+
| **WebWorld-32B** | [Qwen3-32B](https://huggingface.co/Qwen/Qwen3-32B) | [π€ HuggingFace](https://huggingface.co/Qwen/WebWorld-32B) | [π€ ModelScope](https://modelscope.cn/models/Qwen/WebWorld-32B) |
|
| 62 |
|
| 63 |
+
**WebWorldData**: [Huggingface: Qwen/WebWorldData](https://huggingface.co/datasets/Qwen/WebWorldData), [ModelScope: Qwen/WebWorldData](https://modelscope.cn/datasets/Qwen/WebWorldData)
|
| 64 |
|
| 65 |
π‘ **Recommendation**: Use 8B for fast simulation and data synthesis; use 14B/32B for higher-fidelity simulation and better long-horizon robustness. For best results in a specific environment, we recommend task-specific fine-tuning on in-domain trajectories.
|
| 66 |
|