🖼�� Image Classification

vit-base-nsfw-detector

AdamCodd/vit-base-nsfw-detector

Get AI Model →
1.4M
Downloads
�����
76
Likes
�����
13
Tags
📦
transformers.js
Library
Model Details
Full Model IDAdamCodd/vit-base-nsfw-detector
Pipeline / Taskimage-classification
Librarytransformers.js
Downloads (all-time)1.4M
Likes76
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 →
mobilenetv3_small_100.lamb_in1k

timm/mobilenetv3_small_100.lamb_in1k

10.8M����� 75
Get AI Model →
nsfw_image_detection

Falconsai/nsfw_image_detection

8.5M����� 1.1K
Get AI Model →
vit-base-patch16-224

google/vit-base-patch16-224

4.9M����� 965
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.4M
����� Community Likes76
🛠�� 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?