Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-5")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-5") model = AutoModelForSequenceClassification.from_pretrained("SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-5") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a6cf6ce | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:72b35fb75eab1264a8150dd76f31584f3035e1c82b687a5f20683e984ef49094
size 267863153
|