SAVRN
Search Contact SAVRN

Open-weight model · Summarization

pegasus-large

by Google google/pegasus-large

Original TF 1 code here Authors: Jingqing Zhang, Yao Zhao, Mohammad Saleh and Peter J. Liu on Dec 18, 2019 The following is copied from the authors' README.

Parameters
Context1,024
Weights6.8 GB
License
AccessOpen weights
Monthly Downloads9.5k

Model Card

Original TF 1 code here Authors: Jingqing Zhang, Yao Zhao, Mohammad Saleh and Peter J. Liu on Dec 18, 2019 The following is copied from the authors' README. 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. 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…

Excerpt from the card by Google.

Configuration

Architecture
PegasusForConditionalGeneration
Context length (tokens)
1,024
Layers
16
Vocabulary size
96,103
Model type
pegasus

Identity and Version

Repository
google/pegasus-large
Publisher
Google
Task
Summarization
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
en
Revision
dec7796b22f29b7d1c476192313eae8ed57b6b77
First published
2022-03-02
Last updated
2023-01-24

Files and Weights

23 files, 6.8 GB in total. The weights are 3 files totalling 6.8 GB in bin, h5, msgpack.

Weights3 files · 6.8 GB
Configuration16 files · 6.8 KB
Tokenizer2 files · 1.9 MB
Documentation1 file · 3.3 KB
Repository1 file · 391 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights2.3 GB f960b58b993a
pytorch_model.binWeights2.3 GB a5a41538cce7
tf_model.h5Weights2.3 GB 0cefc7e73b78
config.jsonConfiguration3.1 KB
generation_config.jsonConfiguration260 B
generation_config_for_summarization_aeslc.jsonConfiguration259 B
generation_config_for_summarization_arxiv.jsonConfiguration260 B
generation_config_for_summarization_big_patent.jsonConfiguration260 B
generation_config_for_summarization_billsum.jsonConfiguration260 B
generation_config_for_summarization_cnn_dailymail.jsonConfiguration260 B
generation_config_for_summarization_gigaword.jsonConfiguration259 B
generation_config_for_summarization_large.jsonConfiguration260 B
generation_config_for_summarization_multi_news.jsonConfiguration260 B
generation_config_for_summarization_newsroom.jsonConfiguration260 B
generation_config_for_summarization_pubmed.jsonConfiguration260 B
generation_config_for_summarization_reddit_tifu.jsonConfiguration260 B
generation_config_for_summarization_wikihow.jsonConfiguration260 B
generation_config_for_summarization_xsum.jsonConfiguration259 B
special_tokens_map.jsonConfiguration65 B
README.mdDocumentation3.3 KB
.gitattributesRepository391 B
spiece.modelTokenizer1.9 MB
tokenizer_config.jsonTokenizer88 B

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
6.8 GB
Download from Google

Released by Google through its official repository on Hugging Face.

Built From

Memory Requirements

PrecisionWeights in memory
As published6.8 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About pegasus-large

What is pegasus-large's context length?

1,024 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Summarization

distilbart-cnn-12-6

Sam Shleifer

This checkpoint should be loaded into BartForConditionalGeneration.frompretrained. See the BART docs for more information.

Open weights apache-2.0 1,024 tokens transformers

Model · Summarization

pegasus-xsum

Google

Original TF 1 code here Authors: Jingqing Zhang, Yao Zhao, Mohammad Saleh and Peter J. Liu on Dec 18, 2019 The following is copied from the authors' README. 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. 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…

Open weights 512 tokens transformers

Model · Summarization

distilbart-xsum-12-6

Sam Shleifer

This checkpoint should be loaded into BartForConditionalGeneration.frompretrained. See the BART docs for more information.

Open weights apache-2.0 1,024 tokens transformers

This repository contains the mT5 checkpoint finetuned on the 45 languages of XL-Sum dataset. For finetuning details and scripts, see the paper and the official repository. Scores on the XL-Sum test sets are as follows: Language | ROUGE-1 / ROUGE-2 / ROUGE-L Amharic | 20.0485 / 7.4111 / 18.0753 Arabic | 34.9107 / 14.7937 / 29.1623 Azerbaijani | 21.4227 / 9.5214 / 19.3331 Bengali | 29.5653 / 12.1095 / 25.1315 Burmese | 15.9626 / 5.1477 / 14.1819 Chinese (Simplified) | 39.4071 / 17.7913 / 33.406 Chinese (Traditional) | 37.1866 / 17.1432 / 31.6184 English | 37.601 / 15.1536 / 29.8817 French | 35.3398 / 16.1739 / 28.2041 Gujarati | 21.9619 / 7.7417 / 19.86 Hausa | 39.4375 / 17.6786 / 31.6667…

Open weights transformers