azherali's picture
Model save
7479b70 verified
|
Raw History Blame
2.11 kB
---
library_name: transformers
license: apache-2.0
base_model: microsoft/unixcoder-base
tags:
- generated_from_trainer
metrics:
- accuracy
- f1
- precision
- recall
model-index:
- name: CodeDetect-UniXCoder-T2
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# CodeDetect-UniXCoder-T2
This model is a fine-tuned version of [microsoft/unixcoder-base](https://huggingface.co/microsoft/unixcoder-base) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 1.3991
- Accuracy: 0.6569
- F1: 0.6143
- Precision: 0.6120
- Recall: 0.6191
## 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: 64
- eval_batch_size: 64
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 5
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
| 0.9684 | 1.0 | 13235 | 1.0380 | 0.6277 | 0.5885 | 0.5892 | 0.6279 |
| 0.7011 | 2.0 | 26470 | 1.0398 | 0.6485 | 0.6099 | 0.6051 | 0.6334 |
| 0.4888 | 3.0 | 39705 | 1.1497 | 0.6559 | 0.6108 | 0.6075 | 0.6221 |
| 0.3457 | 4.0 | 52940 | 1.2836 | 0.6573 | 0.6139 | 0.6089 | 0.6235 |
| 0.2443 | 5.0 | 66175 | 1.3991 | 0.6569 | 0.6143 | 0.6120 | 0.6191 |
### Framework versions
- Transformers 5.13.1
- Pytorch 2.11.0+cu130
- Datasets 4.0.0
- Tokenizers 0.22.2