DrishtiSharma commited on
Commit
dee5be4
1 Parent(s): ceed8f8

End of training

Browse files
Files changed (2) hide show
  1. README.md +73 -0
  2. generation_config.json +7 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-generate-docstrings-codexglue-python-bs-32
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-generate-docstrings-codexglue-python-bs-32
17
+
18
+ This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 2.0595
21
+ - Rouge1: 0.3535
22
+ - Rouge2: 0.1748
23
+ - Rougel: 0.3195
24
+ - Rougelsum: 0.336
25
+ - Gen Len: 16.1317
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: 32
46
+ - eval_batch_size: 32
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 10
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
55
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
56
+ | 2.6758 | 1.0 | 5952 | 2.2761 | 0.3458 | 0.1674 | 0.312 | 0.329 | 16.375 |
57
+ | 2.4212 | 2.0 | 11904 | 2.1955 | 0.3471 | 0.1698 | 0.3143 | 0.33 | 15.3815 |
58
+ | 2.3395 | 3.0 | 17856 | 2.1480 | 0.3501 | 0.1715 | 0.3159 | 0.3329 | 16.4806 |
59
+ | 2.2889 | 4.0 | 23808 | 2.1198 | 0.3506 | 0.1722 | 0.3167 | 0.3333 | 15.974 |
60
+ | 2.252 | 5.0 | 29760 | 2.0984 | 0.3524 | 0.1738 | 0.3184 | 0.3351 | 16.2197 |
61
+ | 2.226 | 6.0 | 35712 | 2.0851 | 0.3518 | 0.1736 | 0.3182 | 0.3345 | 15.9882 |
62
+ | 2.2047 | 7.0 | 41664 | 2.0746 | 0.3521 | 0.1738 | 0.3185 | 0.3348 | 16.2078 |
63
+ | 2.1894 | 8.0 | 47616 | 2.0654 | 0.3532 | 0.1748 | 0.3194 | 0.3357 | 16.1077 |
64
+ | 2.1798 | 9.0 | 53568 | 2.0617 | 0.3528 | 0.1749 | 0.3192 | 0.3355 | 16.0418 |
65
+ | 2.1732 | 10.0 | 59520 | 2.0595 | 0.3535 | 0.1748 | 0.3195 | 0.336 | 16.1317 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.33.0.dev0
71
+ - Pytorch 2.0.1+cu118
72
+ - Datasets 2.14.4.dev0
73
+ - Tokenizers 0.13.3
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.33.0.dev0"
7
+ }