SAVRN
Search Contact SAVRN

Open-weight model · Summarization

bart-large-xsum

by AI at Meta facebook/bart-large-xsum

Parameters
Context1,024
Weights6.9 GB
Licensemit
AccessOpen weights
Monthly Downloads7.4k

Model Card

By AI at Meta, published under mit, revision 2179ab81d3f1.

Read AI at Meta's full model card

Bart model finetuned on xsum

docs: https://huggingface.co/transformers/model_doc/bart.html

finetuning: examples/seq2seq/ (as of Aug 20, 2020)

Metrics: ROUGE > 22 on xsum.

variants: search for distilbart

paper: https://arxiv.org/abs/1910.13461

Configuration

Architecture
BartForConditionalGeneration
Context length (tokens)
1,024
Layers
12
Vocabulary size
50,264
Model type
bart

Identity and Version

Repository
facebook/bart-large-xsum
Publisher
AI at Meta
Task
Summarization
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
en
Revision
2179ab81d3f133e639f2957aec5380e9d56b2783
First published
2022-03-02
Last updated
2023-01-24

Files and Weights

12 files, 6.9 GB in total. The weights are 4 files totalling 6.9 GB in bin, h5, msgpack, ot.

Weights4 files · 6.9 GB
Configuration2 files · 1.8 KB
Tokenizer4 files · 2.7 MB
Documentation1 file · 3.0 KB
Repository1 file · 391 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights1.6 GB 120ad3457db0
pytorch_model.binWeights1.6 GB 40a72b702fcb
rust_model.otWeights2.0 GB 3706d7f9974a
tf_model.h5Weights1.6 GB 48d709daef4a
config.jsonConfiguration1.5 KB
generation_config.jsonConfiguration309 B
README.mdDocumentation3.0 KB
.gitattributesRepository391 B
merges.txtTokenizer456.3 KB
tokenizer.jsonTokenizer1.4 MB
tokenizer_config.jsonTokenizer26 B
vocab.jsonTokenizer898.8 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
6.9 GB
Download from AI at Meta

Released by AI at Meta through its official repository on Hugging Face. Read the license.

Built From

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
cnn_dailymail Configuration 3.0.0Task SummarizationMetric ROUGE-1Comparison conditions not established 25.2697 facebook
Publisher reported
Evaluated revision not stated
cnn_dailymail Configuration 3.0.0Task SummarizationMetric ROUGE-2Comparison conditions not established 7.6638 facebook
Publisher reported
Evaluated revision not stated
cnn_dailymail Configuration 3.0.0Task SummarizationMetric ROUGE-LComparison conditions not established 17.1808 facebook
Publisher reported
Evaluated revision not stated
cnn_dailymail Configuration 3.0.0Task SummarizationMetric ROUGE-LSUMComparison conditions not established 21.7933 facebook
Publisher reported
Evaluated revision not stated
cnn_dailymail Configuration 3.0.0Task SummarizationMetric gen_lenComparison conditions not established 27.4462 facebook
Publisher reported
Evaluated revision not stated
cnn_dailymail Configuration 3.0.0Task SummarizationMetric lossComparison conditions not established 3.5043 facebook
Publisher reported
Evaluated revision not stated
samsum Configuration samsumTask SummarizationMetric ROUGE-1Comparison conditions not established 24.9158 facebook
Publisher reported
Evaluated revision not stated
samsum Configuration samsumTask SummarizationMetric ROUGE-2Comparison conditions not established 5.5837 facebook
Publisher reported
Evaluated revision not stated
samsum Configuration samsumTask SummarizationMetric ROUGE-LComparison conditions not established 18.8935 facebook
Publisher reported
Evaluated revision not stated
samsum Configuration samsumTask SummarizationMetric ROUGE-LSUMComparison conditions not established 20.76 facebook
Publisher reported
Evaluated revision not stated
samsum Configuration samsumTask SummarizationMetric gen_lenComparison conditions not established 23.0928 facebook
Publisher reported
Evaluated revision not stated
samsum Configuration samsumTask SummarizationMetric lossComparison conditions not established 3.77524 facebook
Publisher reported
Evaluated revision not stated
xsum Configuration defaultTask SummarizationMetric ROUGE-1Comparison conditions not established 45.4525 facebook
Publisher reported
Evaluated revision not stated
xsum Configuration defaultTask SummarizationMetric ROUGE-2Comparison conditions not established 22.3455 facebook
Publisher reported
Evaluated revision not stated
xsum Configuration defaultTask SummarizationMetric ROUGE-LComparison conditions not established 37.2302 facebook
Publisher reported
Evaluated revision not stated
xsum Configuration defaultTask SummarizationMetric ROUGE-LSUMComparison conditions not established 37.2323 facebook
Publisher reported
Evaluated revision not stated
xsum Configuration defaultTask SummarizationMetric gen_lenComparison conditions not established 25.5435 facebook
Publisher reported
Evaluated revision not stated
xsum Configuration defaultTask SummarizationMetric lossComparison conditions not established 2.31287 facebook
Publisher reported
Evaluated revision not stated

Memory Requirements

PrecisionWeights in memory
As published6.9 GB

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

Questions About bart-large-xsum

Can I use bart-large-xsum commercially?

Yes. bart-large-xsum is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is bart-large-xsum'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