Image Classification
Transformers
PyTorch
TensorBoard
Safetensors
vit
huggingpics
Eval Results (legacy)
Instructions to use sanali209/nsfwfilter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sanali209/nsfwfilter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="sanali209/nsfwfilter") 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("sanali209/nsfwfilter") model = AutoModelForImageClassification.from_pretrained("sanali209/nsfwfilter") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#3 opened over 2 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#2 opened over 2 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#1 opened over 2 years ago
by
SFconvertbot