Instructions to use iTroned/olid_training_clean_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iTroned/olid_training_clean_test with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iTroned/olid_training_clean_test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
olid_training_clean_test
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.5060
- Accuracy Offensive: 0.8066
- F1 Offensive: 0.8080
- Accuracy Targeted: 0.7825
- F1 Targeted: 0.7747
- Accuracy Stance: 0.7689
- F1 Stance: 0.7529
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.5100 | 0.7923 | 0.7938 | 0.7689 | 0.7586 | 0.7583 | 0.7225 |
| 0.5761 | 2.0 | 746 | 0.5060 | 0.8066 | 0.8080 | 0.7825 | 0.7747 | 0.7689 | 0.7529 |
| 0.4619 | 3.0 | 1119 | 0.5189 | 0.8044 | 0.8057 | 0.7772 | 0.7683 | 0.7674 | 0.7531 |
| 0.4619 | 4.0 | 1492 | 0.5358 | 0.8006 | 0.7988 | 0.7825 | 0.7710 | 0.7734 | 0.7531 |
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_clean_test
Base model
distilbert/distilbert-base-uncased