/ Модель

Характеристики

Контекст
1 024 токена
Параметры
457 млн
Лицензия
CC BY-NC-SA 4.0
Архитектура
mbart · dense
Базовая модель
mbart-large-50-many-to-many-mmt
Библиотека
transformers
Опубликована
17 июн 2026

mbart50-xlsum

СуммаризацияТекст → текст4 профессии

Многоязычная модель mBART-50, дообученная для создания кратких сводок новостных статей на 15 языках.

72скачиваний за 30 дней0лайковвеса обновлены27 июн 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

mskayacioglu/mbart50-xlsum — многоязычная модель для абстрактивного суммирования новостных статей, разработанная в рамках проекта samurAI. Она дообучена на 15 языковых поднаборах GEM/xlsum на основе facebook/mbart-large-50-many-to-many-mmt и использует архитектуру MBartForConditionalGeneration; размер — 457,4 млн параметров. Модель предназначена для создания кратких сводок новостей и интеграции в конвейеры обработки новостных лент с проверкой человеком.

Модель поддерживает арабский, китайский, английский, французский, хинди, индонезийский, японский, корейский, персидский, португальский, русский, испанский, турецкий, украинский и вьетнамский языки. Контекст — до 1024 токенов, однако при обучении и оценке статьи обрезались до 512 токенов. Весовые файлы доступны в формате safetensors. Лицензия CC BY-NC-SA 4.0 разрешает использование с указанием авторства и на условиях распространения производных материалов на той же лицензии, но запрещает коммерческое использование.

Модель подходит для подготовки черновых сводок новостных статей и сравнительных исследований многоязычного суммирования. Она может выдумывать факты, имена, даты, числа и причинно-следственные связи; результаты оценки охватывают 11 языков, поэтому качество на остальных языках этими результатами не подтверждено. Перед публикацией сводки следует сверять с исходной статьёй; качество может снижаться на текстах вне новостного корпуса BBC и в специализированных областях.

Сценарии применения

  • создание краткой сводки новостной статьи
  • суммирование статей из многоязычной RSS-ленты
  • подготовка черновиков новостных дайджестов
  • сравнение стратегий обучения для многоязычного суммирования

Ограничения

Модель может выдумывать факты, имена, даты, числа и причинно-следственные связи; длинные статьи обрезались до 512 токенов, поэтому важная информация в конце может теряться. Итоговая оценка охватывала только 11 языков, а качество на других источниках и в специализированных областях может быть ниже; сводки следует проверять по оригиналу.

Для каких профессий подходит4

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

mBART50 XL-Sum

mbart50-xlsum is a multilingual abstractive news summarization model fine-tuned from facebook/mbart-large-50-many-to-many-mmt on 15 language subsets of GEM/xlsum. It was developed as part of a multilingual news aggregation and summarization project.

This checkpoint is the first of two mBART-50 training variants produced by the project. It uses a standard multilingual mixture, a 96-token target limit, and a compute-conscious two-epoch training setup. Compared with the second variant, it is slightly more source-grounded in the project's automatic diagnostics, while producing very similar reference-overlap scores.

Related Project

This model was developed as part of samurAI, a multilingual news aggregation and summarization system with RSS ingestion, local transformer summarization, SQLite storage, a Flask web interface, JSON APIs, and evaluation notebooks.

Related checkpoint: mskayacioglu/mbart-xlsum-2

Model Details

PropertyValue
TaskMultilingual abstractive news summarization
Base modelfacebook/mbart-large-50-many-to-many-mmt
ArchitectureMBartForConditionalGeneration
Encoder / decoder layers12 / 12
Attention heads16
Hidden size1,024
Vocabulary size250,054
Maximum model positions1,024
Fine-tuning source length512 tokens
Fine-tuning target length96 tokens
FrameworkPyTorch / Transformers

Languages

The fine-tuning mixture contains the following 15 languages:

