Image Classification
Transformers
Safetensors
PyTorch
vit
Not-For-All-Audiences
Eval Results (legacy)
Instructions to use giacomoarienti/nsfw-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use giacomoarienti/nsfw-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="giacomoarienti/nsfw-classifier") 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("giacomoarienti/nsfw-classifier") model = AutoModelForImageClassification.from_pretrained("giacomoarienti/nsfw-classifier", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
tags:
|
| 3 |
- image-classification
|
| 4 |
- pytorch
|
| 5 |
-
-
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
model-index:
|
|
@@ -18,6 +18,9 @@ model-index:
|
|
| 18 |
datasets:
|
| 19 |
- deepghs/nsfw_detect
|
| 20 |
license: cc-by-nc-nd-4.0
|
|
|
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
|
| 23 |
# 🚫 NSFW Classifier - Keep Your Platform Safe and Secure!
|
|
@@ -74,4 +77,4 @@ Want a model that's **even more powerful and accurate**? We've got a **premium v
|
|
| 74 |
|
| 75 |
---
|
| 76 |
|
| 77 |
-
Let's build something amazing together. 💡
|
|
|
|
| 2 |
tags:
|
| 3 |
- image-classification
|
| 4 |
- pytorch
|
| 5 |
+
- not-for-all-audiences
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
model-index:
|
|
|
|
| 18 |
datasets:
|
| 19 |
- deepghs/nsfw_detect
|
| 20 |
license: cc-by-nc-nd-4.0
|
| 21 |
+
base_model:
|
| 22 |
+
- google/vit-base-patch16-224-in21k
|
| 23 |
+
pipeline_tag: image-classification
|
| 24 |
---
|
| 25 |
|
| 26 |
# 🚫 NSFW Classifier - Keep Your Platform Safe and Secure!
|
|
|
|
| 77 |
|
| 78 |
---
|
| 79 |
|
| 80 |
+
Let's build something amazing together. 💡
|