🖼️ Image Classification

vit-base-nsfw-detector

AdamCodd/vit-base-nsfw-detector

Get AI Model →
1.1M
Downloads
❤️
75
Likes
🏷️
13
Tags
📦
transformers.js
Library
Model Details
Full Model IDAdamCodd/vit-base-nsfw-detector
Pipeline / Taskimage-classification
Librarytransformers.js
Downloads (all-time)1.1M
Likes75
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:us
More Image Classification Models
See all →
nsfw_image_detection

Falconsai/nsfw_image_detection

35.8M❤️ 1.1K
Get AI Model →
mobilenetv3_small_100.lamb_in1k

timm/mobilenetv3_small_100.lamb_in1k

16.2M❤️ 60
Get AI Model →
fairface_age_image_detection

dima806/fairface_age_image_detection

7.1M❤️ 71
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
Downloads1.1M
❤️ Community Likes75
🛠️ 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?