Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-4 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-4 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-4")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-4") model = AutoModelForSequenceClassification.from_pretrained("SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -55,6 +55,11 @@ The following hyperparameters were used during training:
|
|
| 55 |
| 0.9306 | 4.0 | 20 | 1.1324 | 0.2 |
|
| 56 |
| 0.8242 | 5.0 | 25 | 1.1219 | 0.2 |
|
| 57 |
| 0.7986 | 6.0 | 30 | 1.1369 | 0.4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|
|
|
|
| 55 |
| 0.9306 | 4.0 | 20 | 1.1324 | 0.2 |
|
| 56 |
| 0.8242 | 5.0 | 25 | 1.1219 | 0.2 |
|
| 57 |
| 0.7986 | 6.0 | 30 | 1.1369 | 0.4 |
|
| 58 |
+
| 0.7369 | 7.0 | 35 | 1.1732 | 0.2 |
|
| 59 |
+
| 0.534 | 8.0 | 40 | 1.1828 | 0.6 |
|
| 60 |
+
| 0.4285 | 9.0 | 45 | 1.1482 | 0.6 |
|
| 61 |
+
| 0.3691 | 10.0 | 50 | 1.1401 | 0.6 |
|
| 62 |
+
| 0.3215 | 11.0 | 55 | 1.1286 | 0.6 |
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|