Text Classification
Transformers
PyTorch
Safetensors
English
distilbert
NSFW
inappropriate
text-embeddings-inference
Instructions to use ezb/NSFW-Prompt-Detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ezb/NSFW-Prompt-Detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ezb/NSFW-Prompt-Detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ezb/NSFW-Prompt-Detector") model = AutoModelForSequenceClassification.from_pretrained("ezb/NSFW-Prompt-Detector") - Inference
- Notebooks
- Google Colab
- Kaggle
Not-For-All-Audiences
This repository has been marked as containing sensitive content and may contain potentially harmful and sensitive information.
View content