azherali commited on
Commit
7479b70
·
verified ·
1 Parent(s): a62319e

Model save

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/unixcoder-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: CodeDetect-UniXCoder-T2
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # CodeDetect-UniXCoder-T2
21
+
22
+ This model is a fine-tuned version of [microsoft/unixcoder-base](https://huggingface.co/microsoft/unixcoder-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 1.3991
25
+ - Accuracy: 0.6569
26
+ - F1: 0.6143
27
+ - Precision: 0.6120
28
+ - Recall: 0.6191
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 64
49
+ - eval_batch_size: 64
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 0.1
54
+ - num_epochs: 5
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
60
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
61
+ | 0.9684 | 1.0 | 13235 | 1.0380 | 0.6277 | 0.5885 | 0.5892 | 0.6279 |
62
+ | 0.7011 | 2.0 | 26470 | 1.0398 | 0.6485 | 0.6099 | 0.6051 | 0.6334 |
63
+ | 0.4888 | 3.0 | 39705 | 1.1497 | 0.6559 | 0.6108 | 0.6075 | 0.6221 |
64
+ | 0.3457 | 4.0 | 52940 | 1.2836 | 0.6573 | 0.6139 | 0.6089 | 0.6235 |
65
+ | 0.2443 | 5.0 | 66175 | 1.3991 | 0.6569 | 0.6143 | 0.6120 | 0.6191 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 5.13.1
71
+ - Pytorch 2.11.0+cu130
72
+ - Datasets 4.0.0
73
+ - Tokenizers 0.22.2