update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- rouge
|
7 |
+
model-index:
|
8 |
+
- name: codet5-small-Generate_Docstrings_for_Python-Condensed
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# codet5-small-Generate_Docstrings_for_Python-Condensed
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 2.1444
|
20 |
+
- Rouge1: 0.3828
|
21 |
+
- Rouge2: 0.2214
|
22 |
+
- Rougel: 0.3583
|
23 |
+
- Rougelsum: 0.3661
|
24 |
+
- Gen Len: 12.6656
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 16
|
45 |
+
- eval_batch_size: 16
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 4
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
55 |
+
| 2.9064 | 1.0 | 965 | 2.3096 | 0.3695 | 0.2098 | 0.3464 | 0.3529 | 11.7285 |
|
56 |
+
| 2.4836 | 2.0 | 1930 | 2.2051 | 0.38 | 0.2176 | 0.3554 | 0.3635 | 12.9401 |
|
57 |
+
| 2.3669 | 3.0 | 2895 | 2.1548 | 0.3842 | 0.2219 | 0.3595 | 0.3674 | 13.0029 |
|
58 |
+
| 2.3254 | 4.0 | 3860 | 2.1444 | 0.3828 | 0.2214 | 0.3583 | 0.3661 | 12.6656 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.26.1
|
64 |
+
- Pytorch 1.12.1
|
65 |
+
- Datasets 2.9.0
|
66 |
+
- Tokenizers 0.12.1
|