conplag2_codebert_ep30_bs16_lr3e-05_l512_s42_ppy_loss
This model is a fine-tuned version of microsoft/codebert-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4379
- Accuracy: 0.8467
- Recall: 0.6579
- Precision: 0.7576
- F1: 0.7042
- F Beta Score: 0.6857
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: 3e-05
- train_batch_size: 16
- eval_batch_size: 16
- 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: 30
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision | F1 | F Beta Score |
|---|---|---|---|---|---|---|---|---|
| 0.724 | 1.0 | 40 | 0.6925 | 0.2993 | 0.9737 | 0.2803 | 0.4353 | 0.5529 |
| 0.7055 | 2.0 | 80 | 0.6596 | 0.6350 | 0.6842 | 0.4062 | 0.5098 | 0.5652 |
| 0.466 | 3.0 | 120 | 0.4881 | 0.8102 | 0.6053 | 0.6765 | 0.6389 | 0.6255 |
| 0.3432 | 4.0 | 160 | 0.4379 | 0.8467 | 0.6579 | 0.7576 | 0.7042 | 0.6857 |
| 0.3809 | 5.0 | 200 | 0.5263 | 0.8321 | 0.5789 | 0.7586 | 0.6567 | 0.6245 |
| 0.2913 | 6.0 | 240 | 0.7224 | 0.8540 | 0.5 | 0.95 | 0.6552 | 0.5853 |
| 0.153 | 7.0 | 280 | 0.7446 | 0.8394 | 0.6053 | 0.7667 | 0.6765 | 0.6472 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.8.0+cu128
- Datasets 3.1.0
- Tokenizers 0.21.4
- Downloads last month
- 2
Model tree for buelfhood/conplag2_codebert_ep30_bs16_lr3e-05_l512_s42_ppy_loss
Base model
microsoft/codebert-base