Run this model with HF Jobs
Run torpedo2003/SAD on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/torpedo2003/SAD. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/torpedo2003/SAD on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use torpedo2003/SAD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use torpedo2003/SAD with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("torpedo2003/SAD", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Model card: arXiv 2611.22458
Browse files13 unmodified lines1415161718192051 unmodified lines7273747576777813 unmodified lines<sup>1</sup>Institute of Computing Technology, Chinese Academy of Sciences<br><sup>2</sup>University of Chinese Academy of Sciences <sup>3</sup>Tsinghua University[Project page](https://torpedo2003.github.io/SAD/) 路 [Code](https://github.com/torpedo2003/SAD)These are drop-in decoders for latent generative models. Each file holds only the decoder (`decoder.*`, `post_quant_conv.*`) ofthe original autoencoder. It was fine-tuned with SAD on latents from one generator. The encoder, the latent space and the51 unmodified lines@article{lei2026sad,title = {Sample-Aligned Decoders for Latent Generative Models},author = {Lei, Yu and Li, Yi and Gao, Hongcheng and Wei, Yipeng and Li, Liang and Su, Li and Huang, Qingming},journal = {arXiv preprint},year = {2026}}```13 unmodified lines1415161718192051 unmodified lines7273747576777813 unmodified lines<sup>1</sup>Institute of Computing Technology, Chinese Academy of Sciences<br><sup>2</sup>University of Chinese Academy of Sciences <sup>3</sup>Tsinghua University[Paper](https://arxiv.org/abs/2611.22458) 路 [Project page](https://torpedo2003.github.io/SAD/) 路 [Code](https://github.com/torpedo2003/SAD)These are drop-in decoders for latent generative models. Each file holds only the decoder (`decoder.*`, `post_quant_conv.*`) ofthe original autoencoder. It was fine-tuned with SAD on latents from one generator. The encoder, the latent space and the51 unmodified lines@article{lei2026sad,title = {Sample-Aligned Decoders for Latent Generative Models},author = {Lei, Yu and Li, Yi and Gao, Hongcheng and Wei, Yipeng and Li, Liang and Su, Li and Huang, Qingming},journal = {arXiv preprint arXiv:2611.22458},year = {2026}}```
README.md+2-2