Instructions to use Falconsai/nsfw_image_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/nsfw_image_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Falconsai/nsfw_image_detection") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Falconsai/nsfw_image_detection") model = AutoModelForImageClassification.from_pretrained("Falconsai/nsfw_image_detection", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- ff52fc4c0b6885535851ed3bc9ed7f761c6d0e4c259d1d2d979c3e1fb5732959
- Size of remote file:
- 343 MB
- SHA256:
- 2a6b06faec569ad6b3873b7040020ab170be9d78d1cd1099a9d331b568aed12d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.