CoolFace
Modelpublic

T-Systems-onsite/mt5-small-sum-de-en-v2

sourceHugging Facecc-by-nc-sa-4.0updated 2y agoView on Hugging Face
14likes574downloads
Model Card

mT5-small-sum-de-en-v2

This is a bilingual summarization model for English and German. It is based on the multilingual T5 model google/mt5-small.

Training

The training was conducted with the following hyperparameters:

  • base model: google/mt5-small
  • source_prefix: "summarize: "
  • batch size: 3
  • maxsourcelength: 800
  • maxtargetlength: 96
  • warmup_ratio: 0.3
  • number of train epochs: 10
  • gradient accumulation steps: 2
  • learning rate: 5e-5

Datasets and Preprocessing

The datasets were preprocessed as follows:

The summary was tokenized with the google/mt5-small tokenizer. Then only the records with no more than 94 summary tokens were selected.

The MLSUM dataset has a special characteristic. In the text, the summary is often included completely as one or more sentences. These have been removed from the texts. The reason is that we do not want to train a model that ultimately extracts only sentences as a summary.

This model is trained on the following datasets:

NameLanguageLicense
CNN Daily - TrainenThe license is unclear. The data comes from CNN and Daily Mail. We assume that it may only be used for research purposes and not commercially.
Extreme Summarization (XSum) - TrainenThe license is unclear. The data comes from BBC. We assume that it may only be used for research purposes and not commercially.
MLSUM German - TraindeUsage of dataset is restricted to non-commercial research purposes only. Copyright belongs to the original copyright holders (see here).
SwissText 2019 - TraindeThe license is unclear. The data was published in the German Text Summarization Challenge. We assume that they may be used for research purposes and not commercially.
LanguageSize
German302,607
English422,228
Total724,835

Evaluation on MLSUM German Test Set (no beams)

Modelrouge1rouge2rougeLrougeLsum
ml6team/mt5-small-german-finetune-mlsum18.36075.360414.545616.1946
deutsche-telekom/mT5-small-sum-de-en-0121.73367.261417.132319.3977
T-Systems-onsite/mt5-small-sum-de-en-v2 (this)21.77567.266217.144419.4242

Evaluation on CNN Daily English Test Set (no beams)

Modelrouge1rouge2rougeLrougeLsum
sshleifer/distilbart-xsum-12-626.76648.824318.370323.2614
facebook/bart-large-xsum28.53749.856519.482924.7364
mrm8488/t5-base-finetuned-summarize-news37.57614.738924.025434.4634
deutsche-telekom/mT5-small-sum-de-en-0137.633916.531727.141834.9951
T-Systems-onsite/mt5-small-sum-de-en-v2 (this)37.809616.664627.223935.1916

Evaluation on Extreme Summarization (XSum) English Test Set (no beams)

Modelrouge1rouge2rougeLrougeLsum
mrm8488/t5-base-finetuned-summarize-news18.62043.53512.399715.2111
facebook/bart-large-xsum28.53749.856519.482924.7364
deutsche-telekom/mT5-small-sum-de-en-0132.341610.619125.379925.3908
T-Systems-onsite/mt5-small-sum-de-en-v2 (this)32.482810.700425.523825.5369
sshleifer/distilbart-xsum-12-644.2553 ♣21.4289 ♣36.2639 ♣36.2696 ♣

♣: These values seem to be unusually high. It could be that the test set was used in the training data.

License

Copyright (c) 2021 Philip May, T-Systems on site services GmbH

This work is licensed under the Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) license.