LanguagemBART codeLanguagemBART code
Arabicar_ARChinese (Simplified)zh_CN
Englishen_XXFrenchfr_XX
Hindihi_INIndonesianid_ID
Japaneseja_XXKoreanko_KR
Persianfa_IRPortuguesept_XX
Russianru_RUSpanishes_XX
Turkishtr_TRUkrainianuk_UA
Vietnamesevi_VN

Quantitative evaluation was completed for 11 of these languages: Arabic, Chinese (Simplified), English, French, Hindi, Japanese, Korean, Russian, Spanish, Turkish, and Vietnamese. Results for Indonesian, Persian, Portuguese, and Ukrainian are not reported in the final common evaluation, so performance claims should not be extrapolated to them.

Intended Use

The model is intended for:

  • summarizing news articles in a supported source language;
  • research on multilingual abstractive summarization;
  • comparing multilingual training and language-balancing strategies;
  • integration into news-processing pipelines with human review.

The model is not intended to be a factual authority, to make editorial decisions autonomously, or to summarize high-stakes medical, legal, financial, or emergency information without verification against the source.

Training Data

The checkpoint was trained on GEM/xlsum, a multilingual collection of BBC news articles paired with short reference summaries. Examples from the 15 selected language subsets were combined, shuffled, and annotated with their corresponding mBART language codes.

The final benchmark below is separate from these training-time subsets and uses the full executable test subsets from csebuetnlp/xlsum.

SplitExamples used
Train818,129
Validation3,000 (up to 200 per language)
Test3,000 (up to 200 per language)

Training Procedure

HyperparameterValue
Epochs2
Learning rate3e-5
Per-device training batch size32
Gradient accumulation8
Effective batch size256
Weight decay0.01
Warmup ratio0.03
Precisionbfloat16 when CUDA was available
Maximum source length512
Maximum target length96
Seed42

Generation-based validation was disabled during training to control compute cost, and no best-checkpoint selection was performed. Training completed 6,390 optimization steps with a final reported training loss of 2.2078 over approximately 4 hours 44 minutes on CUDA hardware.

Evaluation

Protocol

The final evaluation used the complete available test subsets of csebuetnlp/xlsum for 11 languages, totaling 52,219 examples per model. No per-language sample cap was applied. Scores below are macro-averaged across languages and reported on a 0-1 scale.

Articles were truncated to 512 tokens. Evaluation used batch size 8 and mixed precision on CUDA. The common mBART decoding configuration was:

max_length=90
min_length=24
num_beams=5
length_penalty=1.1
no_repeat_ngram_size=3
repetition_penalty=1.05
early_stopping=True

Turkish used a language-specific configuration with max_length=84, min_length=26, 6 beams, length penalty 1.3, 4-gram repetition blocking, and repetition penalty 1.2. The target language token was forced for every language.

Overall Results

MetricScore
ROUGE-1 F10.3559
ROUGE-2 F10.1735
ROUGE-L F10.2785
BLEU0.1202
METEOR-lite0.3157

METEOR-lite is the project's lightweight exact-token implementation and must not be interpreted as the canonical METEOR package score.

Results by Language

LanguageSamplesROUGE-1ROUGE-2ROUGE-LBLEUMETEOR-lite
Arabic4,6890.26740.11040.22800.07260.2249
English11,5350.34890.13330.27690.09570.3024
Spanish4,7630.30320.10130.22510.06750.2523
French1,0860.31210.13450.25040.09530.2678
Hindi8,8470.56770.29050.40520.21220.5301
Japanese8890.49970.30740.36690.21330.4444
Korean5500.42950.24930.34290.18170.4038
Russian7,7800.24010.09260.19960.06300.1932
Turkish3,3970.22910.09830.20650.07040.1991
Vietnamese4,0130.32830.15750.25070.09470.2895
Chinese (Simplified)4,6700.38840.23350.31110.15520.3654

Supplementary Diagnostics

These diagnostics are included to describe model behavior, not as established factuality or human-quality measures.

DiagnosticValue
Mean latency per example0.1917 s
Mean compression ratio23.2527
Mean source coverage0.8481
Mean novel bigram ratio0.4229
Mean repeated trigram ratio0.0039
Mean generated summary length31.17 tokens
Automatic completeness proxy0.4525
Automatic factuality proxy0.8522

