Saltar al contenido
ModelPublicadoExterno
Descargar

ARPG

Haopeng Li 1 , Jinyue Yang 2 , Guoqi Li 2,📧 , Huan Wang 1,📧

TipoOtherVersiónRevision 16d0288

Fuente del modelo

Tipo
Other
Tamaño del archivo
1,19–4,85 GB
Versión
vRevision 16d0288
Actualizado
26 sept 2026
Descargas
176
Fuente
Hugging Face

Extracto de la fuente

Haopeng Li 1 , Jinyue Yang 2 , Guoqi Li 2,📧 , Huan Wang 1,📧

Fuentes

1 fuente
Hugging FacePrincipalVersión 16d0288afb4154053741243c053950554ace4663
huggingface.co/hp-l33/ARPG/tree/16d0288afb4154053741243c053950554ace4663

Verificado 26 sept

Artefactos del modelo

3 artefactos

arpg_1b.pt

pt · 4,85 GB · SHA-256 cce6e4e02539…acbb · Hugging Face

Descargar

arpg_300m.pt

pt · 1,19 GB · SHA-256 c0f32ba04bea…d83c · Hugging Face

Descargar

arpg_700m.pt

pt · 2,68 GB · SHA-256 6fcd2dc6822c…7b2d · Hugging Face

Descargar

Extractos de fuentes

2 extractos

--- license: mit pipeline_tag: unconditional-image-generation library_name: diffusers --- # Autoregressive Image Generation with Randomized Parallel Decoding [Haopeng Li](https://github.com/hp-l33)<sup>1</sup>, Jinyue Yang<sup>2</sup>, [Guoqi Li](https://casialiguoqi.github.io)<sup>2,📧</sup>, [Huan Wang](https://huanwang.tech)<sup>1,📧</sup> <sup>1</sup> Westlake University, <sup>2</sup> Institute of Automation, Chinese Academy of Sciences ## TL;DR **ARPG** is a novel autoregressive image generation framework capable of performing **BERT-style masked modeling** with a **GPT-style causal architecture**. ``💪 FID 1.94`` ``🚀 Fast Speed`` ``♻️ Low Memory Usage`` ``🎲 Radnom Order`` ``💡 Zero-shot Inference`` ## Usage: You can easily load it through the Hugging Face DiffusionPipeline and optionally customize various parameters such as the model type, number of steps, and class labels. ```python from diffusers import DiffusionPipeline pipeline = DiffusionPipeline.from_pretrained("hp-l33/ARPG", custom_pipeline="hp-l33/ARPG") class_labels = [207, 360, 388, 113, 355, 980, 323, 979] generated_image = pipeline( model_type="ARPG-XL", # choose from 'ARPG-L', 'ARPG-XL', or 'ARPG-XXL' seed=0, # set a seed for reproducibility num_steps=64, # number of autoregressive steps class_labels=class_labels, # provide valid ImageNet class labels cfg_scale=4, # classifier-free guidance scale output_dir="./images", # directory to save generated images cfg_schedule="constant", # choose between 'constant' (suggested) and 'linear' sample_schedule="arccos", # choose between 'arccos' (suggested) and 'cosine' ) generated_image.show() ``` ## Citation If this work is helpful for your research, please give it a star or cite it: ```bibtex @article{li2025autoregressive, title={Autoregressive Image Generation with Randomized Parallel Decoding}, author={Haopeng Li and Jinyue Yang and Guoqi Li and Huan Wang}, journal={arXiv preprint arXiv:2503.10568}, year={2025} } ``` ## Acknowledgement Thanks to [LlamaGen](https://github.com/FoundationVision/LlamaGen) for its open-source codebase. Appreciate [RandAR](https://github.com/ziqipang/RandAR) and [RAR](https://github.com/bytedance/1d-tokenizer/blob/main/README_RAR.md) for inspiring this work, and also thank [ControlAR](https://github.com/hustvl/ControlAR).

Source context: 176 downloads · 4 likes · Pipeline unconditional-image-generation · Library diffusers · Repo hp-l33/ARPG