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: authors
Browse files
README.md
CHANGED
|
@@ -54,9 +54,9 @@ All decoders were trained for 2,000 steps (about one GPU-hour) with the GAN disc
|
|
| 54 |
## Citation
|
| 55 |
|
| 56 |
```bibtex
|
| 57 |
-
@article{
|
| 58 |
title = {Sample-Aligned Decoders for Latent Generative Models},
|
| 59 |
-
author = {
|
| 60 |
journal = {arXiv preprint},
|
| 61 |
year = {2026}
|
| 62 |
}
|
|
|
|
| 54 |
## Citation
|
| 55 |
|
| 56 |
```bibtex
|
| 57 |
+
@article{lei2026sad,
|
| 58 |
title = {Sample-Aligned Decoders for Latent Generative Models},
|
| 59 |
+
author = {Lei, Yu and Li, Yi and Gao, Hongcheng and Wei, Yipeng and Li, Liang and Su, Li and Huang, Qingming},
|
| 60 |
journal = {arXiv preprint},
|
| 61 |
year = {2026}
|
| 62 |
}
|