pegasus-large / README.md
autoevaluator's picture
Add evaluation results on the 3.0.0 config and test split of cnn_dailymail
52c974a
metadata
language: en
tags:
  - summarization
model-index:
  - name: google/pegasus-large
    results:
      - task:
          type: summarization
          name: Summarization
        dataset:
          name: cnn_dailymail
          type: cnn_dailymail
          config: 3.0.0
          split: test
        metrics:
          - type: rouge
            value: 34.2469
            name: ROUGE-1
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNzQ2OTA1ODU2NGZkZTQyZmU4MWU5MThjZTFlOTE4MjUzYWUxMWY5ZDZiODA2OWI2OTM4NTY1ZGNlOTEwNTYzYiIsInZlcnNpb24iOjF9.kwREGOSSAdsiikzuageoUhQHpSV3tnmjiI3Li9cTes2HL_y5DH6o1ggL0_ylAWhDSboZFFNn4OsPclOKpOn5CA
          - type: rouge
            value: 13.6938
            name: ROUGE-2
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYWMwMDU1ODA1ODY5ZWYyODQzYzkzMzJlNmU2MGMyMTdmNmYxMDJlOWE3OTEwNGRhNjE0MGM4MDkzMWE5YTMzNSIsInZlcnNpb24iOjF9.XOBSdFW-6Wlu7E8i5l19wEqqS490U8tdne1ZQts_1tMfTIIjKn3OQ-rk3qva9PfgMIUwnkwjTdjwSXi-BQJGDQ
          - type: rouge
            value: 22.1834
            name: ROUGE-L
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYTE1MTU5YWNjMzFiNTA1YmUyMGUxZmFkZjYyNzVhOWY2ZmMwYjgzODZkNTFmZjdhYzI2ZDY4NTc2MzEwNTU1MiIsInZlcnNpb24iOjF9.LM0rzP07-XSmpcqmXJcXxVBCUM6Nf3-vwHI_aumJBARKhN9D2Vq5A2xK6vCC36nFnDPrOjH0M7I5nOZ8GPtkDA
          - type: rouge
            value: 30.3632
            name: ROUGE-LSUM
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMzgzZTM4NTkzOWM5NjYyNzU0YTEwMTUyYTQ5ZWNmOTVmODk4YzhhMGFhYTY1MTY1ODY0NzlmYjdmNmYxYTdlNyIsInZlcnNpb24iOjF9.K7sRTcJga1bV0zHpWaIsJVr9UgcMUfBDXh9qg8JePnSfOORp5iu6zqpVR9SzP46MFV41NdVYqzrMTpgB0Gx4CQ
          - type: loss
            value: 2.4100289344787598
            name: loss
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMjQyN2UxZTdhNzU5ZjRiN2U4OGI3ZmJkN2FiMzNhZTQ2NDYzMzY5MTI4YTU2ZGYwYzQwMTRkMTUwYjc4MWEwZSIsInZlcnNpb24iOjF9.VgQyew_hertKt0qvJaki8x3r2uoaejqPpAK14iLf8RrV6njDOXZD-wpC0eRp5BO6IZRKTm8OIacdE6EWBq3tBg
          - type: gen_len
            value: 105.9809
            name: gen_len
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYzM3OGM3YjY0M2IzMGM5ZDgwY2ZjMmJiYWI3ZDlkYTIxMWVmNDY0YThmYWIzM2UxNmQ3ODMwNDQyMmJlZjAwNiIsInZlcnNpb24iOjF9.l0z9-W0lc53u-QaONnMFaW-aoeiQ5FBgh4lM3qKnmEEoCs7Vwp4uaMNChNJZO61UqC7OucDMLRWJckqvXqqgCQ

Pegasus Models

See Docs: here

Original TF 1 code here

Authors: Jingqing Zhang, Yao Zhao, Mohammad Saleh and Peter J. Liu on Dec 18, 2019

Maintained by: @sshleifer

Task: Summarization

The following is copied from the authors' README.

Mixed & Stochastic Checkpoints

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.

dataset C4 HugeNews Mixed & Stochastic
xsum 45.20/22.06/36.99 47.21/24.56/39.25 47.60/24.83/39.64
cnn_dailymail 43.90/21.20/40.76 44.17/21.47/41.11 44.16/21.56/41.30
newsroom 45.07/33.39/41.28 45.15/33.51/41.33 45.98/34.20/42.18
multi_news 46.74/17.95/24.26 47.52/18.72/24.91 47.65/18.75/24.95
gigaword 38.75/19.96/36.14 39.12/19.86/36.24 39.65/20.47/36.76
wikihow 43.07/19.70/34.79 41.35/18.51/33.42 46.39/22.12/38.41 *
reddit_tifu 26.54/8.94/21.64 26.63/9.01/21.60 27.99/9.81/22.94
big_patent 53.63/33.16/42.25 53.41/32.89/42.07 52.29/33.08/41.66 *
arxiv 44.70/17.27/25.80 44.67/17.18/25.73 44.21/16.95/25.67
pubmed 45.49/19.90/27.69 45.09/19.56/27.42 45.97/20.15/28.25
aeslc 37.69/21.85/36.84 37.40/21.22/36.45 37.68/21.25/36.51
billsum 57.20/39.56/45.80 57.31/40.19/45.82 59.67/41.58/47.59

The "Mixed & Stochastic" model has the following changes:

  • trained on both C4 and HugeNews (dataset mixture is weighted by their number of examples).
  • trained for 1.5M instead of 500k (we observe slower convergence on pretraining perplexity).
  • the model uniformly sample a gap sentence ratio between 15% and 45%.
  • importance sentences are sampled using a 20% uniform noise to importance scores.
  • the sentencepiece tokenizer is updated to be able to encode newline character.

(*) the numbers of wikihow and big_patent datasets are not comparable because of change in tokenization and data:

  • 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.
  • we update the BigPatent dataset to preserve casing, some format cleanings are also changed, please refer to change in TFDS.

The "Mixed & Stochastic" model has the following changes (from pegasus-large in the paper):

trained on both C4 and HugeNews (dataset mixture is weighted by their number of examples). trained for 1.5M instead of 500k (we observe slower convergence on pretraining perplexity). the model uniformly sample a gap sentence ratio between 15% and 45%. importance sentences are sampled using a 20% uniform noise to importance scores. the sentencepiece tokenizer is updated to be able to encode newline character.

Citation



@misc{zhang2019pegasus,
    title={PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarization},
    author={Jingqing Zhang and Yao Zhao and Mohammad Saleh and Peter J. Liu},
    year={2019},
    eprint={1912.08777},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}