Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5_moe
computer-use
gui-agent
graphic-design
openenv
reinforcement-learning
grpo
trl
conversational
Instructions to use FineEnvs/DesignWorld-35B-RL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FineEnvs/DesignWorld-35B-RL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="FineEnvs/DesignWorld-35B-RL") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("FineEnvs/DesignWorld-35B-RL") model = AutoModelForMultimodalLM.from_pretrained("FineEnvs/DesignWorld-35B-RL", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FineEnvs/DesignWorld-35B-RL with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FineEnvs/DesignWorld-35B-RL" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FineEnvs/DesignWorld-35B-RL", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/FineEnvs/DesignWorld-35B-RL
- SGLang
How to use FineEnvs/DesignWorld-35B-RL 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 "FineEnvs/DesignWorld-35B-RL" \ --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": "FineEnvs/DesignWorld-35B-RL", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "FineEnvs/DesignWorld-35B-RL" \ --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": "FineEnvs/DesignWorld-35B-RL", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use FineEnvs/DesignWorld-35B-RL with Docker Model Runner:
docker model run hf.co/FineEnvs/DesignWorld-35B-RL
File size: 8,805 Bytes
85ae0c8 d52d2f9 85ae0c8 d52d2f9 85ae0c8 29bcb7f 85ae0c8 fe0f4c2 85ae0c8 29bcb7f 85ae0c8 4d35990 85ae0c8 d52d2f9 85ae0c8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | ---
license: apache-2.0
base_model: FineEnvs/DesignWorld-35B-SFT
base_model_relation: finetune
library_name: transformers
pipeline_tag: image-text-to-text
language:
- en
tags:
- computer-use
- gui-agent
- graphic-design
- openenv
- reinforcement-learning
- grpo
- trl
datasets:
- perpetual-research/designworld-sft
---
# DesignWorld-35B-RL
<p align="center"><img src="https://huggingface.co/FineEnvs/DesignWorld-35B-RL/resolve/main/assets/banner.jpg" alt="DesignWorld: RL environments, a frontier-model benchmark, verified computer-use trajectories and an open model for graphic-design software" width="100%"></p>
<p align="center">Built by Hugging Face's <a href="https://huggingface.co/FineEnvs"><b>FineEnvs</b></a> team in collaboration with <a href="https://perpetualresearch.si"><b>Perpetual Research</b></a> 路 real apps run in <a href="https://www.daytona.io"><b>Daytona</b></a> sandboxes</p>
<p align="center"><a href="https://perpetualresearch.si/designworld/">Blog</a> 路 <a href="https://huggingface.co/collections/FineEnvs/designworld-6b0d2eaea75522cac763304d">Collection</a> 路 <a href="https://huggingface.co/spaces/FineEnvs/designworld-env">Environment</a> 路 <a href="https://huggingface.co/datasets/perpetual-research/designworld-bench">Benchmark</a> 路 <a href="https://huggingface.co/datasets/perpetual-research/designworld-sft">SFT data</a> 路 <a href="https://huggingface.co/spaces/FineEnvs/designworld-explorer">Explorer</a> 路 <a href="https://huggingface.co/FineEnvs/DesignWorld-35B-SFT">SFT model</a> 路 <a href="https://huggingface.co/FineEnvs/DesignWorld-35B-RL">RL model</a> 路 <a href="https://github.com/adithya-s-k/FineEnvs/tree/main/10-design-world">Code</a></p>
**DesignWorld-35B: Qwen3.6-35B-A3B (35B total, 3B active, 262k context) that recreates graphic designs in GUI
design editors from screenshots.** It is [DesignWorld-35B-SFT](https://huggingface.co/FineEnvs/DesignWorld-35B-SFT)
(a full fine-tune, thinking off, on the 16,140 trajectories of
[DesignWorld-SFT](https://huggingface.co/datasets/perpetual-research/designworld-sft)) followed by 60 GRPO updates
(TRL, colocated vLLM) on 48 easy and medium designs, run only in the 6 browser-replica environments. The RL LoRA is
merged into the weights.
| DesignWorld-Bench, 420 tasks | Qwen3.6-35B-A3B | [DesignWorld-35B-SFT](https://huggingface.co/FineEnvs/DesignWorld-35B-SFT) | **this model** |
|---|---:|---:|---:|
| mean score | 4.1 | 35.6 | **41.7** |
Protocol: [DesignWorld-Bench](https://huggingface.co/datasets/perpetual-research/designworld-bench), 30 held-out
designs 脳 14 apps = 420 tasks; 200-screenshot history, up to 30 minutes per attempt, thinking off. One eval run per
model.
- **Transfer to real apps.** RL ran only in the browser replicas, yet it raised scores in the real apps by
**+5.3** (95% CI +3.0 to +7.9) over the SFT model, on 30 held-out designs 脳 8 real apps.
## DesignWorld in four parts
An agent gets a reference design and an empty document in one of 14 graphic-design apps, and rebuilds the design from
screenshots alone, with mouse and keyboard. When it submits, a deterministic grader parses the app's native file into
layers and scores them against the reference.
| Part | Open on Hugging Face | Available to license |
|---|---|---|
| **RL environments** on OpenEnv | 8 of 14: the 6 browser replicas, plus Inkscape and Penpot on Daytona ([Space](https://huggingface.co/spaces/FineEnvs/designworld-env), [task pack](https://huggingface.co/datasets/FineEnvs/designworld-tasks), [code](https://github.com/adithya-s-k/FineEnvs/tree/main/10-design-world)) | the other 6 real apps, and hosted evaluation |
| **DesignWorld-Bench** | 420 tasks (30 held-out designs 脳 14 apps), every model's scores, the harness for the open apps ([dataset](https://huggingface.co/datasets/perpetual-research/designworld-bench)) | all 11,760 graded frontier-model trajectories |
| **DesignWorld-SFT** | 16,140 verified trajectories, about 1,170 hours ([dataset](https://huggingface.co/datasets/perpetual-research/designworld-sft), [explorer](https://huggingface.co/spaces/FineEnvs/designworld-explorer)) | 50,000+ more, 4,700+ hours in all |
| **DesignWorld-35B** | [SFT](https://huggingface.co/FineEnvs/DesignWorld-35B-SFT) and [RL](https://huggingface.co/FineEnvs/DesignWorld-35B-RL) checkpoints, training code | |
Licensing and hosted evaluation: [founders@vibemotion.ai](mailto:founders@vibemotion.ai?subject=DesignWorld).
## How an episode works
<p align="center"><img src="https://huggingface.co/FineEnvs/DesignWorld-35B-RL/resolve/main/assets/how-it-works.jpg" alt="Task, then agent and environment trade screenshots and actions, then the saved file is graded into a reward" width="100%"></p>
## Results
<p align="center"><img src="https://huggingface.co/FineEnvs/DesignWorld-35B-RL/resolve/main/assets/leaderboard.jpg" alt="DesignWorld-Bench leaderboard: frontier models at low effort with 200 screenshots, and DesignWorld-35B base, SFT and RL" width="100%"></p>
The default view of the [leaderboard](https://perpetualresearch.si/designworld/#leaderboard) is the matched comparison: frontier models at low
reasoning effort with the same 200-screenshot history DesignWorld-35B keeps. Runs marked * keep only the 4 most
recent screenshots.
## Training
| | |
|---|---|
| Starting point | [`FineEnvs/DesignWorld-35B-SFT`](https://huggingface.co/FineEnvs/DesignWorld-35B-SFT): Qwen3.6-35B-A3B fully fine-tuned on DesignWorld-SFT, thinking off |
| RL tasks | 48 easy and medium designs, played only in the 6 browser-replica environments |
| Algorithm | GRPO (TRL) with colocated vLLM generation; 60 updates (the checkpoint released here) |
| Rollouts | 128 per update: 8 designs (one per GPU, 8 GPUs) 脳 16 rollouts each |
| Adapter | LoRA r = 32, 伪 = 32 (fp32) on attention, linear-attention and dense/shared-expert MLP projections; learning rate 1e-4 |
| Weights | LoRA merged into the SFT weights; full model in bf16, 16 safetensors shards |
The SFT stage used 1,296 source designs. Optimizer, scheduler, RNG and trainer state are not included.
## Use it
Serve with vLLM. Tool calls use the Qwen3 coder format, and thinking stays off, as in training:
```bash
vllm serve FineEnvs/DesignWorld-35B-RL \
--max-model-len 262144 \
--enable-auto-tool-choice --tool-call-parser qwen3_coder \
--limit-mm-per-prompt '{"image": 256}'
```
Send requests with `chat_template_kwargs: {"enable_thinking": false}`. Set the image limit to what your
screenshot history needs: the environment sends the target design plus the editor screenshots it keeps.
The model is trained to act inside the DesignWorld environment, with its tools, system prompt and screenshot
loop; a plain chat prompt is not the same task. Run it against the
[environment Space](https://huggingface.co/spaces/FineEnvs/designworld-env) with the rollout and eval code in
[10-design-world](https://github.com/adithya-s-k/FineEnvs/tree/main/10-design-world).
**Chat template.** The included `chat_template.jinja` differs from the base model's by one line: tools are listed
as `(tool.function if tool.function is defined else tool) | tojson` instead of `tool | tojson`, so OpenAI-style
tool definitions render the way they did in training. vLLM picks it up from the repo; use it if you bring your own
server.
## Limitations
- **Single runs.** Each score is one eval run of one training run; run-to-run variance is not measured.
- **Protocol dependence.** Scores depend on screenshot history, time budget and thinking mode; report your
settings with your scores.
- **Thinking off.** Trained and evaluated with thinking off; thinking-on behaviour is untested.
- **Small RL set.** 60 updates on 48 easy and medium designs in browser replicas; the real-app gain is measured,
not trained for.
- **Narrow scope.** Trained for recreating static designs in design editors; not evaluated as a general
computer-use or chat model.
## Credits
DesignWorld is built by Hugging Face's [FineEnvs](https://huggingface.co/FineEnvs) team in collaboration with
[Perpetual Research](https://perpetualresearch.si). The real apps run in [Daytona](https://www.daytona.io) sandboxes,
which let thousands of desktops run at once; thanks to Daytona for supporting this work. The source designs come from the layered-design corpus released with CanvasVAE (Yamaguchi, ICCV 2021):
```bibtex
@inproceedings{yamaguchi2021canvasvae,
title = {CanvasVAE: Learning to Generate Vector Graphic Documents},
author = {Yamaguchi, Kota},
booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
year = {2021}
}
```
The base model is Qwen3.6-35B-A3B by the Qwen team, under Apache-2.0; its license is included in [LICENSE](LICENSE).
This is not an official Qwen release.
|