Instructions to use render-attribution/RA-GRPO-HTML-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use render-attribution/RA-GRPO-HTML-4B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("render-attribution/Qwen3-VL-4B-SFT-HTML") model = PeftModel.from_pretrained(base_model, "render-attribution/RA-GRPO-HTML-4B") - Notebooks
- Google Colab
- Kaggle
Update model card and adapter config
Browse filesFiles changed (2)
- README.md+4-3
- adapter_config.json+1-1
15 unmodified lines16171819202122232428 unmodified lines5354555657585915 unmodified linesLoRA adapter for [Qwen3-VL-4B-SFT](https://huggingface.co/render-attribution/Qwen3-VL-4B-SFT-HTML) that turns an image into HTML code. It isthe HTML model of RA-GRPO (Table 4 of the paper), trained for 300 steps with render-attributedcredit: each rendered element is traced back to the code that drew it, matched to the reference element it shouldreproduce, scored, and its score is sent to the responsible tokens as the GRPO advantage.[Paper](https://arxiv.org/abs/TBD.00000) | [Code](https://github.com/render-attribution/render-attribution) | [Project page](https://render-attribution.github.io)## Result28 unmodified lines@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:TBD.00000},year = {2026}}```15 unmodified lines1617181920212223242528 unmodified lines5455565758596015 unmodified linesLoRA adapter for [Qwen3-VL-4B-SFT](https://huggingface.co/render-attribution/Qwen3-VL-4B-SFT-HTML) that turns an image into HTML code. It isthe HTML model of RA-GRPO (Table 4 of the paper), trained for 300 steps with render-attributedcredit: each rendered element is traced back to the code that drew it, matched to the reference element it shouldreproduce, and scored. The tokens that drew it get this score, standardized over the 8 samples, mixed half and halfwith the GRPO advantage.[Paper](https://arxiv.org/abs/2612.00307) | [Code](https://github.com/render-attribution/render-attribution) | [Project page](https://render-attribution.github.io)## Result28 unmodified lines@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}}```
36 unmodified lines3738394041424336 unmodified lines"down_proj"],"target_parameters": null,"task_type": null,"trainable_token_indices": null,"use_dora": false,"use_qalora": false,36 unmodified lines3738394041424336 unmodified lines"down_proj"],"target_parameters": null,"task_type": "CAUSAL_LM","trainable_token_indices": null,"use_dora": false,"use_qalora": false,
README.md+4-3
adapter_config.json+1-1