Views
No views yet
| Resource | Link |
|---|---|
| 📄 Paper | arXiv:2605.19839 |
| 🌐 Project page | cwyxx.github.io/RealAlign |
| 🚀 Code | github.com/Cwyxx/RealAlign |
| 🤗 Dataset | RealAlign-Dataset |
| File | Training source |
|---|---|
HPDv3.safetensors | HPDv3 (real-photo references) |
Civitai-top.safetensors | Civitai top SFW images |
Pick-a-pic-v2.safetensors | Pick-a-Pic v2 (top subset) |
unet.*.lora_A/lora_B.weight), fp32.to_q, to_k, to_v, to_out).Note: The Pick-a-Pic v2 LoRA is included here, but the corresponding image dataset is not released on the Hub because the source data may contain NSFW content (see the dataset card).
1import torch
2from diffusers import StableDiffusionPipeline
3
4pipe = StableDiffusionPipeline.from_pretrained(
5 "stable-diffusion-v1-5/stable-diffusion-v1-5",
6 torch_dtype=torch.float16,
7).to("cuda")
8
9# Pick the LoRA trained on the source you want
10pipe.load_lora_weights(
11 "Xixixixihahahaha/RealAlign-SD-1.5",
12 weight_name="HPDv3.safetensors",
13)
14
15image = pipe("a photo of an astronaut riding a horse on the moon").images[0]
16image.save("out.png")1@article{chen2026preference,
2 title={When Preference Labels Fall Short: Aligning Diffusion Models from Real Data},
3 author={Chen, Weiyan and Deng, Weijian and Xiao, Yao and Tu, Weijie and Dong, ZiYi and Radwan, Ibrahim and Lin, Liang and Wei, Pengxu},
4 journal={arXiv preprint arXiv:2605.19839},
5 year={2026}
6}