CoolFace
Modelpublic

deutsche-telekom/mt5-small-sum-de-en-v1

sourceHugging Facecc-by-nc-sa-4.0updated 3y agoView on Hugging Face
9likes617downloads
Model Card

mT5-small-sum-de-en-v1

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

![One Conversation](https://www.welove.ai/) This model is provided by the One Conversation team of Deutsche Telekom AG.

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:

NameLanguageSizeLicense
CNN Daily - Trainen218,223The 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) - Trainen204,005The license is unclear. The data comes from BBC. We assume that it may only be used for research purposes and not commercially.
wiki_lingua Englishen130,331Creative Commons CC BY-NC-SA 3.0 License
wiki_lingua Germande48,390Creative Commons CC BY-NC-SA 3.0 License
MLSUM German - Trainde218,043Usage of dataset is restricted to non-commercial research purposes only. Copyright belongs to the original copyright holders (see here).
SwissText 2019 - Trainde84,564The 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
German350,997
English552,559
Total903,556

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-01 (this)21.73367.261417.132319.3977

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-01 (this)37.633916.531727.141834.9951

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-01 (this)32.341610.619125.379925.3908
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, Deutsche Telekom AG

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