Text Classification
Transformers
PyTorch
English
bert
fill-mask
text-embeddings-inference
Not-For-All-Audiences
Instructions to use qiuhuachuan/NSFW-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qiuhuachuan/NSFW-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="qiuhuachuan/NSFW-detector")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("qiuhuachuan/NSFW-detector") model = AutoModelForMaskedLM.from_pretrained("qiuhuachuan/NSFW-detector", device_map="auto") - 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