Instructions to use iTroned/olid_training_only_clean_3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iTroned/olid_training_only_clean_3 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iTroned/olid_training_only_clean_3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
olid_training_only_clean_3
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4765
- Accuracy Offensive: 0.8165
- F1 Offensive: 0.8166
- Accuracy Targeted: 0.7953
- F1 Targeted: 0.7852
- Accuracy Stance: 0.7749
- F1 Stance: 0.7564
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 1e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 30
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy Offensive | F1 Offensive | Accuracy Targeted | F1 Targeted | Accuracy Stance | F1 Stance |
|---|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 373 | 0.4972 | 0.8165 | 0.8191 | 0.7946 | 0.7854 | 0.7742 | 0.7324 |
| 0.57 | 2.0 | 746 | 0.4765 | 0.8165 | 0.8166 | 0.7953 | 0.7852 | 0.7749 | 0.7564 |
| 0.4554 | 3.0 | 1119 | 0.4957 | 0.8157 | 0.8176 | 0.7923 | 0.7835 | 0.7613 | 0.7519 |
| 0.4554 | 4.0 | 1492 | 0.5167 | 0.8059 | 0.8080 | 0.7840 | 0.7798 | 0.75 | 0.7419 |
Framework versions
- Transformers 4.45.2
- Pytorch 2.5.0+cu124
- Datasets 3.0.1
- Tokenizers 0.20.1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for iTroned/olid_training_only_clean_3
Base model
distilbert/distilbert-base-uncased