system HF staff commited on
Commit
cc7a080
1 Parent(s): bd2b9fb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ datasets:
4
+ - xsum
5
+ tags:
6
+ - summarization
7
+ ---
8
+
9
+ ### Pegasus Models
10
+ See Docs: [here](https://huggingface.co/transformers/master/model_doc/pegasus.html)
11
+ Original TF 1 code [here](https://github.com/google-research/pegasus)
12
+
13
+ Authors: Jingqing Zhang, Yao Zhao, Mohammad Saleh and Peter J. Liu on Dec 18, 2019
14
+ Maintained by: [@sshleifer](https://twitter.com/sam_shleifer)
15
+ Task: Summarization
16
+
17
+ The following is copied from the authors' README.
18
+
19
+ # Mixed & Stochastic Checkpoints
20
+
21
+ We train a pegasus model with sampled gap sentence ratios on both C4 and HugeNews, and stochastically sample important sentences. The updated the results are reported in this table.
22
+
23
+ | dataset | C4 | HugeNews | Mixed & Stochastic|
24
+ | ---- | ---- | ---- | ----|
25
+ | xsum | 45.20/22.06/36.99 | 47.21/24.56/39.25 | 47.60/24.83/39.64|
26
+ | cnn_dailymail | 43.90/21.20/40.76 | 44.17/21.47/41.11 | 44.16/21.56/41.30|
27
+ | newsroom | 45.07/33.39/41.28 | 45.15/33.51/41.33 | 45.98/34.20/42.18|
28
+ | multi_news | 46.74/17.95/24.26 | 47.52/18.72/24.91 | 47.65/18.75/24.95|
29
+ | gigaword | 38.75/19.96/36.14 | 39.12/19.86/36.24 | 39.65/20.47/36.76|
30
+ | wikihow | 43.07/19.70/34.79 | 41.35/18.51/33.42 | 46.39/22.12/38.41 *|
31
+ | reddit_tifu | 26.54/8.94/21.64 | 26.63/9.01/21.60 | 27.99/9.81/22.94|
32
+ | big_patent | 53.63/33.16/42.25 | 53.41/32.89/42.07 | 52.29/33.08/41.66 *|
33
+ | arxiv | 44.70/17.27/25.80 | 44.67/17.18/25.73 | 44.21/16.95/25.67|
34
+ | pubmed | 45.49/19.90/27.69 | 45.09/19.56/27.42 | 45.97/20.15/28.25|
35
+ | aeslc | 37.69/21.85/36.84 | 37.40/21.22/36.45 | 37.68/21.25/36.51|
36
+ | billsum | 57.20/39.56/45.80 | 57.31/40.19/45.82 | 59.67/41.58/47.59|
37
+
38
+ The "Mixed & Stochastic" model has the following changes:
39
+ - trained on both C4 and HugeNews (dataset mixture is weighted by their number of examples).
40
+ - trained for 1.5M instead of 500k (we observe slower convergence on pretraining perplexity).
41
+ - the model uniformly sample a gap sentence ratio between 15% and 45%.
42
+ - importance sentences are sampled using a 20% uniform noise to importance scores.
43
+ - the sentencepiece tokenizer is updated to be able to encode newline character.
44
+
45
+
46
+ (*) the numbers of wikihow and big_patent datasets are not comparable because of change in tokenization and data:
47
+ - wikihow dataset contains newline characters which is useful for paragraph segmentation, the C4 and HugeNews model's sentencepiece tokenizer doesn't encode newline and loose this information.
48
+ - we update the BigPatent dataset to preserve casing, some format cleanings are also changed, please refer to change in TFDS.
49
+
50
+
51
+ The "Mixed & Stochastic" model has the following changes (from pegasus-large in the paper):
52
+
53
+
54
+ trained on both C4 and HugeNews (dataset mixture is weighted by their number of examples).
55
+ trained for 1.5M instead of 500k (we observe slower convergence on pretraining perplexity).
56
+ the model uniformly sample a gap sentence ratio between 15% and 45%.
57
+ importance sentences are sampled using a 20% uniform noise to importance scores.
58
+ the sentencepiece tokenizer is updated to be able to encode newline character.
59
+
60
+
61
+ Citation
62
+ ```
63
+
64
+
65
+ @misc{zhang2019pegasus,
66
+ title={PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarization},
67
+ author={Jingqing Zhang and Yao Zhao and Mohammad Saleh and Peter J. Liu},
68
+ year={2019},
69
+ eprint={1912.08777},
70
+ archivePrefix={arXiv},
71
+ primaryClass={cs.CL}
72
+ }
73
+ ```