ayeshgk commited on
Commit
f3650b1
1 Parent(s): fdd502f

End of training

Browse files
Files changed (2) hide show
  1. README.md +68 -0
  2. generation_config.json +7 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Salesforce/codet5-small
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - rouge
8
+ model-index:
9
+ - name: codet5-small-java-buggy-to-fixed-code
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # codet5-small-java-buggy-to-fixed-code
17
+
18
+ This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.1496
21
+ - Rouge1: 28.945
22
+ - Rouge2: 25.498
23
+ - Rougel: 28.8801
24
+ - Rougelsum: 28.9201
25
+ - Gen Len: 18.9938
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: 16
46
+ - eval_batch_size: 16
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 4
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
56
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
57
+ | 0.26 | 1.0 | 3750 | 0.1799 | 28.745 | 25.2441 | 28.6738 | 28.7241 | 18.9872 |
58
+ | 0.212 | 2.0 | 7500 | 0.1589 | 28.8636 | 25.4151 | 28.7997 | 28.8427 | 18.9926 |
59
+ | 0.1975 | 3.0 | 11250 | 0.1510 | 28.9016 | 25.4349 | 28.8356 | 28.8809 | 18.989 |
60
+ | 0.1887 | 4.0 | 15000 | 0.1496 | 28.945 | 25.498 | 28.8801 | 28.9201 | 18.9938 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.36.0.dev0
66
+ - Pytorch 2.1.0+cu118
67
+ - Datasets 2.15.0
68
+ - Tokenizers 0.15.0
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.36.0.dev0"
7
+ }