ruchita1010 commited on
Commit
bd5b819
1 Parent(s): be8eec7

End of training

Browse files
Files changed (3) hide show
  1. README.md +87 -0
  2. generation_config.json +12 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/pegasus-cnn_dailymail
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - billsum
7
+ metrics:
8
+ - rouge
9
+ model-index:
10
+ - name: pegasuscnn-dailymail_billsum_model
11
+ results:
12
+ - task:
13
+ name: Sequence-to-sequence Language Modeling
14
+ type: text2text-generation
15
+ dataset:
16
+ name: billsum
17
+ type: billsum
18
+ config: default
19
+ split: ca_test
20
+ args: default
21
+ metrics:
22
+ - name: Rouge1
23
+ type: rouge
24
+ value: 0.4804
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ # pegasuscnn-dailymail_billsum_model
31
+
32
+ This model is a fine-tuned version of [google/pegasus-cnn_dailymail](https://huggingface.co/google/pegasus-cnn_dailymail) on the billsum dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 1.6747
35
+ - Rouge1: 0.4804
36
+ - Rouge2: 0.2362
37
+ - Rougel: 0.3218
38
+ - Rougelsum: 0.3218
39
+ - Gen Len: 123.3669
40
+
41
+ ## Model description
42
+
43
+ More information needed
44
+
45
+ ## Intended uses & limitations
46
+
47
+ More information needed
48
+
49
+ ## Training and evaluation data
50
+
51
+ More information needed
52
+
53
+ ## Training procedure
54
+
55
+ ### Training hyperparameters
56
+
57
+ The following hyperparameters were used during training:
58
+ - learning_rate: 2e-05
59
+ - train_batch_size: 5
60
+ - eval_batch_size: 5
61
+ - seed: 42
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - num_epochs: 10
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
69
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:--------:|
70
+ | 2.6227 | 1.0 | 198 | 1.9091 | 0.4289 | 0.1938 | 0.2945 | 0.2947 | 120.1855 |
71
+ | 1.9714 | 2.0 | 396 | 1.8147 | 0.4517 | 0.2093 | 0.3059 | 0.3061 | 120.7742 |
72
+ | 1.903 | 3.0 | 594 | 1.7646 | 0.4607 | 0.2207 | 0.3098 | 0.3102 | 121.121 |
73
+ | 1.7973 | 4.0 | 792 | 1.7362 | 0.4719 | 0.2264 | 0.3179 | 0.3178 | 122.3185 |
74
+ | 1.7868 | 5.0 | 990 | 1.7137 | 0.4779 | 0.2314 | 0.3191 | 0.3192 | 123.2379 |
75
+ | 1.7457 | 6.0 | 1188 | 1.6958 | 0.4748 | 0.2296 | 0.3171 | 0.317 | 123.2056 |
76
+ | 1.6687 | 7.0 | 1386 | 1.6873 | 0.4795 | 0.2352 | 0.3216 | 0.3216 | 123.2702 |
77
+ | 1.6751 | 8.0 | 1584 | 1.6806 | 0.4835 | 0.2384 | 0.3248 | 0.3245 | 122.8266 |
78
+ | 1.6564 | 9.0 | 1782 | 1.6758 | 0.4814 | 0.2359 | 0.3217 | 0.3216 | 123.2984 |
79
+ | 1.6333 | 10.0 | 1980 | 1.6747 | 0.4804 | 0.2362 | 0.3218 | 0.3218 | 123.3669 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.34.1
85
+ - Pytorch 2.1.0+cu118
86
+ - Datasets 2.14.6
87
+ - Tokenizers 0.14.1
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "forced_eos_token_id": 1,
6
+ "length_penalty": 0.8,
7
+ "max_length": 128,
8
+ "min_length": 32,
9
+ "num_beams": 8,
10
+ "pad_token_id": 0,
11
+ "transformers_version": "4.34.1"
12
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3e709c330507bdb7de0445377b4aab7740e2ae615fa40376b7617977868f92a4
3
  size 2283805098
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02d65ff7e230f5e00ea31ccdd675153e46dd69557dabab65b81ad66d2f213663
3
  size 2283805098