Text Classification
Transformers
Safetensors
English
distilbert
Transformers
PyTorch
safety
innapropriate
DiffGuard
Eval Results (legacy)
text-embeddings-inference
Not-For-All-Audiences
Instructions to use eliasalbouzidi/distilbert-nsfw-text-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eliasalbouzidi/distilbert-nsfw-text-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="eliasalbouzidi/distilbert-nsfw-text-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("eliasalbouzidi/distilbert-nsfw-text-classifier") model = AutoModelForSequenceClassification.from_pretrained("eliasalbouzidi/distilbert-nsfw-text-classifier", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download training_args.bin from eliasalbouzidi/distilbert-nsfw-text-classifier: direct link, hf CLI and curl.
- Browser
- Download file 4.98 kB
-
https://huggingface.co/eliasalbouzidi/distilbert-nsfw-text-classifier/resolve/5239d30a64ac026607b910571dd0a28c562e1834/training_args.bin
- Command line
-
hf download hf://eliasalbouzidi/distilbert-nsfw-text-classifier@5239d30a64ac026607b910571dd0a28c562e1834/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/eliasalbouzidi/distilbert-nsfw-text-classifier/resolve/5239d30a64ac026607b910571dd0a28c562e1834/training_args.bin
4.98 kB
- Xet hash:
- 4550ffae05c8ede488059f93598f61c2c64b44455c2fcfacfeeef91a49e916aa
- Size of remote file:
- 4.98 kB
- SHA256:
- ed45a0336ce75b0f4c20d8c93f5ca3efbc6a484dc93404aa87c0d3cb443a38d3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.