odegiber/hate_speech18
Updated • 2.3k • 17
How to use joseph10/distilbert-hate_speech18 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="joseph10/distilbert-hate_speech18") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("joseph10/distilbert-hate_speech18")
model = AutoModelForSequenceClassification.from_pretrained("joseph10/distilbert-hate_speech18")This model is a fine-tuned version of agvidit1/DistilledBert_HateSpeech_pretrain on the hate_speech18 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.4404 | 1.0 | 240 | 0.4670 | 0.8533 |
| 0.4356 | 2.0 | 480 | 0.4642 | 0.8675 |
| 0.4303 | 3.0 | 720 | 0.4649 | 0.8748 |
| 0.4282 | 4.0 | 960 | 0.4694 | 0.8592 |
| 0.4273 | 5.0 | 1200 | 0.4638 | 0.8729 |
| 0.4256 | 6.0 | 1440 | 0.4651 | 0.8679 |
| 0.425 | 7.0 | 1680 | 0.4682 | 0.8560 |
| 0.4227 | 8.0 | 1920 | 0.4684 | 0.8588 |
Base model
distilbert/distilbert-base-uncased