azherali commited on
Commit
9496266
·
verified ·
1 Parent(s): 97d57cd

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-T1
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-T1
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: 0.1039
25
+ - Accuracy: 0.9799
26
+ - F1: 0.9799
27
+ - Precision: 0.9800
28
+ - Recall: 0.9799
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.0707 | 1.0 | 16897 | 0.0631 | 0.9770 | 0.9770 | 0.9768 | 0.9772 |
62
+ | 0.0526 | 2.0 | 33794 | 0.0553 | 0.9795 | 0.9794 | 0.9794 | 0.9794 |
63
+ | 0.0366 | 3.0 | 50691 | 0.0655 | 0.9791 | 0.9790 | 0.9793 | 0.9789 |
64
+ | 0.0232 | 4.0 | 67588 | 0.0852 | 0.9792 | 0.9792 | 0.9792 | 0.9791 |
65
+ | 0.0111 | 5.0 | 84485 | 0.1039 | 0.9799 | 0.9799 | 0.9800 | 0.9799 |
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