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
DesignWorld-35B-RL
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 (a full fine-tune, thinking off, on the 16,140 trajectories of 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 | this model |
|---|---|---|---|
| mean score | 4.1 | 35.6 | 41.7 |
Protocol: 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.
- Frontier protocol. Under the protocol used for frontier models (the 4 most recent screenshots, up to 60 minutes per attempt), this model scores 12.9 (95% CI 11.9–13.9).
- 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.
Links:
- Blog post: DesignWorld
- Environment (OpenEnv Space): FineEnvs/designworld-env
- Benchmark: perpetual-research/designworld-bench
- SFT data: perpetual-research/designworld-sft
- Env, training and eval code: FineEnvs on GitHub
Training
| Starting point | 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 about 2k 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:
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 with the rollout and eval code in 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 strongly on screenshot history, time budget and thinking mode: the same model scores 41.7 with a 200-screenshot history and 12.9 under the 4-screenshot frontier protocol. 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
The real apps used in evaluation ran in Daytona sandboxes. Thanks to Daytona for supporting this work. The source designs come from the layered-design corpus released with CanvasVAE (Yamaguchi, ICCV 2021):
@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. This is not an official Qwen release.
- Downloads last month
- -