Instructions to use iTroned/self_iterative_v1_offensive_iteration_3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iTroned/self_iterative_v1_offensive_iteration_3 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iTroned/self_iterative_v1_offensive_iteration_3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
self_iterative_v1_offensive_iteration_3
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: 1.7014
- Accuracy Offensive: 0.8284
- F1 Macro Offensive: 0.8113
- F1 Weighted Offensive: 0.8274
- F1 Macro Total: 0.8113
- F1 Weighted Total: 0.8274
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: 6e-06
- train_batch_size: 4
- eval_batch_size: 4
- seed: 1337
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 30
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy Offensive | F1 Macro Offensive | F1 Weighted Offensive | F1 Macro Total | F1 Weighted Total |
|---|---|---|---|---|---|---|---|---|
| 0.3116 | 1.0 | 15332 | 1.2236 | 0.8189 | 0.7996 | 0.8171 | 0.7996 | 0.8171 |
| 0.2239 | 2.0 | 30664 | 1.0370 | 0.8237 | 0.8081 | 0.8235 | 0.8081 | 0.8235 |
| 0.1637 | 3.0 | 45996 | 1.3168 | 0.8261 | 0.8063 | 0.8237 | 0.8063 | 0.8237 |
| 0.1098 | 4.0 | 61328 | 1.7014 | 0.8284 | 0.8113 | 0.8274 | 0.8113 | 0.8274 |
| 0.1119 | 5.0 | 76660 | 1.7646 | 0.8245 | 0.8069 | 0.8233 | 0.8069 | 0.8233 |
| 0.0494 | 6.0 | 91992 | 2.2656 | 0.8118 | 0.7956 | 0.8118 | 0.7956 | 0.8118 |
| 0.0577 | 7.0 | 107324 | 2.1076 | 0.8125 | 0.7984 | 0.8135 | 0.7984 | 0.8135 |
| 0.0607 | 8.0 | 122656 | 2.2371 | 0.8133 | 0.7992 | 0.8142 | 0.7992 | 0.8142 |
| 0.0321 | 9.0 | 137988 | 2.5655 | 0.8133 | 0.7977 | 0.8136 | 0.7977 | 0.8136 |
Framework versions
- Transformers 4.50.2
- Pytorch 2.6.0+cu124
- Datasets 3.0.1
- Tokenizers 0.21.1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for iTroned/self_iterative_v1_offensive_iteration_3
Base model
google-bert/bert-base-uncased