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
- Xet hash:
- 1aae1720e5f3ebedfcde8eacfe675834abc9af490ff72a3f7d81450279ad6ad7
- Size of remote file:
- 11.4 kB
- SHA256:
- 40ecc2c8e6625369aaa2ecd1e8f86ce845882c0a63b3f4c13761fab455f1773b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.