Instructions to use iTroned/olid_training_only_regex_3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iTroned/olid_training_only_regex_3 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iTroned/olid_training_only_regex_3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
olid_training_only_regex_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.5275
- Accuracy Offensive: 0.7817
- F1 Offensive: 0.7826
- Accuracy Targeted: 0.7553
- F1 Targeted: 0.7472
- Accuracy Stance: 0.75
- F1 Stance: 0.7239
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.5440 | 0.7817 | 0.7655 | 0.7553 | 0.7230 | 0.7364 | 0.6782 |
| 0.5694 | 2.0 | 746 | 0.5275 | 0.7817 | 0.7826 | 0.7553 | 0.7472 | 0.75 | 0.7239 |
| 0.4637 | 3.0 | 1119 | 0.5562 | 0.7915 | 0.7855 | 0.7576 | 0.7405 | 0.7538 | 0.7263 |
| 0.4637 | 4.0 | 1492 | 0.5929 | 0.7847 | 0.7853 | 0.7455 | 0.7371 | 0.7289 | 0.7169 |
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_regex_3
Base model
distilbert/distilbert-base-uncased