SAVRN
Search Contact SAVRN

Open-weight model

stable-diffusion-safety-checker

by CompVis CompVis/stable-diffusion-safety-checker

This model can be used for identifying NSFW image The CLIP model devlopers note in their model card: We primarily imagine the model will be used by researchers to better understand robustness, generalization, and other capabilities, biases, and constraints of…

Parameters
Context77
Weights1.2 GB
License
AccessOpen weights
Monthly Downloads927.7k

Model Card

This model can be used for identifying NSFW image The CLIP model devlopers note in their model card: We primarily imagine the model will be used by researchers to better understand robustness, generalization, and other capabilities, biases, and constraints of computer vision models. The model is not intended to be used with transformers but with diffusers. This model should also not be used to intentionally create hostile or alienating environments for people. Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by the model may include disturbing and harmful stereotypes across…

Excerpt from the card by CompVis.

Configuration

Architecture
SafetyChecker
Context length (tokens)
77
Layers
12
Hidden size
768
Feed-forward size
3,072
Attention heads
12
Vocabulary size
49,408
Stored precision
float32
Model type
clip

Identity and Version

Repository
CompVis/stable-diffusion-safety-checker
Publisher
CompVis
Task
Not stated by the source
Modality
Other
Library
transformers
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
cb41f3a270d63d454d385fc2e4f571c487c253c5
First published
2022-08-22
Last updated
2022-11-25

Files and Weights

5 files, 1.2 GB in total. The weights are 1 file totalling 1.2 GB in bin.

Weights1 file · 1.2 GB
Configuration2 files · 4.9 KB
Documentation1 file · 5.4 KB
Repository1 file · 1.3 KB
Every file
FileTypeSizeSHA-256
pytorch_model.binWeights1.2 GB 64b8393f1afd
config.jsonConfiguration4.5 KB
preprocessor_config.jsonConfiguration342 B
README.mdDocumentation5.4 KB
.gitattributesRepository1.3 KB

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
1.2 GB
Download from CompVis

Released by CompVis through its official repository on Hugging Face.

Built From

Memory Requirements

PrecisionWeights in memory
As published1.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About stable-diffusion-safety-checker

What is stable-diffusion-safety-checker's context length?

77 tokens, from the maximum position embeddings in its published configuration.