Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5_moe
computer-use
gui-agent
graphic-design
openenv
reinforcement-learning
grpo
trl
conversational
Run this model with HF Jobs
Run FineEnvs/DesignWorld-35B-RL on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/FineEnvs/DesignWorld-35B-RL. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/FineEnvs/DesignWorld-35B-RL on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/FineEnvs/DesignWorld-35B-RL. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/FineEnvs/DesignWorld-35B-RL. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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
Add model card
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115---license: apache-2.0base_model: FineEnvs/DesignWorld-35B-SFTbase_model_relation: finetunelibrary_name: transformerspipeline_tag: image-text-to-textlanguage: - entags: - computer-use - gui-agent - graphic-design - openenv - reinforcement-learning - grpo - trldatasets: - perpetual-research/designworld-sft---
# DesignWorld-35B-RL
**DesignWorld-35B: Qwen3.6-35B-A3B (35B total, 3B active, 262k context) that recreates graphic designs in GUIdesign 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 ismerged 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-outdesigns × 14 apps = 420 tasks; 200-screenshot history, up to 30 minutes per attempt, thinking off. One eval run permodel.
- **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](https://perpetualresearch.si/designworld/)- **Environment (OpenEnv Space):** [FineEnvs/designworld-env](https://huggingface.co/spaces/FineEnvs/designworld-env)- **Benchmark:** [perpetual-research/designworld-bench](https://huggingface.co/datasets/perpetual-research/designworld-bench)- **SFT data:** [perpetual-research/designworld-sft](https://huggingface.co/datasets/perpetual-research/designworld-sft)- **Env, training and eval code:** [FineEnvs on GitHub](https://github.com/adithya-s-k/FineEnvs/tree/main/10-design-world)
## 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 | 16 episodes × 4 samples per update || 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:
```bashvllm serve FineEnvs/DesignWorld-35B-RL \ --max-model-len 262144 \ --enable-auto-tool-choice --tool-call-parser qwen3_coder \ --limit-mm-per-prompt '{"image": <screenshots your history keeps + 1>}'```
Send requests with `chat_template_kwargs: {"enable_thinking": false}`. Set the image limit to what yourscreenshot 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 screenshotloop; 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 listedas `(tool.function if tool.function is defined else tool) | tojson` instead of `tool | tojson`, so OpenAI-styletool definitions render the way they did in training. vLLM picks it up from the repo; use it if you bring your ownserver.
## 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](https://www.daytona.io/) sandboxes. Thanks to Daytona forsupporting this work. The source designs come from the Crello dataset introduced 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.README.mdAdded+115