mcanoglu commited on
Commit
a08ab36
1 Parent(s): a235ea6

End of training

Browse files
Files changed (1) hide show
  1. README.md +71 -0
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
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: Salesforce-codet5p-770m-finetuned-defect-detection
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
+ # Salesforce-codet5p-770m-finetuned-defect-detection
20
+
21
+ This model is a fine-tuned version of [Salesforce/codet5p-770m](https://huggingface.co/Salesforce/codet5p-770m) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.4831
24
+ - Accuracy: 0.7337
25
+ - F1: 0.7377
26
+ - Precision: 0.7108
27
+ - Recall: 0.7667
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: 2
48
+ - eval_batch_size: 2
49
+ - seed: 4711
50
+ - gradient_accumulation_steps: 16
51
+ - total_train_batch_size: 32
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
+ - num_epochs: 3
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.6813 | 1.0 | 996 | 0.5630 | 0.6898 | 0.6580 | 0.7128 | 0.6110 |
62
+ | 0.5483 | 2.0 | 1992 | 0.5040 | 0.7103 | 0.7071 | 0.6986 | 0.7158 |
63
+ | 0.4502 | 3.0 | 2988 | 0.4831 | 0.7337 | 0.7377 | 0.7108 | 0.7667 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.36.2
69
+ - Pytorch 2.1.2+cu121
70
+ - Datasets 2.16.1
71
+ - Tokenizers 0.15.0