Instructions to use Adeely93/SAGE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Adeely93/SAGE with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Adeely93/SAGE", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Link model card to paper and fix code block formatting
#1
by nielsr HF Staff - opened
This PR improves the model card by adding an explicit link to the paper The Illusion of High Utility in Safety Alignment of Text-to-Image Diffusion Models. Linking the paper will automatically associate this repository with its corresponding Hugging Face paper page. It also ensures that the Python code block in the usage section is properly closed.
Adeely93 changed pull request status to merged