gpt2-toxic-comment-classifier
This model is a fine-tuned version of gpt2-medium on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3832
- F1: 0.7204
- Roc Auc: 0.9582
- Accuracy: 0.8918
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: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 2
- mixed_precision_training: Native AMP
Training results
Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
---|---|---|---|---|---|---|
0.478 | 1.0 | 8976 | 0.4752 | 0.7568 | 0.9453 | 0.9063 |
0.4525 | 2.0 | 17952 | 0.3832 | 0.7204 | 0.9582 | 0.8918 |
Framework versions
- Transformers 4.55.4
- Pytorch 2.8.0+cu128
- Datasets 4.0.0
- Tokenizers 0.21.4
- Downloads last month
- 60
Model tree for raavip/gpt2-toxic-comment-classifier
Base model
openai-community/gpt2-medium