Instructions to use iTroned/offensive_baseline_v3_no_hs_no_sent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iTroned/offensive_baseline_v3_no_hs_no_sent with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iTroned/offensive_baseline_v3_no_hs_no_sent", device_map="auto") - Notebooks
- Google Colab
- Kaggle
offensive_baseline_v3_no_hs_no_sent
This model is a fine-tuned version of on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.6763
- Accuracy Offensive: 0.8523
- F1 Macro Offensive: 0.8163
- F1 Weighted Offensive: 0.8522
- F1 Macro Total: 0.8163
- F1 Weighted Total: 0.8522
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.5709 | 1.0 | 3310 | 0.4660 | 0.7651 | 0.7427 | 0.7763 | 0.7427 | 0.7763 |
| 0.6504 | 2.0 | 6620 | 0.5788 | 0.8477 | 0.8133 | 0.8487 | 0.8133 | 0.8487 |
| 0.6102 | 3.0 | 9930 | 0.6763 | 0.8523 | 0.8163 | 0.8522 | 0.8163 | 0.8522 |
| 0.5296 | 4.0 | 13240 | 0.7922 | 0.8314 | 0.7991 | 0.8347 | 0.7991 | 0.8347 |
| 0.3846 | 5.0 | 16550 | 0.9687 | 0.8279 | 0.7942 | 0.8310 | 0.7942 | 0.8310 |
| 0.3259 | 6.0 | 19860 | 1.2308 | 0.8349 | 0.7964 | 0.8355 | 0.7964 | 0.8355 |
| 0.239 | 7.0 | 23170 | 1.3950 | 0.8244 | 0.7827 | 0.8248 | 0.7827 | 0.8248 |
| 0.1618 | 8.0 | 26480 | 1.5150 | 0.8314 | 0.7908 | 0.8315 | 0.7908 | 0.8315 |
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