Image Classification
Transformers
PyTorch
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Not-For-All-Audiences
Instructions to use LukeJacob2023/nsfw-image-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LukeJacob2023/nsfw-image-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="LukeJacob2023/nsfw-image-detector") 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("LukeJacob2023/nsfw-image-detector") model = AutoModelForImageClassification.from_pretrained("LukeJacob2023/nsfw-image-detector", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- e34c0e8589198184940e81b406750b4cf18c1ec7fd45ec09720a7d8bfaa5d370
- Size of remote file:
- 4.22 kB
- SHA256:
- 18bdd9c9800b4702dc8585d76891ed63045ecbaf2122532862abe706d009fbdb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.