Instructions to use CompVis/stable-diffusion-safety-checker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CompVis/stable-diffusion-safety-checker with Transformers:
# Load model directly from transformers import AutoProcessor, SafetyChecker processor = AutoProcessor.from_pretrained("CompVis/stable-diffusion-safety-checker") model = SafetyChecker.from_pretrained("CompVis/stable-diffusion-safety-checker", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from CompVis/stable-diffusion-safety-checker: direct link, hf CLI and curl.
- Browser
- Download file 1.22 GB
-
https://huggingface.co/CompVis/stable-diffusion-safety-checker/resolve/refs%2Fpr%2F39/pytorch_model.bin
- Command line
-
hf download hf://CompVis/stable-diffusion-safety-checker@refs/pr/39/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/CompVis/stable-diffusion-safety-checker/resolve/refs%2Fpr%2F39/pytorch_model.bin
1.22 GB
- Xet hash:
- 66b7df31064f6cad0e3fa01ccc7c120ac754f88891099b77f94199f96fd3fcec
- Size of remote file:
- 1.22 GB
- SHA256:
- 64b8393f1afd5a0c1ed2aa5f341fa7c08286839a48f3743162a76a2835c808bd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.