Instructions to use iTroned/olid_no_bootstrap_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iTroned/olid_no_bootstrap_2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iTroned/olid_no_bootstrap_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
olid_no_bootstrap_2
This model is a fine-tuned version of bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.5093
- Accuracy Offensive: 0.7991
- F1 Offensive: 0.8006
- Accuracy Targeted: 0.7832
- F1 Targeted: 0.7717
- Accuracy Stance: 0.7621
- F1 Stance: 0.7280
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.5244 | 0.7998 | 0.7983 | 0.7764 | 0.7614 | 0.7508 | 0.7052 |
| 0.5844 | 2.0 | 746 | 0.5093 | 0.7991 | 0.8006 | 0.7832 | 0.7717 | 0.7621 | 0.7280 |
| 0.4663 | 3.0 | 1119 | 0.5145 | 0.8074 | 0.8095 | 0.7855 | 0.7750 | 0.7591 | 0.7510 |
| 0.4663 | 4.0 | 1492 | 0.5545 | 0.7938 | 0.7966 | 0.7704 | 0.7620 | 0.7553 | 0.7518 |
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_no_bootstrap_2
Base model
google-bert/bert-base-uncased