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:
- fa0d4bef7668195e7c7946b03da9f0bc453a34d08e492404cf871bf8f98927e2
- Size of remote file:
- 343 MB
- SHA256:
- 22bc12c4a84272eeeab34ad38b136bf83fc9e26f8c4705646ddedf58abeb2b38
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.