Downloads · 30 days
18
16% of all-time downloads
luzimu/WebGenAgent-LM-8B-SFT
WebGenAgent-LM-8B-SFT is a image-text-to-text model from luzimu. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
WebGen-Agent is an advanced website generation agent designed to autonomously create websites from natural language instructions. It was introduced in the paper WebGen-Agent: Enhancing Interactive Website Generation w…
Downloads · 30 days
18
16% of all-time downloads
All-time downloads
116
Public
Parameters
8.2B
16.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
WebGen-Agent is an advanced website generation agent designed to autonomously create websites from natural language instructions. It was introduced in the paper WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement Learning.
Code: https://github.com/mnluzimu/WebGen-Agent
WebGen-Agent combines state-of-the-art language models with specialized training techniques to create a powerful website generation tool. The agent can understand natural language instructions specifying appearance and functional requirements, iteratively generate website codebases, and refine them using visual and functional feedback.
Links to the data and model parameters are as follows:
| Data | HF Link |
|---|---|
| webgen-agent_train_sft | 🤗 luzimu/webgen-agent_train_sft |
| webgen-agent_train_step-grpo | 🤗 luzimu/webgen-agent_train_step-grpo |
| Model | HF Link |
|---|---|
| WebGenAgent-LM-7B-SFT | 🤗 luzimu/WebGenAgent-LM-7B-SFT |
| WebGenAgent-LM-7B-Step-GRPO | 🤗 luzimu/WebGenAgent-LM-7B-Step-GRPO |
| WebGenAgent-LM-8B-SFT | 🤗 luzimu/WebGenAgent-LM-8B-SFT |
| WebGenAgent-LM-8B-Step-GRPO | 🤗 luzimu/WebGenAgent-LM-8B-Step-GRPO |
WebGen-Agent follows an iterative, multi-step paradigm for website generation:

The Step-GRPO with Screenshot and GUI-agent Feedback approach uses the screenshot and GUI-agent scores inherently produced in the WebGen-Agent workflow as step-level rewards:
These dual rewards provide dense, reliable process supervision that significantly improves the model's ability to generate high-quality websites.

For detailed installation and inference instructions, refer to the WebGen-Agent GitHub repository.
# Example for single inference (from GitHub README)
python src/infer_single.py \
--model deepseek-chat \
--vlm_model Qwen/Qwen2.5-VL-32B-Instruct \
--instruction "Please implement a wheel of fortune website." \
--workspace-dir workspaces_root/test \
--log-dir service_logs/test \
--max-iter 20 \
--overwrite \
--error-limit 5
If you find our project useful, please cite:
@misc{lu2025webgenagentenhancinginteractivewebsite,
title={WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement Learning},
author={Zimu Lu and Houxing Ren and Yunqiao Yang and Ke Wang and Zhuofan Zong and Junting Pan and Mingjie Zhan and Hongsheng Li},
year={2025},
eprint={2509.22644},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2509.22644},
}
@misc{lu2025webgenbenchevaluatingllmsgenerating,
title={WebGen-Bench: Evaluating LLMs on Generating Interactive and Functional Websites from Scratch},
author={Zimu Lu and Yunqiao Yang and Houxing Ren and Haotian Hou and Han Xiao and Ke Wang and Weikang Shi and Aojun Zhou and Mingjie Zhan and Hongsheng Li},
year={2025},
eprint={2505.03733},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2505.03733},
}