Text-to-Image
Transformers
Safetensors
clip_text_model
feature-extraction
safety-alignment
stable-diffusion
ECCV
Instructions to use Adeely93/SAGE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Adeely93/SAGE with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Adeely93/SAGE") model = AutoModel.from_pretrained("Adeely93/SAGE", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Link model card to paper and fix code block formatting
Browse filesThis 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](https://huggingface.co/papers/2607.00402). 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.
README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
library_name: diffusers
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
- text-to-image
|
| 6 |
- safety-alignment
|
| 7 |
- stable-diffusion
|
| 8 |
- ECCV
|
| 9 |
-
pipeline_tag: text-to-image
|
| 10 |
---
|
| 11 |
|
| 12 |
# SAGE: Structure-Aware Geometric Regularization (ECCV-26)
|
| 13 |
|
| 14 |
-
**Paper:** The Illusion of High Utility in Safety Alignment of Text-to-Image Diffusion Models
|
| 15 |
**Authors:** Adeel Yousaf, Soumik Ghosh, James Beetham, Amrit Singh Bedi, Mubarak Shah
|
| 16 |
**Institution:** University of Central Florida
|
| 17 |
**Project Page:** [https://adeelyousaf.github.io/SAGE_ECCV26_Project_Page/](https://adeelyousaf.github.io/SAGE_ECCV26_Project_Page/)
|
|
@@ -42,3 +42,4 @@ pipe.text_encoder.load_state_dict(torch.load(ckpt_path, map_location="cpu"))
|
|
| 42 |
|
| 43 |
pipe = pipe.to("cuda")
|
| 44 |
image = pipe("a photo of a dog in a park").images[0]
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: diffusers
|
| 3 |
+
license: mit
|
| 4 |
+
pipeline_tag: text-to-image
|
| 5 |
tags:
|
| 6 |
- text-to-image
|
| 7 |
- safety-alignment
|
| 8 |
- stable-diffusion
|
| 9 |
- ECCV
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# SAGE: Structure-Aware Geometric Regularization (ECCV-26)
|
| 13 |
|
| 14 |
+
**Paper:** [The Illusion of High Utility in Safety Alignment of Text-to-Image Diffusion Models](https://huggingface.co/papers/2607.00402)
|
| 15 |
**Authors:** Adeel Yousaf, Soumik Ghosh, James Beetham, Amrit Singh Bedi, Mubarak Shah
|
| 16 |
**Institution:** University of Central Florida
|
| 17 |
**Project Page:** [https://adeelyousaf.github.io/SAGE_ECCV26_Project_Page/](https://adeelyousaf.github.io/SAGE_ECCV26_Project_Page/)
|
|
|
|
| 42 |
|
| 43 |
pipe = pipe.to("cuda")
|
| 44 |
image = pipe("a photo of a dog in a park").images[0]
|
| 45 |
+
```
|