Instructions to use iTroned/new_hate_speech_test_8_no_mask_no_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iTroned/new_hate_speech_test_8_no_mask_no_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iTroned/new_hate_speech_test_8_no_mask_no_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
new_hate_speech_test_8_no_mask_no_model
This model is a fine-tuned version of on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.2743
- Accuracy Offensive: 0.8448
- F1 Offensive: 0.8305
- Accuracy Targeted: 0.9535
- F1 Targeted: 0.9311
- Accuracy Stance: 0.8912
- F1 Stance: 0.8489
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: 8
- eval_batch_size: 8
- seed: 42
- 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: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy Offensive | F1 Offensive | Accuracy Targeted | F1 Targeted | Accuracy Stance | F1 Stance |
|---|---|---|---|---|---|---|---|---|---|
| 0.65 | 1.0 | 1324 | 0.4717 | 0.6545 | 0.5178 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
| 0.405 | 2.0 | 2648 | 0.3707 | 0.6545 | 0.5178 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
| 0.368 | 3.0 | 3972 | 0.3392 | 0.6545 | 0.5178 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
| 0.3456 | 4.0 | 5296 | 0.3187 | 0.6545 | 0.5178 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
| 0.3212 | 5.0 | 6620 | 0.3036 | 0.6545 | 0.5178 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
| 0.3089 | 6.0 | 7944 | 0.2931 | 0.6545 | 0.5178 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
| 0.3045 | 7.0 | 9268 | 0.2840 | 0.6545 | 0.5178 | 0.9535 | 0.9311 | 0.8912 | 0.8593 |
| 0.2924 | 8.0 | 10592 | 0.2787 | 0.8448 | 0.8305 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
| 0.2898 | 9.0 | 11916 | 0.2753 | 0.8448 | 0.8305 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
| 0.2859 | 10.0 | 13240 | 0.2743 | 0.8448 | 0.8305 | 0.9535 | 0.9311 | 0.8912 | 0.8489 |
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