mcanoglu commited on
Commit
f570857
1 Parent(s): 3ff4afc

End of training

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ base_model: Salesforce/codet5p-770m
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ model-index:
11
+ - name: Salesforce-codet5p-770m-finetuned-defect-cwe-group
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # Salesforce-codet5p-770m-finetuned-defect-cwe-group
19
+
20
+ This model is a fine-tuned version of [Salesforce/codet5p-770m](https://huggingface.co/Salesforce/codet5p-770m) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.5725
23
+ - Accuracy: 0.7760
24
+ - Precision: 0.6093
25
+ - Recall: 0.5124
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 2e-05
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 4711
48
+ - gradient_accumulation_steps: 4
49
+ - total_train_batch_size: 32
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 5
53
+ - mixed_precision_training: Native AMP
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|
59
+ | No log | 1.0 | 462 | 0.6359 | 0.7124 | 0.5669 | 0.4538 |
60
+ | 0.7472 | 2.0 | 925 | 0.5540 | 0.7496 | 0.6085 | 0.4692 |
61
+ | 0.5458 | 3.0 | 1387 | 0.5520 | 0.7490 | 0.5918 | 0.5082 |
62
+ | 0.4192 | 4.0 | 1850 | 0.5505 | 0.7558 | 0.5904 | 0.5231 |
63
+ | 0.3356 | 4.99 | 2310 | 0.5725 | 0.7760 | 0.6093 | 0.5124 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.38.1
69
+ - Pytorch 2.2.1+cu121
70
+ - Datasets 2.17.1
71
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:22e0fcc406fe77d5c449bfb170a6a63a257c536546ee3723af21b7aca537a9af
3
  size 2954845260
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b04a743335c6f041249765503d4d15fbb71376243fa1ea106863f33cf0a3576
3
  size 2954845260
runs/Feb23_07-29-26_n72grvyji8/events.out.tfevents.1708673367.n72grvyji8.98.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9bd03d85a1c8f7e7759961cf6cf21af3ee9b78f291aab70501a467e6e38bb8cd
3
- size 8071
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e12b7b75c93f3de1a1ab029363de6e25ceba358c8ea7f816d060d4a440cd8571
3
+ size 8425