🖼️ Image Classification

vit-base-nsfw-detector

AdamCodd/vit-base-nsfw-detector

Get AI Model →
⬇
700.4K
Downloads
❤️
91
Likes
🏷️
14
Tags
📦
transformers.js
Library
Model Details
Full Model IDAdamCodd/vit-base-nsfw-detector
Pipeline / Taskimage-classification
Librarytransformers.js
Downloads (all-time)700.4K
Likes91
Last Modified12/3/2024
Author / OrgAdamCodd
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("image-classification", model="AdamCodd/vit-base-nsfw-detector")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformers.jsonnxsafetensorsvitimage-classificationtransformersnlpbase_model:google/vit-base-patch16-384base_model:quantized:google/vit-base-patch16-384license:apache-2.0model-indexdeploy:azureregion:usnot-for-all-audiences
More Image Classification Models
See all →
mobilenetv3_small_100.lamb_in1k

timm/mobilenetv3_small_100.lamb_in1k

⬇ 17.0M❤️ 155
Get AI Model →
vit-base-patch16-224

google/vit-base-patch16-224

⬇ 14.0M❤️ 1.0K
Get AI Model →
Gender-Classifier-Mini

prithivMLmods/Gender-Classifier-Mini

⬇ 6.1M❤️ 14
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🖼️ Task: Image Classification

This model is designed for the Image Classification task. Explore more models for this use case.

All Image Classification Models →
📊 Popularity
⬇ Downloads700.4K
❤️ Community Likes91
🛠️ Requirements
  • →Install: pip install transformers.js
  • →Python 3.8+ recommended for Transformers.
  • →GPU (CUDA) speeds up inference significantly.
  • →Use model.half() for fp16 on limited VRAM.
👋 Need help with code?