lmalarky commited on
Commit
2be867b
1 Parent(s): 827379e

Model save

Browse files
Files changed (2) hide show
  1. README.md +65 -0
  2. generation_config.json +7 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/flan-t5-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - rouge
8
+ model-index:
9
+ - name: flan-t5-base-finetuned-python_qa_v2
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
+ # flan-t5-base-finetuned-python_qa_v2
17
+
18
+ This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.9023
21
+ - Rouge1: 0.1919
22
+ - Rouge2: 0.0535
23
+ - Rougel: 0.1492
24
+ - Rougelsum: 0.1655
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: 0.0001
44
+ - train_batch_size: 8
45
+ - eval_batch_size: 4
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 3
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
54
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
55
+ | 2.0314 | 1.0 | 2000 | 1.9083 | 0.1876 | 0.0546 | 0.1485 | 0.1640 |
56
+ | 1.9586 | 2.0 | 4000 | 1.9031 | 0.1896 | 0.0531 | 0.1485 | 0.1643 |
57
+ | 1.923 | 3.0 | 6000 | 1.9023 | 0.1919 | 0.0535 | 0.1492 | 0.1655 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.34.1
63
+ - Pytorch 2.1.0+cu118
64
+ - Datasets 2.14.5
65
+ - Tokenizers 0.14.1
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_start_token_id": 0,
3
+ "eos_token_id": 1,
4
+ "max_new_tokens": 30,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.34.1"
7
+ }