Latency was measured in one CUDA evaluation environment and is not portable across hardware, software versions, or batch configurations. The completeness and factuality values are project-specific automatic proxies; they do not prove semantic completeness or factual correctness.

Usage

import torch
from transformers import MBart50TokenizerFast, MBartForConditionalGeneration

model_id = "mskayacioglu/mbart50-xlsum"
language_code = "tr_TR"

tokenizer = MBart50TokenizerFast.from_pretrained(model_id)
model = MBartForConditionalGeneration.from_pretrained(model_id)
model.eval()

device = "cuda" if torch.cuda.is_available() else "cpu"
model.to(device)

article = "Özetlenecek Türkçe haber metni buraya yazılır."
tokenizer.src_lang = language_code

inputs = tokenizer(
    article,
    return_tensors="pt",
    max_length=512,
    truncation=True,
).to(device)

with torch.inference_mode():
    output_ids = model.generate(
        **inputs,
        forced_bos_token_id=tokenizer.lang_code_to_id[language_code],
        max_length=84,
        min_length=26,
        num_beams=6,
        length_penalty=1.3,
        no_repeat_ngram_size=4,
        repetition_penalty=1.2,
        early_stopping=True,
    )

summary = tokenizer.batch_decode(output_ids, skip_special_tokens=True)[0]
print(summary)

For languages other than Turkish, the evaluation configuration used max_length=90, min_length=24, 5 beams, length penalty 1.1, 3-gram repetition blocking, and repetition penalty 1.05.

Limitations and Risks

  • The model can hallucinate facts, names, dates, quantities, or causal relationships.
  • Inputs longer than 512 tokens were truncated during fine-tuning and evaluation; important information near the end of long articles may be omitted.
  • XL-Sum is based on BBC news. Performance may decline on other publishers, informal writing, specialist domains, or structurally noisy web text.
  • Automatic overlap metrics reward lexical similarity and do not establish factual consistency or summary usefulness.
  • Evaluation coverage is uneven across languages and includes only 11 languages in the final common benchmark.
  • The training mixture is imbalanced across languages, so high-resource languages can influence the model more strongly.
  • The model may reproduce social, geographic, and editorial biases present in its pretrained parameters and news data.
  • Always verify generated summaries against the original article before publication or high-stakes use.

License

XL-Sum is distributed under CC BY-NC-SA 4.0. This model card therefore declares the same license for the fine-tuned checkpoint. Users are responsible for checking the terms of the base model and dataset and for ensuring that their intended use is permitted. In particular, the dataset license restricts commercial use.

Citation

If you use the model, cite the XL-Sum dataset and mBART-50:

@inproceedings{hasan-etal-2021-xl,
  title     = {{XL-Sum}: Large-Scale Multilingual Abstractive Summarization for 44 Languages},
  author    = {Hasan, Tahmid and Bhattacharjee, Abhik and Islam, Md. Saiful and Samin, Kazi and Li, Yuan-Fang and Kang, Yong-Bin and Rahman, M. Sohel and Shahriyar, Rifat},
  booktitle = {Findings of ACL-IJCNLP 2021},
  year      = {2021},
  pages     = {4693--4703},
  eprint    = {2106.13822},
  archivePrefix = {arXiv}
}

@article{tang2020multilingual,
  title   = {Multilingual Translation with Extensible Multilingual Pretraining and Finetuning},
  author  = {Tang, Yuqing and Tran, Chau and Li, Xian and Chen, Peng-Jen and Goyal, Naman and Chaudhary, Vishrav and Gu, Jiatao and Fan, Angela},
  journal = {arXiv preprint arXiv:2008.00401},
  year    = {2020},
  eprint  = {2008.00401},
  archivePrefix = {arXiv}
}

Model Card Author

Mert Samet Kayacıoğlu

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
MBartForConditionalGeneration
Ревизия весов
df3485d

0 моделей