fede97 commited on
Commit
355e2f1
·
verified ·
1 Parent(s): bffb94e

fix import

Browse files
Files changed (1) hide show
  1. README.md +8 -7
README.md CHANGED
@@ -31,12 +31,12 @@ ViSU contains quadruplets of elements: safe and NSFW sentence pairs along with c
31
 
32
  **Variations** Safe-CLIP comes in four versions to improve the compatibility across some of the most popular vision-and-language models employed for I2T and T2I generation tasks. More details are reported in the next table.
33
 
34
- | | StableDiffusion compatibility | LLaVA compatibility |
35
- |--------------------------|:-----------------------------:|:-------------------:|
36
- | safe-CLIP ViT-L-14 | 1.4 | ? |
37
- | safe-CLIP ViT-L-14-336px | - | 1.5 1.6 |
38
- | safe-CLIP ViT-H-14 | - | - |
39
- | safe-CLIP SD 2.0 | 2.0 | - |
40
 
41
  **Model Release Date** 9 July 2024.
42
 
@@ -93,7 +93,8 @@ See the snippet below for usage with Transformers:
93
 
94
  #### Zero-shot classification example
95
  ```python
96
- >>> from transformers import CLIPModel
 
97
 
98
  >>> model_id = "aimagelab/safeclip_vit-l_14"
99
 
 
31
 
32
  **Variations** Safe-CLIP comes in four versions to improve the compatibility across some of the most popular vision-and-language models employed for I2T and T2I generation tasks. More details are reported in the next table.
33
 
34
+ | | StableDiffusion compatibility | LLaVA compatibility |
35
+ |--------------------------|:-----------------------------:|:----------------------------------------------------:|
36
+ | safe-CLIP ViT-L-14 | 1.4 | llama-2-13b-chat-lightning-preview |
37
+ | safe-CLIP ViT-L-14-336px | - | 1.5 1.6 |
38
+ | safe-CLIP ViT-H-14 | - | - |
39
+ | safe-CLIP SD 2.0 | 2.0 | - |
40
 
41
  **Model Release Date** 9 July 2024.
42
 
 
93
 
94
  #### Zero-shot classification example
95
  ```python
96
+ >>> from transformers import CLIPModel, CLIPProcessor
97
+ >>> from PIL import Image
98
 
99
  >>> model_id = "aimagelab/safeclip_vit-l_14"
100