conplag2_codebert_ep30_bs16_lr2e-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.4050
- Accuracy: 0.8394
- Recall: 0.7632
- Precision: 0.6905
- F1: 0.725
- F Beta Score: 0.7392
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 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.7235 | 1.0 | 40 | 0.6948 | 0.6861 | 0.1316 | 0.3333 | 0.1887 | 0.1617 |
| 0.7193 | 2.0 | 80 | 0.6765 | 0.5620 | 0.5263 | 0.3226 | 0.4 | 0.4407 |
| 0.597 | 3.0 | 120 | 0.6353 | 0.7007 | 0.5263 | 0.4651 | 0.4938 | 0.5058 |
| 0.4366 | 4.0 | 160 | 0.5626 | 0.8321 | 0.4211 | 0.9412 | 0.5818 | 0.5073 |
| 0.4805 | 5.0 | 200 | 0.5296 | 0.8321 | 0.4474 | 0.8947 | 0.5965 | 0.5287 |
| 0.3593 | 6.0 | 240 | 0.4050 | 0.8394 | 0.7632 | 0.6905 | 0.725 | 0.7392 |
| 0.2298 | 7.0 | 280 | 0.4661 | 0.8321 | 0.7105 | 0.6923 | 0.7013 | 0.7048 |
| 0.1113 | 8.0 | 320 | 0.8908 | 0.8540 | 0.5 | 0.95 | 0.6552 | 0.5853 |
| 0.2281 | 9.0 | 360 | 0.9896 | 0.8613 | 0.6053 | 0.8519 | 0.7077 | 0.6644 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.8.0+cu128
- Datasets 3.1.0
- Tokenizers 0.21.4
- Downloads last month
- 1
Model tree for buelfhood/conplag2_codebert_ep30_bs16_lr2e-05_l512_s42_ppy_loss
Base model
microsoft/codebert-base