azherali commited on
Commit
f9b210f
·
verified ·
1 Parent(s): 9cc5b36

Model save

Browse files
Files changed (1) hide show
  1. README.md +72 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: microsoft/graphcodebert-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: CodeDetect-GraphCodeBERT-T2
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # CodeDetect-GraphCodeBERT-T2
20
+
21
+ This model is a fine-tuned version of [microsoft/graphcodebert-base](https://huggingface.co/microsoft/graphcodebert-base) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.3401
24
+ - Accuracy: 0.6399
25
+ - F1: 0.5977
26
+ - Precision: 0.5929
27
+ - Recall: 0.6065
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 64
48
+ - eval_batch_size: 64
49
+ - seed: 42
50
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 0.1
53
+ - num_epochs: 5
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 1.0421 | 1.0 | 13235 | 1.0888 | 0.6093 | 0.5709 | 0.5743 | 0.6084 |
61
+ | 0.8016 | 2.0 | 26470 | 1.0931 | 0.6293 | 0.5904 | 0.5863 | 0.6174 |
62
+ | 0.6075 | 3.0 | 39705 | 1.1364 | 0.6408 | 0.5967 | 0.5935 | 0.6081 |
63
+ | 0.4585 | 4.0 | 52940 | 1.2661 | 0.6383 | 0.5942 | 0.5878 | 0.6077 |
64
+ | 0.3634 | 5.0 | 66175 | 1.3401 | 0.6399 | 0.5977 | 0.5929 | 0.6065 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 5.13.1
70
+ - Pytorch 2.11.0+cu130
71
+ - Datasets 4.0.0
72
+ - Tokenizers 0.22.2