--- license: apache-2.0 base_model: Qwen/Qwen3-VL-4B-Instruct library_name: transformers pipeline_tag: image-text-to-text tags: - image-to-code - html --- # Qwen3-VL-4B-SFT-HTML Qwen3-VL-4B-Instruct fine-tuned on 44k WebSight pages to write HTML from a webpage screenshot. It is the HTML start model of the paper (Qwen3-VL-4B-SFT in Table 4), from which GRPO and RA-GRPO are trained. The RA-GRPO adapter is [render-attribution/RA-GRPO-HTML-4B](https://huggingface.co/render-attribution/RA-GRPO-HTML-4B). [Paper](https://arxiv.org/abs/2612.00307) | [Code](https://github.com/render-attribution/render-attribution) | [Project page](https://render-attribution.github.io) On Design2Code, the Block / Text / Position / Color scores (x100) are 67.0 / 73.2 / 61.9 / 64.0 (Qwen3-VL-4B-Instruct: 42.4 / 45.6 / 38.6 / 39.6). The training data list and recipe are in `data/html_sft.tsv` and `train/sft_html/` of the code repository. Prompt: `Generate the complete HTML document (with inline CSS) that reproduces this webpage screenshot. The page is 1280 pixels wide.` (with the screenshot before the text; 1280 is the page width). ## Citation ```bibtex @article{wang2026whodrew, title = {Who Drew That Pixel? Fine-Grained Visual Attribution for Image-to-Code Generation and Editing}, author = {Hexuan Wang and Zixian Ma and Ranjay Krishna and Jaemin Cho}, journal = {arXiv preprint arXiv:2612.00307}, year = {2026} } ```