diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..957b2579c6ef20995a09efd9a17f8fd90606f5ed --- /dev/null +++ b/.gitattributes @@ -0,0 +1,27 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bin.* filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zstandard filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..b4b4d526dd988db2373d9c9cdaa24a894a581281 --- /dev/null +++ b/.gitignore @@ -0,0 +1,64 @@ +# Locked files +*.lock +!dvc.lock + +# Extracted dummy data +datasets/**/dummy_data-zip-extracted/ + +# Compiled python modules. +*.pyc + +# Byte-compiled +_pycache__/ +.cache/ + +# Python egg metadata, regenerated from source files by setuptools. +*.egg-info +.eggs/ + +# PyPI distribution artifacts. +build/ +dist/ + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# pyenv +.python-version + +# Tests +.pytest_cache/ + +# Other +*.DS_Store + +# PyCharm/vscode +.idea +.vscode + +# keep only the empty datasets and metrics directory with it's __init__.py file +/src/*/datasets/* +!/src/*/datasets/__init__.py + +/src/*/metrics/* +!/src/*/metrics/__init__.py + +# Vim +.*.swp + +# playground +/playground + +# Sphinx documentation +docs/_build/ +docs/source/_build/ + +# Benchmark results +report.json +report.md \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..3a7b70ca0eb52467d35f254f0d6462f441038794 --- /dev/null +++ b/README.md @@ -0,0 +1,695 @@ +--- +annotations_creators: +- none +language_creators: +- unknown +language: +- am +- ar +- az +- bn +- my +- zh +- en +- fr +- gu +- ha +- hi +- ig +- id +- ja +- rn +- ko +- ky +- mr +- ne +- om +- ps +- fa +- gpe +- pt +- pa +- ru +- gd +- sr +- rsb +- si +- so +- es +- sw +- ta +- te +- th +- ti +- tr +- uk +- ur +- uz +- vi +- cy +- yo +license: +- cc-by-nc-sa-4.0 +multilinguality: +- unknown +size_categories: +- unknown +source_datasets: +- original +task_categories: +- summarization +task_ids: [] +pretty_name: xlsum +--- + +# Dataset Card for GEM/xlsum + +## Dataset Description + +- **Homepage:** https://github.com/csebuetnlp/xl-sum +- **Repository:** https://huggingface.co/datasets/csebuetnlp/xlsum/tree/main/data +- **Paper:** https://aclanthology.org/2021.findings-acl.413/ +- **Leaderboard:** http://explainaboard.nlpedia.ai/leaderboard/task_xlsum/ +- **Point of Contact:** Tahmid Hasan + +### Link to Main Data Card + +You can find the main data card on the [GEM Website](https://gem-benchmark.com/data_cards/xlsum). + +### Dataset Summary + +XLSum is a highly multilingual summarization dataset supporting 44 language. The data stems from BBC news articles. + +You can load the dataset via: +``` +import datasets +data = datasets.load_dataset('GEM/xlsum') +``` +The data loader can be found [here](https://huggingface.co/datasets/GEM/xlsum). + +#### website +[Github](https://github.com/csebuetnlp/xl-sum) + +#### paper +[ACL Anthology](https://aclanthology.org/2021.findings-acl.413/) + +## Dataset Overview + +### Where to find the Data and its Documentation + +#### Webpage + + + +[Github](https://github.com/csebuetnlp/xl-sum) + +#### Download + + + +[Huggingface](https://huggingface.co/datasets/csebuetnlp/xlsum/tree/main/data) + +#### Paper + + + +[ACL Anthology](https://aclanthology.org/2021.findings-acl.413/) + +#### BibTex + + + +``` +@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 + Mubasshir, Kazi and + Li, Yuan-Fang and + Kang, Yong-Bin and + Rahman, M. Sohel and + Shahriyar, Rifat", + booktitle = "Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021", + month = aug, + year = "2021", + address = "Online", + publisher = "Association for Computational Linguistics", + url = "https://aclanthology.org/2021.findings-acl.413", + pages = "4693--4703", +} +``` + +#### Contact Name + + + + +Tahmid Hasan + +#### Contact Email + + + +tahmidhasan@cse.buet.ac.bd + +#### Has a Leaderboard? + + + +yes + +#### Leaderboard Link + + + +[Explainaboard](http://explainaboard.nlpedia.ai/leaderboard/task_xlsum/) + +#### Leaderboard Details + + + +The leaderboard ranks models based on ROUGE scores (R1/R2/RL) of the generated summaries. + + + +### Languages and Intended Use + +#### Multilingual? + + + + +yes + +#### Covered Languages + + + + +`Amharic`, `Arabic`, `Azerbaijani`, `Bengali, Bangla`, `Burmese`, `Chinese (family)`, `English`, `French`, `Gujarati`, `Hausa`, `Hindi`, `Igbo`, `Indonesian`, `Japanese`, `Rundi`, `Korean`, `Kirghiz, Kyrgyz`, `Marathi`, `Nepali (individual language)`, `Oromo`, `Pushto, Pashto`, `Persian`, `Ghanaian Pidgin English`, `Portuguese`, `Panjabi, Punjabi`, `Russian`, `Scottish Gaelic, Gaelic`, `Serbian`, `Romano-Serbian`, `Sinhala, Sinhalese`, `Somali`, `Spanish, Castilian`, `Swahili (individual language), Kiswahili`, `Tamil`, `Telugu`, `Thai`, `Tigrinya`, `Turkish`, `Ukrainian`, `Urdu`, `Uzbek`, `Vietnamese`, `Welsh`, `Yoruba` + +#### License + + + + +cc-by-nc-sa-4.0: Creative Commons Attribution Non Commercial Share Alike 4.0 International + +#### Intended Use + + + +Abstractive summarization has centered around the English language, as most large abstractive summarization datasets are available in English only. Though there have been some recent efforts for curating multilingual abstractive summarization datasets, they are limited in terms of the number of languages covered, the number of training samples, or both. To this end, **XL-Sum** presents a large-scale abstractive summarization dataset of 1.35 million news articles from 45 languages crawled from the British Broadcasting Corporation website. It is intended to be used for both multilingual and per-language summarization tasks. + +#### Primary Task + + + +Summarization + +#### Communicative Goal + + + + +Summarize news-like text in one of 45 languages. + + +### Credit + +#### Curation Organization Type(s) + + + +`academic` + +#### Curation Organization(s) + + + +Bangladesh University of Engineering and Technology + +#### Who added the Dataset to GEM? + + + +Tahmid Hasan (Bangladesh University of Engineering and Technology), Abhik Bhattacharjee (Bangladesh University of Engineering and Technology) + + +### Dataset Structure + +#### Data Fields + + + +- `gem_id`: A string representing the article ID. +- `url`: A string representing the article URL. +- `title`: A string containing the article title. +- `summary`: A string containing the article summary. +- `text` : A string containing the article text. + + +#### Example Instance + + + +``` +{ + "gem_id": "GEM-xlsum_english-train-1589", + "url": "[BBC news](https://www.bbc.com/news)/technology-17657859", + "title": "Yahoo files e-book advert system patent applications", + "summary": "Yahoo has signalled it is investigating e-book adverts as a way to stimulate its earnings.", + "text": "Yahoo's patents suggest users could weigh the type of ads against the sizes of discount before purchase. It says in two US patent applications that ads for digital book readers have been \"less than optimal\" to date. The filings suggest that users could be offered titles at a variety of prices depending on the ads' prominence They add that the products shown could be determined by the type of book being read, or even the contents of a specific chapter, phrase or word. The paperwork was published by the US Patent and Trademark Office late last week and relates to work carried out at the firm's headquarters in Sunnyvale, California. \"Greater levels of advertising, which may be more valuable to an advertiser and potentially more distracting to an e-book reader, may warrant higher discounts,\" it states. Free books It suggests users could be offered ads as hyperlinks based within the book's text, in-laid text or even \"dynamic content\" such as video. Another idea suggests boxes at the bottom of a page could trail later chapters or quotes saying \"brought to you by Company A\". It adds that the more willing the customer is to see the ads, the greater the potential discount. \"Higher frequencies... may even be great enough to allow the e-book to be obtained for free,\" it states. The authors write that the type of ad could influence the value of the discount, with \"lower class advertising... such as teeth whitener advertisements\" offering a cheaper price than \"high\" or \"middle class\" adverts, for things like pizza. The inventors also suggest that ads could be linked to the mood or emotional state the reader is in as a they progress through a title. For example, they say if characters fall in love or show affection during a chapter, then ads for flowers or entertainment could be triggered. The patents also suggest this could applied to children's books - giving the Tom Hanks animated film Polar Express as an example. It says a scene showing a waiter giving the protagonists hot drinks \"may be an excellent opportunity to show an advertisement for hot cocoa, or a branded chocolate bar\". Another example states: \"If the setting includes young characters, a Coke advertisement could be provided, inviting the reader to enjoy a glass of Coke with his book, and providing a graphic of a cool glass.\" It adds that such targeting could be further enhanced by taking account of previous titles the owner has bought. 'Advertising-free zone' At present, several Amazon and Kobo e-book readers offer full-screen adverts when the device is switched off and show smaller ads on their menu screens, but the main text of the titles remains free of marketing. Yahoo does not currently provide ads to these devices, and a move into the area could boost its shrinking revenues. However, Philip Jones, deputy editor of the Bookseller magazine, said that the internet firm might struggle to get some of its ideas adopted. \"This has been mooted before and was fairly well decried,\" he said. \"Perhaps in a limited context it could work if the merchandise was strongly related to the title and was kept away from the text. \"But readers - particularly parents - like the fact that reading is an advertising-free zone. Authors would also want something to say about ads interrupting their narrative flow.\"" +} +``` + +#### Data Splits + + + +The splits in the dataset are specified by the language names, which are as follows: +- `amharic` +- `arabic` +- `azerbaijani` +- `bengali` +- `burmese` +- `chinese_simplified` +- `chinese_traditional` +- `english` +- `french` +- `gujarati` +- `hausa` +- `hindi` +- `igbo` +- `indonesian` +- `japanese` +- `kirundi` +- `korean` +- `kyrgyz` +- `marathi` +- `nepali` +- `oromo` +- `pashto` +- `persian` +- `pidgin` +- `portuguese` +- `punjabi` +- `russian` +- `scottish_gaelic` +- `serbian_cyrillic` +- `serbian_latin` +- `sinhala` +- `somali` +- `spanish` +- `swahili` +- `tamil` +- `telugu` +- `thai` +- `tigrinya` +- `turkish` +- `ukrainian` +- `urdu` +- `uzbek` +- `vietnamese` +- `welsh` +- `yoruba` + +#### Splitting Criteria + + + +We used a 80%-10%-10% split for all languages with a few exceptions. `English` was split 93%-3.5%-3.5% for the evaluation set size to resemble that of `CNN/DM` and `XSum`; `Scottish Gaelic`, `Kyrgyz` and `Sinhala` had relatively fewer samples, their evaluation sets were increased to 500 samples for more reliable evaluation. Same articles were used for evaluation in the two variants of Chinese and Serbian to prevent data leakage in multilingual training. Individual dataset download links with train-dev-test example counts are given below: + +Language | ISO 639-1 Code | BBC subdomain(s) | Train | Dev | Test | Total | +--------------|----------------|------------------|-------|-----|------|-------| +Amharic | am | [BBC amharic](https://www.bbc.com/amharic) | 5761 | 719 | 719 | 7199 | +Arabic | ar | [BBC arabic](https://www.bbc.com/arabic) | 37519 | 4689 | 4689 | 46897 | +Azerbaijani | az | [BBC azeri](https://www.bbc.com/azeri) | 6478 | 809 | 809 | 8096 | +Bengali | bn | [BBC bengali](https://www.bbc.com/bengali) | 8102 | 1012 | 1012 | 10126 | +Burmese | my | [BBC burmese](https://www.bbc.com/burmese) | 4569 | 570 | 570 | 5709 | +Chinese (Simplified) | zh-CN | [BBC ukchina](https://www.bbc.com/ukchina)/simp, [BBC zhongwen](https://www.bbc.com/zhongwen)/simp | 37362 | 4670 | 4670 | 46702 | +Chinese (Traditional) | zh-TW | [BBC ukchina](https://www.bbc.com/ukchina)/trad, [BBC zhongwen](https://www.bbc.com/zhongwen)/trad | 37373 | 4670 | 4670 | 46713 | +English | en | [BBC english](https://www.bbc.com/english), [BBC sinhala](https://www.bbc.com/sinhala) `*` | 306522 | 11535 | 11535 | 329592 | +French | fr | [BBC afrique](https://www.bbc.com/afrique) | 8697 | 1086 | 1086 | 10869 | +Gujarati | gu | [BBC gujarati](https://www.bbc.com/gujarati) | 9119 | 1139 | 1139 | 11397 | +Hausa | ha | [BBC hausa](https://www.bbc.com/hausa) | 6418 | 802 | 802 | 8022 | +Hindi | hi | [BBC hindi](https://www.bbc.com/hindi) | 70778 | 8847 | 8847 | 88472 | +Igbo | ig | [BBC igbo](https://www.bbc.com/igbo) | 4183 | 522 | 522 | 5227 | +Indonesian | id | [BBC indonesia](https://www.bbc.com/indonesia) | 38242 | 4780 | 4780 | 47802 | +Japanese | ja | [BBC japanese](https://www.bbc.com/japanese) | 7113 | 889 | 889 | 8891 | +Kirundi | rn | [BBC gahuza](https://www.bbc.com/gahuza) | 5746 | 718 | 718 | 7182 | +Korean | ko | [BBC korean](https://www.bbc.com/korean) | 4407 | 550 | 550 | 5507 | +Kyrgyz | ky | [BBC kyrgyz](https://www.bbc.com/kyrgyz) | 2266 | 500 | 500 | 3266 | +Marathi | mr | [BBC marathi](https://www.bbc.com/marathi) | 10903 | 1362 | 1362 | 13627 | +Nepali | np | [BBC nepali](https://www.bbc.com/nepali) | 5808 | 725 | 725 | 7258 | +Oromo | om | [BBC afaanoromoo](https://www.bbc.com/afaanoromoo) | 6063 | 757 | 757 | 7577 | +Pashto | ps | [BBC pashto](https://www.bbc.com/pashto) | 14353 | 1794 | 1794 | 17941 | +Persian | fa | [BBC persian](https://www.bbc.com/persian) | 47251 | 5906 | 5906 | 59063 | +Pidgin`**` | pcm | [BBC pidgin](https://www.bbc.com/pidgin) | 9208 | 1151 | 1151 | 11510 | +Portuguese | pt | [BBC portuguese](https://www.bbc.com/portuguese) | 57402 | 7175 | 7175 | 71752 | +Punjabi | pa | [BBC punjabi](https://www.bbc.com/punjabi) | 8215 | 1026 | 1026 | 10267 | +Russian | ru | [BBC russian](https://www.bbc.com/russian), [BBC ukrainian](https://www.bbc.com/ukrainian) `*` | 62243 | 7780 | 7780 | 77803 | +Scottish Gaelic | gd | [BBC naidheachdan](https://www.bbc.com/naidheachdan) | 1313 | 500 | 500 | 2313 | +Serbian (Cyrillic) | sr | [BBC serbian](https://www.bbc.com/serbian)/cyr | 7275 | 909 | 909 | 9093 | +Serbian (Latin) | sr | [BBC serbian](https://www.bbc.com/serbian)/lat | 7276 | 909 | 909 | 9094 | +Sinhala | si | [BBC sinhala](https://www.bbc.com/sinhala) | 3249 | 500 | 500 | 4249 | +Somali | so | [BBC somali](https://www.bbc.com/somali) | 5962 | 745 | 745 | 7452 | +Spanish | es | [BBC mundo](https://www.bbc.com/mundo) | 38110 | 4763 | 4763 | 47636 | +Swahili | sw | [BBC swahili](https://www.bbc.com/swahili) | 7898 | 987 | 987 | 9872 | +Tamil | ta | [BBC tamil](https://www.bbc.com/tamil) | 16222 | 2027 | 2027 | 20276 | +Telugu | te | [BBC telugu](https://www.bbc.com/telugu) | 10421 | 1302 | 1302 | 13025 | +Thai | th | [BBC thai](https://www.bbc.com/thai) | 6616 | 826 | 826 | 8268 | +Tigrinya | ti | [BBC tigrinya](https://www.bbc.com/tigrinya) | 5451 | 681 | 681 | 6813 | +Turkish | tr | [BBC turkce](https://www.bbc.com/turkce) | 27176 | 3397 | 3397 | 33970 | +Ukrainian | uk | [BBC ukrainian](https://www.bbc.com/ukrainian) | 43201 | 5399 | 5399 | 53999 | +Urdu | ur | [BBC urdu](https://www.bbc.com/urdu) | 67665 | 8458 | 8458 | 84581 | +Uzbek | uz | [BBC uzbek](https://www.bbc.com/uzbek) | 4728 | 590 | 590 | 5908 | +Vietnamese | vi | [BBC vietnamese](https://www.bbc.com/vietnamese) | 32111 | 4013 | 4013 | 40137 | +Welsh | cy | [BBC cymrufyw](https://www.bbc.com/cymrufyw) | 9732 | 1216 | 1216 | 12164 | +Yoruba | yo | [BBC yoruba](https://www.bbc.com/yoruba) | 6350 | 793 | 793 | 7936 | + +`*` A lot of articles in BBC Sinhala and BBC Ukrainian were written in English and Russian respectively. They were identified using [Fasttext](https://arxiv.org/abs/1607.01759) and moved accordingly. +`**` West African Pidgin English + + + +## Dataset in GEM + +### Rationale for Inclusion in GEM + +#### Why is the Dataset in GEM? + + + +Traditional abstractive text summarization has been centered around English and other high-resource languages. **XL-Sum** provides a large collection of high-quality article-summary pairs for 45 languages where the languages range from high-resource to extremely low-resource. This enables the research community to explore the summarization capabilities of different models for multiple languages and languages in isolation. We believe the addition of **XL-Sum** to GEM makes the domain of abstractive text summarization more diversified and inclusive to the research community. We hope our efforts in this work will encourage the community to push the boundaries of abstractive text summarization beyond the English language, especially for low and mid-resource languages, bringing technological advances to communities of these languages that have been traditionally under-served. + + +#### Similar Datasets + + + +yes + +#### Unique Language Coverage + + + +yes + +#### Difference from other GEM datasets + + + +The summaries are highly concise and abstractive. + +#### Ability that the Dataset measures + + + +Conciseness, abstractiveness, and overall summarization capability. + + +### GEM-Specific Curation + +#### Modificatied for GEM? + + + +no + +#### Additional Splits? + + + +no + + +### Getting Started with the Task + + + + +## Previous Results + +### Previous Results + +#### Measured Model Abilities + + + +Conciseness, abstractiveness, and overall summarization capability. + +#### Metrics + + + +`ROUGE` + +#### Proposed Evaluation + + + +ROUGE is the de facto evaluation metric used for text summarization. However, it was designed specifically for evaluating English texts. Due to the nature of the metric, scores are heavily dependent on text tokenization / stemming / unnecessary character removal, etc. Some modifications to the original ROUGE evaluation were done such as punctuation only removal, language specific tokenization/stemming to enable reliable comparison of source and target summaries across different scripts. + +#### Previous results available? + + + +no + + + +## Dataset Curation + +### Original Curation + +#### Original Curation Rationale + + + +State-of-the-art text summarization models are heavily data-driven, i.e., a large number of article-summary pairs are required to train them effectively. As a result, abstractive summarization has centered around the English language, as most large abstractive summarization datasets are available in English only. Though there have been some recent efforts for curating multilingual abstractive summarization datasets, they are limited in terms of the number of languages covered, the number of training samples, or both. To this end, we curate **XL-Sum**, a large-scale abstractive summarization dataset of 1.35 million news articles from 45 languages crawled from the British Broadcasting Corporation website. + + +#### Communicative Goal + + + +Introduce new languages in the english-centric domain of abstractive text summarization and enable both multilingual and per-language summarization. + +#### Sourced from Different Sources + + + +yes + +#### Source Details + + + +British Broadcasting Corporation (BBC) news websites. + + +### Language Data + +#### How was Language Data Obtained? + + + +`Found` + +#### Where was it found? + + + +`Multiple websites` + +#### Language Producers + + + +The language content was written by professional news editors hired by BBC. + +#### Topics Covered + + + +News + +#### Data Validation + + + +not validated + +#### Data Preprocessing + + + +We used 'NFKC' normalization on all text instances. + +#### Was Data Filtered? + + + +algorithmically + +#### Filter Criteria + + + +We designed a crawler to recursively crawl pages starting from the homepage by visiting different article links present in each page visited. We were able to take advantage of the fact that all BBC sites have somewhat similar structures, and were able to scrape articles from all sites. We discarded pages with no textual contents (mostly pages consisting of multimedia contents) before further processing. We designed a number of heuristics to make the extraction effective by carefully examining the HTML structures of the crawled pages: +1. The desired summary must be present within the beginning two paragraphs of an article. +2. The summary paragraph must have some portion of texts in bold format. +3. The summary paragraph may contain some hyperlinks that may not be bold. The proportion of bold texts and hyperlinked texts to the total length of the paragraph in consideration must be at least 95\%. +4. All texts except the summary and the headline must be included in the input text (including image captions). +5. The input text must be at least twice as large as the summary. + + + +### Structured Annotations + +#### Additional Annotations? + + + + +none + +#### Annotation Service? + + + +no + + +### Consent + +#### Any Consent Policy? + + + +yes + +#### Consent Policy Details + + + +BBC's policy specifies that the text content within its websites can be used for non-commercial research only. + + +### Private Identifying Information (PII) + +#### Contains PII? + + + + +likely + +#### Categories of PII + + + +`generic PII` + +#### Any PII Identification? + + + +no identification + + +### Maintenance + +#### Any Maintenance Plan? + + + +no + + + +## Broader Social Context + +### Previous Work on the Social Impact of the Dataset + +#### Usage of Models based on the Data + + + +no + + +### Impact on Under-Served Communities + +#### Addresses needs of underserved Communities? + + + +yes + +#### Details on how Dataset Addresses the Needs + + + +This dataset introduces summarization corpus for many languages where there weren't any datasets like this curated before. + + +### Discussion of Biases + +#### Any Documented Social Biases? + + + +no + +#### Are the Language Producers Representative of the Language? + + + +Yes + + + +## Considerations for Using the Data + +### PII Risks and Liability + + + +### Licenses + +#### Copyright Restrictions on the Dataset + + + +`research use only`, `non-commercial use only` + +#### Copyright Restrictions on the Language Data + + + +`research use only`, `non-commercial use only` + + +### Known Technical Limitations + +#### Technical Limitations + + + +Human evaluation showed most languages had a high percentage of good summaries in the upper nineties, almost none of the summaries contained any conflicting information, while about one-third on average had information that was not directly inferrable from the source article. Since generally multiple articles are written regarding an important event, there could be an overlap between the training and evaluation data in terms on content. + + +#### Unsuited Applications + + + +The dataset is limited to news domain only. Hence it wouldn't be advisable to use a model trained on this dataset for summarizing texts from a different domain i.e. literature, scientific text etc. Another pitfall could be hallucinations in the model generated summary. + +#### Discouraged Use Cases + + + +ROUGE evaluates the quality of the summary as a whole by considering up to 4-gram overlaps. Therefore, in an article about India if the word "India" in the generated summary gets replaced by "Pakistan" due to model hallucination, the overall score wouldn't be reduced significantly, but the entire meaning could get changed. \ No newline at end of file diff --git a/data/amharic_XLSum_v2.0.tar.bz2 b/data/amharic_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..af926c0e4ffdba57dc2fbac222a10b0f74e810a7 --- /dev/null +++ b/data/amharic_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cacdafc0a994e224a9e31e4dd0066ff7d384f6574f73b1e55f33a8db3f5a4a0 +size 7881877 diff --git a/data/arabic_XLSum_v2.0.tar.bz2 b/data/arabic_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..eb6f838827757f912b2d926856a56fcae6ac12a1 --- /dev/null +++ b/data/arabic_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:528febc7709f30dbb8594c626bbee9427bd0434552367f7fca2380eb6f84c893 +size 45335569 diff --git a/data/azerbaijani_XLSum_v2.0.tar.bz2 b/data/azerbaijani_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..22be3a9d80ff28134b39524167aa7849733ee843 --- /dev/null +++ b/data/azerbaijani_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5d0b724c64e59e2490bfd879d3c1f84e7b554b87c9cbcc649b4506f203ce004 +size 8871711 diff --git a/data/bengali_XLSum_v2.0.tar.bz2 b/data/bengali_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..d5379e17c91ae74db72707817f5c3def3d7bbcea --- /dev/null +++ b/data/bengali_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56a4c86ccbb036236fd71112f8f902f95cca90357117fda878282d3925baa348 +size 13228752 diff --git a/data/burmese_XLSum_v2.0.tar.bz2 b/data/burmese_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..f7ae4030bf93ffb711e0fc37a36dcfba7f63e098 --- /dev/null +++ b/data/burmese_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:caf661be42eaa959b70f3c3335a3b92d6cd0b04de46379a2cfeef6d943f34234 +size 4859221 diff --git a/data/chinese_simplified_XLSum_v2.0.tar.bz2 b/data/chinese_simplified_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..c28a558f88aa58fbdee7f05427e8115c822d4cb1 --- /dev/null +++ b/data/chinese_simplified_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96f5853a52cddb1645065cc0ab753ac11339b51ad61780fb6db9d481f1c23521 +size 54646188 diff --git a/data/chinese_traditional_XLSum_v2.0.tar.bz2 b/data/chinese_traditional_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..0954556b784fe4c33a5766ab66a71ff50bbeaddd --- /dev/null +++ b/data/chinese_traditional_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00676179dbee7e0d79a09bb7876505355123cff597154d089246004a624204a6 +size 54549956 diff --git a/data/english_XLSum_v2.0.tar.bz2 b/data/english_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..f4c1d9d9f2673e1b6cf5f679a000fc6427f99abe --- /dev/null +++ b/data/english_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8660bf83cb0cc382feb53e0c1e1344afb97e2d6ed9a23a878e5d489faaf158b3 +size 284734080 diff --git a/data/french_XLSum_v2.0.tar.bz2 b/data/french_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..92982a0805de78e3e8f80341090990b5c517d12f --- /dev/null +++ b/data/french_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b45d962a584182917dfae4a89cec095f67d8653882a39076ad014576cacc122b +size 9064921 diff --git a/data/gujarati_XLSum_v2.0.tar.bz2 b/data/gujarati_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..b8c4381a60ed649e08d0d40b81fb5d8f56f998ab --- /dev/null +++ b/data/gujarati_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0db4c2485c2e218247d2d7e8b115d40a0b9dbc4d9f698500a83f00da1d84a9f0 +size 16895732 diff --git a/data/hausa_XLSum_v2.0.tar.bz2 b/data/hausa_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..67936cbe0c8c77c7f44d61fd95af9a4bb13f1ea5 --- /dev/null +++ b/data/hausa_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a486b19a28399ff5e8894c001a1f7397c6623d2343b5a49265e8e09669fd19f1 +size 4751960 diff --git a/data/hindi_XLSum_v2.0.tar.bz2 b/data/hindi_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..287fd8576c49acf1a45c6f3a35fe6a120548827e --- /dev/null +++ b/data/hindi_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23ea4b8d98747b7f787694ac566be646564cff49ed5759de74143dd88464a288 +size 83946416 diff --git a/data/igbo_XLSum_v2.0.tar.bz2 b/data/igbo_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..f61e6cdb7061affecd42adadf4fb9784e0d0393f --- /dev/null +++ b/data/igbo_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6340473c2bda534ca39753a6e41761ba6d0806693dd4d7ddc16a51122a6f5b63 +size 2923279 diff --git a/data/indonesian_XLSum_v2.0.tar.bz2 b/data/indonesian_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..d319ea0b0780f3ac3fac81a24130f52599388b3d --- /dev/null +++ b/data/indonesian_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac96a1ff71b19cc8aded567d2ceffdfd8eb3e50ebc67954167992565ead7225d +size 41532524 diff --git a/data/japanese_XLSum_v2.0.tar.bz2 b/data/japanese_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..606e6ca197ead7b4f6beedb579b9c25f847c6c00 --- /dev/null +++ b/data/japanese_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ad0252b1a2066e6a94ee29544cdbb14eca30ccf6ea0c5e8211088076b279568 +size 10589619 diff --git a/data/kirundi_XLSum_v2.0.tar.bz2 b/data/kirundi_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..1be45eff53bfca3d748aea569bb1cfd3486e412a --- /dev/null +++ b/data/kirundi_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:160005f40dc2578fd3742800ecd3d91482d73b96e8f698f4073a155bffbda7e8 +size 4604632 diff --git a/data/korean_XLSum_v2.0.tar.bz2 b/data/korean_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..ea4859c6566815623e9709bddee9da55f2ecbcf9 --- /dev/null +++ b/data/korean_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93ee27d30bb04515601ad7184806df39749f010b59e483736f35adde38866cf1 +size 5989725 diff --git a/data/kyrgyz_XLSum_v2.0.tar.bz2 b/data/kyrgyz_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..49dec60da0716a07250963499246fed8f58ff2d7 --- /dev/null +++ b/data/kyrgyz_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1d66d5fd7a04e6ca6556ce739f2aaa79d22ca4de26957d2e6c2f2f519aaceda +size 3797046 diff --git a/data/marathi_XLSum_v2.0.tar.bz2 b/data/marathi_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..33d4830c601a9fdddf7df6cf9c49281dd866c7d2 --- /dev/null +++ b/data/marathi_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dab552f09b0d39a061b7591b78b33ab878ccb19f9826bd9c4e26d91b3db303d5 +size 19919105 diff --git a/data/nepali_XLSum_v2.0.tar.bz2 b/data/nepali_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..51f79665cdce29e5cc738478c8cf200f6c484076 --- /dev/null +++ b/data/nepali_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:abddcae659a12f8f092fd100791428bbe7236717cdab8f3973d8e8ecb1caa638 +size 6422373 diff --git a/data/oromo_XLSum_v2.0.tar.bz2 b/data/oromo_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..7578a751e59c2647c8ad321a0b73a509f7107be6 --- /dev/null +++ b/data/oromo_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:295edc5cfc14efcf4f93e7f3b183ffd237c5b7ffcc5a6af77e966352c84adf89 +size 7069355 diff --git a/data/pashto_XLSum_v2.0.tar.bz2 b/data/pashto_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..51eb0a79623dd9d255a6bacff4b742b76feab8d3 --- /dev/null +++ b/data/pashto_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0b740ca157a028f3400d2258fbbdfdd7703695a3c75065bd9a623dbd67bc8b1 +size 13263294 diff --git a/data/persian_XLSum_v2.0.tar.bz2 b/data/persian_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..5dabb50e62186df80c778a04dec617f93073cd66 --- /dev/null +++ b/data/persian_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12526b907fc52ef86a760d10f43420c83e6e4a168aefd2ca3292dada13635853 +size 67229218 diff --git a/data/pidgin_XLSum_v2.0.tar.bz2 b/data/pidgin_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..e4fe4b1197c0bdfd695b70d3299381a084eaa3a5 --- /dev/null +++ b/data/pidgin_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daf618d455563b2c9a4746f8e857ec1cc59c813a2a62c278d45359870ac8ddf5 +size 6348195 diff --git a/data/portuguese_XLSum_v2.0.tar.bz2 b/data/portuguese_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..ebbb5de87d7ae1689c856da0f9684eff851ca800 --- /dev/null +++ b/data/portuguese_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac7f19aa062aca82538b6ed01ea834f90e77f1c1323f7c51712ca149cefb4bda +size 80861861 diff --git a/data/punjabi_XLSum_v2.0.tar.bz2 b/data/punjabi_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..c79031aabef9078a97e686105794201010690a78 --- /dev/null +++ b/data/punjabi_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6aca0735080d763b7639c715cae7552d3d433b163fb52ff657370fc11f67eb42 +size 13785016 diff --git a/data/russian_XLSum_v2.0.tar.bz2 b/data/russian_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..f45d02bdd9241cfb58987afe781a818230b7a356 --- /dev/null +++ b/data/russian_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4bdcc886cc2c58251d422ef2a5ebc95aeab0b6884c2889b92b810d43dfe60cd +size 106029880 diff --git a/data/scottish_gaelic_XLSum_v2.0.tar.bz2 b/data/scottish_gaelic_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..a4461972c78577896a3290eb1535c9477fcfe465 --- /dev/null +++ b/data/scottish_gaelic_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e78d6e9a885c989e0fb38219b5829bf53b0962b14922f2242b8f162c8f95d270 +size 875028 diff --git a/data/serbian_cyrillic_XLSum_v2.0.tar.bz2 b/data/serbian_cyrillic_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..6117b120e3103a14bd27575f9a5b911fb9d72994 --- /dev/null +++ b/data/serbian_cyrillic_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9428a3bc7c4514a092d96f573ecdb1982fc70cb431dc1b0f3c1c8a6347f91b79 +size 15547317 diff --git a/data/serbian_latin_XLSum_v2.0.tar.bz2 b/data/serbian_latin_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..e429cb2eb1483c0b6d33999a2a6d9743e649e06c --- /dev/null +++ b/data/serbian_latin_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0086a859a13925aa5a15b0d6de27f29d7afc2edc98957dede1f3fddc0018d6f +size 14944408 diff --git a/data/sinhala_XLSum_v2.0.tar.bz2 b/data/sinhala_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..202fcd0f704053abbfb447ef946688ef046f2bbb --- /dev/null +++ b/data/sinhala_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb68243eb621e3d8517ca824558135e8b4a7daacc1c86d63744457537b01d165 +size 3140997 diff --git a/data/somali_XLSum_v2.0.tar.bz2 b/data/somali_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..b280e7bdcb6aac1b4203d6687d969bb8670f1243 --- /dev/null +++ b/data/somali_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d79e80c0a111ed0541860751ddf4451a948175037352ee0ab418783e4311b55b +size 5667863 diff --git a/data/spanish_XLSum_v2.0.tar.bz2 b/data/spanish_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..f48dc9b28869d5b7206a4efbc05b9440f2888371 --- /dev/null +++ b/data/spanish_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ad0121f6d4170bb18341230c9912d9c297de8f3ed01d57a0909ee40f9d0b5b7 +size 69970358 diff --git a/data/swahili_XLSum_v2.0.tar.bz2 b/data/swahili_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..9cc3288700d2ca8acb14998a9be265ec83eaae26 --- /dev/null +++ b/data/swahili_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fad0df2b081e02e74625f74493244199992cd9ef8874de21676aa1fc1abe78d +size 7138563 diff --git a/data/tamil_XLSum_v2.0.tar.bz2 b/data/tamil_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..99120f8593f6761a736b4ee555381cfc39437893 --- /dev/null +++ b/data/tamil_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2392798a0e3a9f06f3b324c2c7eaaed2370a30b16a055366366ec47114f0e0c4 +size 22326586 diff --git a/data/telugu_XLSum_v2.0.tar.bz2 b/data/telugu_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..f08370342bc9c5708a90cd586b15406ea123b7df --- /dev/null +++ b/data/telugu_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee8a91e313448c8b2fdfc7b89b762fc608b6ffb5b54733232394de95f7288909 +size 18072421 diff --git a/data/thai_XLSum_v2.0.tar.bz2 b/data/thai_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..0783bfb8a54d19a88f3ef6309828154e3c5ced77 --- /dev/null +++ b/data/thai_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0672c77e4c3cc3361fde2a32eeb71e208c9ab2ef390739cf2bff75c1ffadd921 +size 12145219 diff --git a/data/tigrinya_XLSum_v2.0.tar.bz2 b/data/tigrinya_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..48a386d35a451f3580ef3b3724c22fcd546711df --- /dev/null +++ b/data/tigrinya_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31c0d3a9c4c4b9e80d1ddf7984247b5c13303c1147dc253a047588a906e63e7d +size 7279264 diff --git a/data/turkish_XLSum_v2.0.tar.bz2 b/data/turkish_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..8f2d9c7bca36e81608a7aa06ca826c10c7965b85 --- /dev/null +++ b/data/turkish_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2067b5ed930a71c27188694cb72df0f62d57ec1f641f10e7e7a67620f837f8f +size 31866031 diff --git a/data/ukrainian_XLSum_v2.0.tar.bz2 b/data/ukrainian_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..0d7e78c8430aba7b056f02aea25fa2be0514ce46 --- /dev/null +++ b/data/ukrainian_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:442fe06e7d111f52f2e671a0b3938b4cfc1f85e05f1cf47be838f99ea76ef513 +size 57584793 diff --git a/data/urdu_XLSum_v2.0.tar.bz2 b/data/urdu_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..5039d42783d8a1a74aefbb14c5cbb4e814bd1975 --- /dev/null +++ b/data/urdu_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1949a3c2aff7473551dddb13549ad535355fc0dc83f451da38e7e7629f4b8be +size 70748145 diff --git a/data/uzbek_XLSum_v2.0.tar.bz2 b/data/uzbek_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..e9f15342a1c9c3ad877959a59b5c078305dd95c2 --- /dev/null +++ b/data/uzbek_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6097ece4c2d6a90144899deea5ed30243b20d1813ee4e9e7b30c6ed7d7a8c272 +size 7577100 diff --git a/data/vietnamese_XLSum_v2.0.tar.bz2 b/data/vietnamese_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..22baf2fefea0b8989a0ee803156b4f09d6bfa400 --- /dev/null +++ b/data/vietnamese_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bdbeca8d4208781f5e36c2feff883afa239bceb5010f8bcb7f11d8004df23e3 +size 55047635 diff --git a/data/welsh_XLSum_v2.0.tar.bz2 b/data/welsh_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..8010de657c8327055035c1f3bc58050a13a7d558 --- /dev/null +++ b/data/welsh_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:031b82f3a181168f46ebf2a61d1daf57dfb422a6fb48753231c413b0fca159db +size 8802686 diff --git a/data/yoruba_XLSum_v2.0.tar.bz2 b/data/yoruba_XLSum_v2.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..24ecd622f08fc255462eeebdca2fa47ae0849510 --- /dev/null +++ b/data/yoruba_XLSum_v2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:acbeab144166ec776b7bdcb3b69d69cd5592a4e47e1595725325458f496a127b +size 5098498 diff --git a/dummy/amharic/2.0.0/dummy_data.zip b/dummy/amharic/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..8c9757b30362a6624cc49a82ba40eb4897aac007 --- /dev/null +++ b/dummy/amharic/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a0fb5edc57c777c588ecd0866ee387263fde8dfb42f32a784ddaf8005b95dd6 +size 32031 diff --git a/dummy/arabic/2.0.0/dummy_data.zip b/dummy/arabic/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..8c147de47f3665cc90cbb06ac78ee0b6e10428aa --- /dev/null +++ b/dummy/arabic/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fde69eab35d1e14af7bcfbba55b0fb022925468a39e1e3a98517659c15b07e06 +size 26628 diff --git a/dummy/azerbaijani/2.0.0/dummy_data.zip b/dummy/azerbaijani/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..0cbdfc0f5adc4dd0ea75c2d35d862bc5fe31d2cd --- /dev/null +++ b/dummy/azerbaijani/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d1696061c16c16d5d8d6506f98a2ea90e8d6144c6d0a64c81b3c442cb2f0088 +size 29683 diff --git a/dummy/bengali/2.0.0/dummy_data.zip b/dummy/bengali/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..44303b1c8774260eadae51c2db37fee8c556a17b --- /dev/null +++ b/dummy/bengali/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1a03035a20942adbfcfdc955604ecf2f05f0ed079434ca48da4254707b961bc +size 37245 diff --git a/dummy/burmese/2.0.0/dummy_data.zip b/dummy/burmese/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..9b50b1d31c8780db3009b8579b1fe0107390551c --- /dev/null +++ b/dummy/burmese/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab3f88fe3e93a3d101b3ef7e9985d603d62de1c1b8c9630512064e6a9c4bffdb +size 18088 diff --git a/dummy/chinese_simplified/2.0.0/dummy_data.zip b/dummy/chinese_simplified/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..65208ddbbbffdc1a1977f1374c80ba8fb44650f4 --- /dev/null +++ b/dummy/chinese_simplified/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83b15d88f10a2509d78ada614a3693ca6e943e3062bf307ab7b56c18d4947d74 +size 32654 diff --git a/dummy/chinese_traditional/2.0.0/dummy_data.zip b/dummy/chinese_traditional/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..375035fd7f876b19538e660a5bda7cc663f91bb9 --- /dev/null +++ b/dummy/chinese_traditional/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30f41acc6624340f3a5364f7a39e7f982b340e30a5a164c1343156e2d5c11a66 +size 36527 diff --git a/dummy/english/2.0.0/dummy_data.zip b/dummy/english/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..2d6ce954370635b5bb5adc1201d823c6798bc978 --- /dev/null +++ b/dummy/english/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7630d021c3b2684c69c39b566e5ac2c0b47863a37091080518a166a90ec558f3 +size 18812 diff --git a/dummy/french/2.0.0/dummy_data.zip b/dummy/french/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..44292f44ff5d4cfc4e22aede0241ef2dd4abb5d3 --- /dev/null +++ b/dummy/french/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:561a8fe6e769065fcc4421592cae7f225f484c91488ab370d08bf1961811d113 +size 28986 diff --git a/dummy/gujarati/2.0.0/dummy_data.zip b/dummy/gujarati/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..3021addee9c7d04a83342a5b82c9087d19812864 --- /dev/null +++ b/dummy/gujarati/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0aa09e0bff4bf20c69281896236505d5faa78bd5d1967c78891a043a1e14ec3 +size 30119 diff --git a/dummy/hausa/2.0.0/dummy_data.zip b/dummy/hausa/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..90a54223e08d4c84a3834d3f97116987c4150724 --- /dev/null +++ b/dummy/hausa/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:667a190b5d0dde6bd9ef7c2de99bca84a36aa26d1d5f89dd5d4c2e5aedc14751 +size 16125 diff --git a/dummy/hindi/2.0.0/dummy_data.zip b/dummy/hindi/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..fa5fa3923dead93b155d2abb566b2fef174d1bb0 --- /dev/null +++ b/dummy/hindi/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d8b453ccd5f8130b792954ee20b27a3d26809336316afb0b617704728e8f952 +size 38763 diff --git a/dummy/igbo/2.0.0/dummy_data.zip b/dummy/igbo/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..1ade14b036697bd28a1c24b567325b5e1c4c4c05 --- /dev/null +++ b/dummy/igbo/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b1d6a528b080fe75c791b3a1660f252bba7cdeec46247c6d151547bb20a67c5 +size 11720 diff --git a/dummy/indonesian/2.0.0/dummy_data.zip b/dummy/indonesian/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..661416ccd3bb8a0e7f249a46f60642ade25fe782 --- /dev/null +++ b/dummy/indonesian/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52618b72dd3421377cc61ed372f1297dfc0d18abdf74d1d3df4accacfc110ee8 +size 19065 diff --git a/dummy/japanese/2.0.0/dummy_data.zip b/dummy/japanese/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..089de8b6833a5719938479397f73eb99b8553a6f --- /dev/null +++ b/dummy/japanese/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f5ebf5d2d7fce6c4734ae7daf22d65a202f144041969b6035e7b6791ee20972 +size 36656 diff --git a/dummy/kirundi/2.0.0/dummy_data.zip b/dummy/kirundi/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..f15cb433ce64076507bed49bb63228d69e11a75b --- /dev/null +++ b/dummy/kirundi/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74dcb0db009a45678b38a0e80f7e079faa9d322a3fe1a464313c84095e26c922 +size 12633 diff --git a/dummy/korean/2.0.0/dummy_data.zip b/dummy/korean/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..dcb06925270bcc36003e88c4f6e5718a224be6b8 --- /dev/null +++ b/dummy/korean/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95d8c6c64b079075d7165958c94c70059701be68af9baa2c7d66be17db23f7ff +size 19075 diff --git a/dummy/kyrgyz/2.0.0/dummy_data.zip b/dummy/kyrgyz/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..361b040dd4269be67b466543327f51ae8872ccb4 --- /dev/null +++ b/dummy/kyrgyz/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c74bef8162900eb203e6a4ff435f4fb0e63fdfd9bdf9d5763fc99a3c671116cb +size 32342 diff --git a/dummy/marathi/2.0.0/dummy_data.zip b/dummy/marathi/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..dcb45043780f207243f1f6452fe3136000c96146 --- /dev/null +++ b/dummy/marathi/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7ed754778df105c9f9ffeeb2a5986300c4636d1d4b2cbf348a32424076a46c0 +size 31366 diff --git a/dummy/nepali/2.0.0/dummy_data.zip b/dummy/nepali/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..5588b69611f307194993e64efa273f6a7f471fce --- /dev/null +++ b/dummy/nepali/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cc3f05e8efb0cf8518067fb65cd632112676a349a1952d963ded9404a0afdfa +size 35058 diff --git a/dummy/oromo/2.0.0/dummy_data.zip b/dummy/oromo/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..1c285ee9f24ac1eb4486bfb75f15a66efda11d84 --- /dev/null +++ b/dummy/oromo/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab8fb5da02236a9b3275cb33fa9dac79147125576c36c0fe6d551c1a6e23ae14 +size 27841 diff --git a/dummy/pashto/2.0.0/dummy_data.zip b/dummy/pashto/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..b7ff5f8f45a12e0d63eee2e63f9868ef9a6e69c3 --- /dev/null +++ b/dummy/pashto/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e6d051e8273c44cb71b3dc50bd1c7627c4f086d250cc15715fd6447682039ff +size 20331 diff --git a/dummy/persian/2.0.0/dummy_data.zip b/dummy/persian/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..9deea146eb4b7f61bd0ad2bd4bc684a822f57c74 --- /dev/null +++ b/dummy/persian/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98bb075c8ddab2dfdd7ab32aa7a040cc3ffdb73ad1c01e3457d546361fa8e4bf +size 40850 diff --git a/dummy/pidgin/2.0.0/dummy_data.zip b/dummy/pidgin/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..0439f70c95ca9cb86dd258e3144133560c363771 --- /dev/null +++ b/dummy/pidgin/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a06d32ea73d918e000a34fdbd7508469e0c61aac66f59ea4961ae0d3a8d6b03 +size 12275 diff --git a/dummy/portuguese/2.0.0/dummy_data.zip b/dummy/portuguese/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..29b3c53d2c9e1f8b01f3024177f83f6f5f7349c1 --- /dev/null +++ b/dummy/portuguese/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:325a7342d5cb6e405ad762bf0e0cf4ebc50caab6c80275bb13da4b5e26f28aa3 +size 26744 diff --git a/dummy/punjabi/2.0.0/dummy_data.zip b/dummy/punjabi/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..dcd3a2adefe7ba03055214661d3f2938396309ff --- /dev/null +++ b/dummy/punjabi/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff417195cf72ed65fc98f019f1166231897464d0c65e3c94f219e3a97cc36883 +size 33011 diff --git a/dummy/russian/2.0.0/dummy_data.zip b/dummy/russian/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..74504c0a1a22246e1ab16c05ada789e4fd688faf --- /dev/null +++ b/dummy/russian/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5b818921cee75e961e8fd647abfd1c18f9fc794908f12a524446d1a836e4b72 +size 31622 diff --git a/dummy/scottish_gaelic/2.0.0/dummy_data.zip b/dummy/scottish_gaelic/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..153f3c6e7e1d0c5013a97773a94e56a6bc0a2ffb --- /dev/null +++ b/dummy/scottish_gaelic/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f2aab8c8e8aa51490a7d42bd2e55c9f2425df87184843d005bd4710d4bd2ca6 +size 10871 diff --git a/dummy/serbian_cyrillic/2.0.0/dummy_data.zip b/dummy/serbian_cyrillic/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..5e301d01c4b430b55c1cd1778f9041aa6c843f73 --- /dev/null +++ b/dummy/serbian_cyrillic/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f8c8d8f2bcdc89182a778aef28b385a06cf24abbd9b25406be2efde7be66439 +size 47399 diff --git a/dummy/serbian_latin/2.0.0/dummy_data.zip b/dummy/serbian_latin/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..e24a60658cc01b7828ac88f642ef9e25f95eebb2 --- /dev/null +++ b/dummy/serbian_latin/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7a1c03d572b8d25e6f419fdac092be53fc0e54bf6084f8fd5e1ef89a51cf225 +size 42772 diff --git a/dummy/sinhala/2.0.0/dummy_data.zip b/dummy/sinhala/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..6fa5b295d98c8400e7b78b082a861c59070d09ad --- /dev/null +++ b/dummy/sinhala/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3939d570cdb7287262705f384ebc2316aa5c970e2052d2c39b37ed8aa0f8734 +size 12355 diff --git a/dummy/somali/2.0.0/dummy_data.zip b/dummy/somali/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..568d1d31e3e6ccb52229644726741af9462cd465 --- /dev/null +++ b/dummy/somali/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d3703074c96af2ba7f08ae7ef975028c3cd2169003af38c59296a4669fb8186 +size 17472 diff --git a/dummy/spanish/2.0.0/dummy_data.zip b/dummy/spanish/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..0b93b238f59febec82d32e33f8ac1fc5b6f52836 --- /dev/null +++ b/dummy/spanish/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdb4f68cf4152b48f97f9c03248350cb97a92586f8cf34bf6b94b5fbf9a0d241 +size 27270 diff --git a/dummy/swahili/2.0.0/dummy_data.zip b/dummy/swahili/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..c947aba68b68442a416cfeb292bcea5ec81ffb37 --- /dev/null +++ b/dummy/swahili/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c0eedd49a4c7a3bff5567a44da2fce7cf78306ef0cd4534271b8867dbf8a961 +size 15130 diff --git a/dummy/tamil/2.0.0/dummy_data.zip b/dummy/tamil/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..7bead82ad0a2f88d27c30a1f704c0e3ef8d79b60 --- /dev/null +++ b/dummy/tamil/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3431ba7b5650d6036eafc7d7cc95e9e05fca3c048b8603bfe3d21b1f6717f9f8 +size 36906 diff --git a/dummy/telugu/2.0.0/dummy_data.zip b/dummy/telugu/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..5dba013ead756d5191928b47e9495969f3254275 --- /dev/null +++ b/dummy/telugu/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77422584003c14ac7ad57d01ffc297749e984cde932191dd7cbe36c73fbc0007 +size 31510 diff --git a/dummy/thai/2.0.0/dummy_data.zip b/dummy/thai/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..9ceb972295bd001e649d96e355360c0c82dd0e26 --- /dev/null +++ b/dummy/thai/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bb642021652a73f0c1c3d6a78480fa4c42686c8b20415ee39f612ddb8abdcff +size 32318 diff --git a/dummy/tigrinya/2.0.0/dummy_data.zip b/dummy/tigrinya/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..9ef3a71f08f114d1319b170368d8e8b25b81aee2 --- /dev/null +++ b/dummy/tigrinya/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f22f33a7dbb7c53b7b1ff74f0ef1402e424b033e27511c882a28a4bfa346d1ac +size 27173 diff --git a/dummy/turkish/2.0.0/dummy_data.zip b/dummy/turkish/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..61dd55f09a35ddb6e3b0486fe9832eb1abbc6ecd --- /dev/null +++ b/dummy/turkish/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5484ecb480512f3b416443a649e573131828719da807f6d7cb2fcaa876c8f891 +size 30610 diff --git a/dummy/ukrainian/2.0.0/dummy_data.zip b/dummy/ukrainian/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..edebaaaaac5e9818d59f1b8c9dfe645e9a2f77df --- /dev/null +++ b/dummy/ukrainian/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f888ff5be25e9b21b2411ad35f6d517f784bd23189bb6b01224804cf4542d9b0 +size 26369 diff --git a/dummy/urdu/2.0.0/dummy_data.zip b/dummy/urdu/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..f13ddaf3dbfdf53b32696b74f03b83c7848589ec --- /dev/null +++ b/dummy/urdu/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63b2505b5a4bb28c56a933c15b8ecd33164edad4f1d88672ca7bdad281e9b0c2 +size 21933 diff --git a/dummy/uzbek/2.0.0/dummy_data.zip b/dummy/uzbek/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..c4df12c186df64db84a539f93673a713a675fe00 --- /dev/null +++ b/dummy/uzbek/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e44471b3bc3cd5097acbb0c27ef5dd05b30a2aa13df4c28af214053bdf14f476 +size 41258 diff --git a/dummy/vietnamese/2.0.0/dummy_data.zip b/dummy/vietnamese/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..224ce0bea4e7e89418cfd3154979f9d5e9b74c1e --- /dev/null +++ b/dummy/vietnamese/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:575eb2a14bb8b77a984e39166682eb9f739784cf79696f35edf0d1f1b46907e6 +size 43882 diff --git a/dummy/welsh/2.0.0/dummy_data.zip b/dummy/welsh/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..7c6e6194dcec7afd68c838f4e1a7d0ca69306932 --- /dev/null +++ b/dummy/welsh/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d4ebd3e74c2ce1d64ca9b5345746178875a5d337202f07572a9954837df7d97 +size 17625 diff --git a/dummy/yoruba/2.0.0/dummy_data.zip b/dummy/yoruba/2.0.0/dummy_data.zip new file mode 100644 index 0000000000000000000000000000000000000000..491b349db85323d993979e25412841daa7e76b09 --- /dev/null +++ b/dummy/yoruba/2.0.0/dummy_data.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:111fe3615ecd3344995325cabc7895a2eb45411db1939dc760135dd621ae43f5 +size 18455 diff --git a/xlsum.json b/xlsum.json new file mode 100644 index 0000000000000000000000000000000000000000..3f25fdc0c65091292067c46e02283a61877c8249 --- /dev/null +++ b/xlsum.json @@ -0,0 +1,224 @@ +{ + "overview": { + "where": { + "has-leaderboard": "yes", + "leaderboard-url": "[Explainaboard](http://explainaboard.nlpedia.ai/leaderboard/task_xlsum/)", + "leaderboard-description": "The leaderboard ranks models based on ROUGE scores (R1/R2/RL) of the generated summaries.\n", + "website": "[Github](https://github.com/csebuetnlp/xl-sum)", + "data-url": "[Huggingface](https://huggingface.co/datasets/csebuetnlp/xlsum/tree/main/data)", + "paper-url": "[ACL Anthology](https://aclanthology.org/2021.findings-acl.413/)", + "paper-bibtext": "```\n@inproceedings{hasan-etal-2021-xl,\n title = \"{XL}-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languages\",\n author = \"Hasan, Tahmid and\n Bhattacharjee, Abhik and\n Islam, Md. Saiful and\n Mubasshir, Kazi and\n Li, Yuan-Fang and\n Kang, Yong-Bin and\n Rahman, M. Sohel and\n Shahriyar, Rifat\",\n booktitle = \"Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021\",\n month = aug,\n year = \"2021\",\n address = \"Online\",\n publisher = \"Association for Computational Linguistics\",\n url = \"https://aclanthology.org/2021.findings-acl.413\",\n pages = \"4693--4703\",\n}\n```", + "contact-name": "Tahmid Hasan", + "contact-email": "tahmidhasan@cse.buet.ac.bd" + }, + "languages": { + "is-multilingual": "yes", + "license": "cc-by-nc-sa-4.0: Creative Commons Attribution Non Commercial Share Alike 4.0 International", + "task-other": "N/A", + "language-names": [ + "Amharic", + "Arabic", + "Azerbaijani", + "Bengali, Bangla", + "Burmese", + "Chinese (family)", + "English", + "French", + "Gujarati", + "Hausa", + "Hindi", + "Igbo", + "Indonesian", + "Japanese", + "Rundi", + "Korean", + "Kirghiz, Kyrgyz", + "Marathi", + "Nepali (individual language)", + "Oromo", + "Pushto, Pashto", + "Persian", + "Ghanaian Pidgin English", + "Portuguese", + "Panjabi, Punjabi", + "Russian", + "Scottish Gaelic, Gaelic", + "Serbian", + "Romano-Serbian", + "Sinhala, Sinhalese", + "Somali", + "Spanish, Castilian", + "Swahili (individual language), Kiswahili", + "Tamil", + "Telugu", + "Thai", + "Tigrinya", + "Turkish", + "Ukrainian", + "Urdu", + "Uzbek", + "Vietnamese", + "Welsh", + "Yoruba" + ], + "license-other": "N/A", + "communicative": "Summarize news-like text in one of 45 languages.", + "task": "Summarization", + "intended-use": "Abstractive summarization has centered around the English language, as most large abstractive summarization datasets are available in English only. Though there have been some recent efforts for curating multilingual abstractive summarization datasets, they are limited in terms of the number of languages covered, the number of training samples, or both. To this end, **XL-Sum** presents a large-scale abstractive summarization dataset of 1.35 million news articles from 45 languages crawled from the British Broadcasting Corporation website. It is intended to be used for both multilingual and per-language summarization tasks.", + "language-dialects": "N/A", + "language-speakers": "N/A" + }, + "credit": { + "organization-type": [ + "academic" + ], + "organization-names": "Bangladesh University of Engineering and Technology", + "creators": "", + "funding": "N/A", + "gem-added-by": "Tahmid Hasan (Bangladesh University of Engineering and Technology), Abhik Bhattacharjee (Bangladesh University of Engineering and Technology)" + }, + "structure": { + "data-fields": "- `gem_id`: A string representing the article ID.\n- `url`: A string representing the article URL.\n- `title`: A string containing the article title.\n- `summary`: A string containing the article summary.\n- `text` : A string containing the article text. \n", + "structure-example": "```\n{\n \"gem_id\": \"GEM-xlsum_english-train-1589\",\n \"url\": \"[BBC news](https://www.bbc.com/news)/technology-17657859\",\n \"title\": \"Yahoo files e-book advert system patent applications\",\n \"summary\": \"Yahoo has signalled it is investigating e-book adverts as a way to stimulate its earnings.\",\n \"text\": \"Yahoo's patents suggest users could weigh the type of ads against the sizes of discount before purchase. It says in two US patent applications that ads for digital book readers have been \\\"less than optimal\\\" to date. The filings suggest that users could be offered titles at a variety of prices depending on the ads' prominence They add that the products shown could be determined by the type of book being read, or even the contents of a specific chapter, phrase or word. The paperwork was published by the US Patent and Trademark Office late last week and relates to work carried out at the firm's headquarters in Sunnyvale, California. \\\"Greater levels of advertising, which may be more valuable to an advertiser and potentially more distracting to an e-book reader, may warrant higher discounts,\\\" it states. Free books It suggests users could be offered ads as hyperlinks based within the book's text, in-laid text or even \\\"dynamic content\\\" such as video. Another idea suggests boxes at the bottom of a page could trail later chapters or quotes saying \\\"brought to you by Company A\\\". It adds that the more willing the customer is to see the ads, the greater the potential discount. \\\"Higher frequencies... may even be great enough to allow the e-book to be obtained for free,\\\" it states. The authors write that the type of ad could influence the value of the discount, with \\\"lower class advertising... such as teeth whitener advertisements\\\" offering a cheaper price than \\\"high\\\" or \\\"middle class\\\" adverts, for things like pizza. The inventors also suggest that ads could be linked to the mood or emotional state the reader is in as a they progress through a title. For example, they say if characters fall in love or show affection during a chapter, then ads for flowers or entertainment could be triggered. The patents also suggest this could applied to children's books - giving the Tom Hanks animated film Polar Express as an example. It says a scene showing a waiter giving the protagonists hot drinks \\\"may be an excellent opportunity to show an advertisement for hot cocoa, or a branded chocolate bar\\\". Another example states: \\\"If the setting includes young characters, a Coke advertisement could be provided, inviting the reader to enjoy a glass of Coke with his book, and providing a graphic of a cool glass.\\\" It adds that such targeting could be further enhanced by taking account of previous titles the owner has bought. 'Advertising-free zone' At present, several Amazon and Kobo e-book readers offer full-screen adverts when the device is switched off and show smaller ads on their menu screens, but the main text of the titles remains free of marketing. Yahoo does not currently provide ads to these devices, and a move into the area could boost its shrinking revenues. However, Philip Jones, deputy editor of the Bookseller magazine, said that the internet firm might struggle to get some of its ideas adopted. \\\"This has been mooted before and was fairly well decried,\\\" he said. \\\"Perhaps in a limited context it could work if the merchandise was strongly related to the title and was kept away from the text. \\\"But readers - particularly parents - like the fact that reading is an advertising-free zone. Authors would also want something to say about ads interrupting their narrative flow.\\\"\"\n}\n```", + "structure-splits": "The splits in the dataset are specified by the language names, which are as follows:\n- `amharic`\n- `arabic`\n- `azerbaijani`\n- `bengali`\n- `burmese`\n- `chinese_simplified`\n- `chinese_traditional`\n- `english`\n- `french`\n- `gujarati`\n- `hausa`\n- `hindi`\n- `igbo`\n- `indonesian`\n- `japanese`\n- `kirundi`\n- `korean`\n- `kyrgyz`\n- `marathi`\n- `nepali`\n- `oromo`\n- `pashto`\n- `persian`\n- `pidgin`\n- `portuguese`\n- `punjabi`\n- `russian`\n- `scottish_gaelic`\n- `serbian_cyrillic`\n- `serbian_latin`\n- `sinhala`\n- `somali`\n- `spanish`\n- `swahili`\n- `tamil`\n- `telugu`\n- `thai`\n- `tigrinya`\n- `turkish`\n- `ukrainian`\n- `urdu`\n- `uzbek`\n- `vietnamese`\n- `welsh`\n- `yoruba`", + "structure-splits-criteria": "We used a 80%-10%-10% split for all languages with a few exceptions. `English` was split 93%-3.5%-3.5% for the evaluation set size to resemble that of `CNN/DM` and `XSum`; `Scottish Gaelic`, `Kyrgyz` and `Sinhala` had relatively fewer samples, their evaluation sets were increased to 500 samples for more reliable evaluation. Same articles were used for evaluation in the two variants of Chinese and Serbian to prevent data leakage in multilingual training. Individual dataset download links with train-dev-test example counts are given below:\n\nLanguage | ISO 639-1 Code | BBC subdomain(s) | Train | Dev | Test | Total |\n--------------|----------------|------------------|-------|-----|------|-------|\nAmharic | am | [BBC amharic](https://www.bbc.com/amharic) | 5761 | 719 | 719 | 7199 |\nArabic | ar | [BBC arabic](https://www.bbc.com/arabic) | 37519 | 4689 | 4689 | 46897 |\nAzerbaijani | az | [BBC azeri](https://www.bbc.com/azeri) | 6478 | 809 | 809 | 8096 |\nBengali | bn | [BBC bengali](https://www.bbc.com/bengali) | 8102 | 1012 | 1012 | 10126 |\nBurmese | my | [BBC burmese](https://www.bbc.com/burmese) | 4569 | 570 | 570 | 5709 |\nChinese (Simplified) | zh-CN | [BBC ukchina](https://www.bbc.com/ukchina)/simp, [BBC zhongwen](https://www.bbc.com/zhongwen)/simp | 37362 | 4670 | 4670 | 46702 |\nChinese (Traditional) | zh-TW | [BBC ukchina](https://www.bbc.com/ukchina)/trad, [BBC zhongwen](https://www.bbc.com/zhongwen)/trad | 37373 | 4670 | 4670 | 46713 |\nEnglish | en | [BBC english](https://www.bbc.com/english), [BBC sinhala](https://www.bbc.com/sinhala) `*` | 306522 | 11535 | 11535 | 329592 |\nFrench | fr | [BBC afrique](https://www.bbc.com/afrique) | 8697 | 1086 | 1086 | 10869 |\nGujarati | gu | [BBC gujarati](https://www.bbc.com/gujarati) | 9119 | 1139 | 1139 | 11397 |\nHausa | ha | [BBC hausa](https://www.bbc.com/hausa) | 6418 | 802 | 802 | 8022 |\nHindi | hi | [BBC hindi](https://www.bbc.com/hindi) | 70778 | 8847 | 8847 | 88472 |\nIgbo | ig | [BBC igbo](https://www.bbc.com/igbo) | 4183 | 522 | 522 | 5227 |\nIndonesian | id | [BBC indonesia](https://www.bbc.com/indonesia) | 38242 | 4780 | 4780 | 47802 |\nJapanese | ja | [BBC japanese](https://www.bbc.com/japanese) | 7113 | 889 | 889 | 8891 |\nKirundi | rn | [BBC gahuza](https://www.bbc.com/gahuza) | 5746 | 718 | 718 | 7182 |\nKorean | ko | [BBC korean](https://www.bbc.com/korean) | 4407 | 550 | 550 | 5507 |\nKyrgyz | ky | [BBC kyrgyz](https://www.bbc.com/kyrgyz) | 2266 | 500 | 500 | 3266 |\nMarathi | mr | [BBC marathi](https://www.bbc.com/marathi) | 10903 | 1362 | 1362 | 13627 |\nNepali | np | [BBC nepali](https://www.bbc.com/nepali) | 5808 | 725 | 725 | 7258 |\nOromo | om | [BBC afaanoromoo](https://www.bbc.com/afaanoromoo) | 6063 | 757 | 757 | 7577 |\nPashto | ps | [BBC pashto](https://www.bbc.com/pashto) | 14353 | 1794 | 1794 | 17941 |\nPersian | fa | [BBC persian](https://www.bbc.com/persian) | 47251 | 5906 | 5906 | 59063 |\nPidgin`**` | pcm | [BBC pidgin](https://www.bbc.com/pidgin) | 9208 | 1151 | 1151 | 11510 |\nPortuguese | pt | [BBC portuguese](https://www.bbc.com/portuguese) | 57402 | 7175 | 7175 | 71752 |\nPunjabi | pa | [BBC punjabi](https://www.bbc.com/punjabi) | 8215 | 1026 | 1026 | 10267 |\nRussian | ru | [BBC russian](https://www.bbc.com/russian), [BBC ukrainian](https://www.bbc.com/ukrainian) `*` | 62243 | 7780 | 7780 | 77803 |\nScottish Gaelic | gd | [BBC naidheachdan](https://www.bbc.com/naidheachdan) | 1313 | 500 | 500 | 2313 |\nSerbian (Cyrillic) | sr | [BBC serbian](https://www.bbc.com/serbian)/cyr | 7275 | 909 | 909 | 9093 |\nSerbian (Latin) | sr | [BBC serbian](https://www.bbc.com/serbian)/lat | 7276 | 909 | 909 | 9094 |\nSinhala | si | [BBC sinhala](https://www.bbc.com/sinhala) | 3249 | 500 | 500 | 4249 |\nSomali | so | [BBC somali](https://www.bbc.com/somali) | 5962 | 745 | 745 | 7452 |\nSpanish | es | [BBC mundo](https://www.bbc.com/mundo) | 38110 | 4763 | 4763 | 47636 |\nSwahili | sw | [BBC swahili](https://www.bbc.com/swahili) | 7898 | 987 | 987 | 9872 |\nTamil | ta | [BBC tamil](https://www.bbc.com/tamil) | 16222 | 2027 | 2027 | 20276 |\nTelugu | te | [BBC telugu](https://www.bbc.com/telugu) | 10421 | 1302 | 1302 | 13025 |\nThai | th | [BBC thai](https://www.bbc.com/thai) | 6616 | 826 | 826 | 8268 |\nTigrinya | ti | [BBC tigrinya](https://www.bbc.com/tigrinya) | 5451 | 681 | 681 | 6813 |\nTurkish | tr | [BBC turkce](https://www.bbc.com/turkce) | 27176 | 3397 | 3397 | 33970 |\nUkrainian | uk | [BBC ukrainian](https://www.bbc.com/ukrainian) | 43201 | 5399 | 5399 | 53999 |\nUrdu | ur | [BBC urdu](https://www.bbc.com/urdu) | 67665 | 8458 | 8458 | 84581 |\nUzbek | uz | [BBC uzbek](https://www.bbc.com/uzbek) | 4728 | 590 | 590 | 5908 |\nVietnamese | vi | [BBC vietnamese](https://www.bbc.com/vietnamese) | 32111 | 4013 | 4013 | 40137 |\nWelsh | cy | [BBC cymrufyw](https://www.bbc.com/cymrufyw) | 9732 | 1216 | 1216 | 12164 |\nYoruba | yo | [BBC yoruba](https://www.bbc.com/yoruba) | 6350 | 793 | 793 | 7936 |\n\n`*` A lot of articles in BBC Sinhala and BBC Ukrainian were written in English and Russian respectively. They were identified using [Fasttext](https://arxiv.org/abs/1607.01759) and moved accordingly.\n`**` West African Pidgin English", + "structure-description": "N/A", + "structure-labels": "N/A", + "structure-outlier": "N/A" + }, + "what": { + "dataset": "XLSum is a highly multilingual summarization dataset supporting 44 language. The data stems from BBC news articles. " + } + }, + "curation": { + "original": { + "is-aggregated": "yes", + "aggregated-sources": "British Broadcasting Corporation (BBC) news websites.", + "rationale": "State-of-the-art text summarization models are heavily data-driven, i.e., a large number of article-summary pairs are required to train them effectively. As a result, abstractive summarization has centered around the English language, as most large abstractive summarization datasets are available in English only. Though there have been some recent efforts for curating multilingual abstractive summarization datasets, they are limited in terms of the number of languages covered, the number of training samples, or both. To this end, we curate **XL-Sum**, a large-scale abstractive summarization dataset of 1.35 million news articles from 45 languages crawled from the British Broadcasting Corporation website.\n", + "communicative": "Introduce new languages in the english-centric domain of abstractive text summarization and enable both multilingual and per-language summarization." + }, + "language": { + "found": [ + "Multiple websites" + ], + "crowdsourced": [], + "created": "N/A", + "machine-generated": "N/A", + "validated": "not validated", + "is-filtered": "algorithmically", + "filtered-criteria": "We designed a crawler to recursively crawl pages starting from the homepage by visiting different article links present in each page visited. We were able to take advantage of the fact that all BBC sites have somewhat similar structures, and were able to scrape articles from all sites. We discarded pages with no textual contents (mostly pages consisting of multimedia contents) before further processing. We designed a number of heuristics to make the extraction effective by carefully examining the HTML structures of the crawled pages:\n1. The desired summary must be present within the beginning two paragraphs of an article.\n2. The summary paragraph must have some portion of texts in bold format.\n3. The summary paragraph may contain some hyperlinks that may not be bold. The proportion of bold texts and hyperlinked texts to the total length of the paragraph in consideration must be at least 95\\%.\n4. All texts except the summary and the headline must be included in the input text (including image captions).\n5. The input text must be at least twice as large as the summary.\n", + "obtained": [ + "Found" + ], + "producers-description": "The language content was written by professional news editors hired by BBC.", + "pre-processed": "We used 'NFKC' normalization on all text instances.", + "topics": "News" + }, + "annotations": { + "origin": "none", + "rater-number": "N/A", + "rater-qualifications": "N/A", + "rater-training-num": "N/A", + "rater-test-num": "N/A", + "rater-annotation-service-bool": "no", + "rater-annotation-service": [], + "values": "N/A", + "quality-control": [], + "quality-control-details": "N/A" + }, + "consent": { + "has-consent": "yes", + "consent-policy": "BBC's policy specifies that the text content within its websites can be used for non-commercial research only.", + "consent-other": "N/A", + "no-consent-justification": "N/A" + }, + "pii": { + "has-pii": "likely", + "no-pii-justification": "N/A", + "is-pii-identified": "no identification", + "pii-identified-method": "N/A", + "is-pii-replaced": "N/A", + "pii-replaced-method": "N/A", + "pii-categories": [ + "generic PII" + ] + }, + "maintenance": { + "has-maintenance": "no", + "description": "N/A", + "contact": "N/A", + "contestation-mechanism": "N/A", + "contestation-link": "N/A", + "contestation-description": "N/A" + } + }, + "gem": { + "rationale": { + "sole-task-dataset": "yes", + "sole-language-task-dataset": "yes", + "distinction-description": "The summaries are highly concise and abstractive.", + "contribution": "Traditional abstractive text summarization has been centered around English and other high-resource languages. **XL-Sum** provides a large collection of high-quality article-summary pairs for 45 languages where the languages range from high-resource to extremely low-resource. This enables the research community to explore the summarization capabilities of different models for multiple languages and languages in isolation. We believe the addition of **XL-Sum** to GEM makes the domain of abstractive text summarization more diversified and inclusive to the research community. We hope our efforts in this work will encourage the community to push the boundaries of abstractive text summarization beyond the English language, especially for low and mid-resource languages, bringing technological advances to communities of these languages that have been traditionally under-served.\n", + "model-ability": "Conciseness, abstractiveness, and overall summarization capability." + }, + "curation": { + "has-additional-curation": "no", + "modification-types": [], + "modification-description": "N/A", + "has-additional-splits": "no", + "additional-splits-description": "N/A", + "additional-splits-capacicites": "N/A" + }, + "starting": {} + }, + "results": { + "results": { + "other-metrics-definitions": "N/A", + "has-previous-results": "no", + "current-evaluation": "N/A", + "previous-results": "N/A", + "model-abilities": "Conciseness, abstractiveness, and overall summarization capability.", + "metrics": [ + "ROUGE" + ], + "original-evaluation": "ROUGE is the de facto evaluation metric used for text summarization. However, it was designed specifically for evaluating English texts. Due to the nature of the metric, scores are heavily dependent on text tokenization / stemming / unnecessary character removal, etc. Some modifications to the original ROUGE evaluation were done such as punctuation only removal, language specific tokenization/stemming to enable reliable comparison of source and target summaries across different scripts." + } + }, + "considerations": { + "pii": { + "risks-description": "N/A" + }, + "licenses": { + "dataset-restrictions-other": "N/A", + "data-copyright-other": "N/A", + "dataset-restrictions": [ + "research use only", + "non-commercial use only" + ], + "data-copyright": [ + "research use only", + "non-commercial use only" + ] + }, + "limitations": { + "data-technical-limitations": "Human evaluation showed most languages had a high percentage of good summaries in the upper nineties, almost none of the summaries contained any conflicting information, while about one-third on average had information that was not directly inferrable from the source article. Since generally multiple articles are written regarding an important event, there could be an overlap between the training and evaluation data in terms on content. \n", + "data-unsuited-applications": "The dataset is limited to news domain only. Hence it wouldn't be advisable to use a model trained on this dataset for summarizing texts from a different domain i.e. literature, scientific text etc. Another pitfall could be hallucinations in the model generated summary. ", + "data-discouraged-use": "ROUGE evaluates the quality of the summary as a whole by considering up to 4-gram overlaps. Therefore, in an article about India if the word \"India\" in the generated summary gets replaced by \"Pakistan\" due to model hallucination, the overall score wouldn't be reduced significantly, but the entire meaning could get changed." + } + }, + "context": { + "previous": { + "is-deployed": "no", + "described-risks": "N/A", + "changes-from-observation": "N/A" + }, + "underserved": { + "helps-underserved": "yes", + "underserved-description": "This dataset introduces summarization corpus for many languages where there weren't any datasets like this curated before." + }, + "biases": { + "has-biases": "no", + "bias-analyses": "N/A", + "speaker-distibution": "Yes" + } + } +} \ No newline at end of file diff --git a/xlsum.py b/xlsum.py new file mode 100644 index 0000000000000000000000000000000000000000..fd75ade8404a8c4dce0912a1e73ce025cf907c8d --- /dev/null +++ b/xlsum.py @@ -0,0 +1,169 @@ +"""XL-Sum abstractive summarization dataset.""" + + +import json +import os + +import datasets + + +_CITATION = """\ +@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 + Mubasshir, Kazi and + Li, Yuan-Fang and + Kang, Yong-Bin and + Rahman, M. Sohel and + Shahriyar, Rifat", + booktitle = "Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021", + month = aug, + year = "2021", + address = "Online", + publisher = "Association for Computational Linguistics", + url = "https://aclanthology.org/2021.findings-acl.413", + pages = "4693--4703", +} +""" + + +_DESCRIPTION = """\ +We present XLSum, a comprehensive and diverse dataset comprising 1.35 million professionally +annotated article-summary pairs from BBC, extracted using a set of carefully designed heuristics. +The dataset covers 45 languages ranging from low to high-resource, for many of which no +public dataset is currently available. XL-Sum is highly abstractive, concise, +and of high quality, as indicated by human and intrinsic evaluation. +""" + +_HOMEPAGE = "https://github.com/csebuetnlp/xl-sum" + +_LICENSE = "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)" + +_URL = "https://huggingface.co/datasets/GEM/xlsum/resolve/main/data/{}_XLSum_v{}.tar.bz2" + +_LANGUAGES = [ + "oromo", + "french", + "amharic", + "arabic", + "azerbaijani", + "bengali", + "burmese", + "chinese_simplified", + "chinese_traditional", + "welsh", + "english", + "kirundi", + "gujarati", + "hausa", + "hindi", + "igbo", + "indonesian", + "japanese", + "korean", + "kyrgyz", + "marathi", + "spanish", + "scottish_gaelic", + "nepali", + "pashto", + "persian", + "pidgin", + "portuguese", + "punjabi", + "russian", + "serbian_cyrillic", + "serbian_latin", + "sinhala", + "somali", + "swahili", + "tamil", + "telugu", + "thai", + "tigrinya", + "turkish", + "ukrainian", + "urdu", + "uzbek", + "vietnamese", + "yoruba", +] + + +class Xlsum(datasets.GeneratorBasedBuilder): + VERSION = datasets.Version("2.0.0") + + BUILDER_CONFIGS = [ + datasets.BuilderConfig( + name="{}".format(lang), + version=datasets.Version("2.0.0") + ) + for lang in _LANGUAGES + ] + + def _info(self): + return datasets.DatasetInfo( + description=_DESCRIPTION, + features=datasets.Features( + { + "gem_id": datasets.Value("string"), + "url": datasets.Value("string"), + "title": datasets.Value("string"), + "target": datasets.Value("string"), + "references": [datasets.Value("string")], + "text": datasets.Value("string"), + } + ), + supervised_keys=None, + homepage=_HOMEPAGE, + citation=_CITATION, + license=_LICENSE, + version=self.VERSION, + ) + + def _split_generators(self, dl_manager): + """Returns SplitGenerators.""" + lang = str(self.config.name) + url = _URL.format(lang, self.VERSION.version_str[:-2]) + + data_dir = dl_manager.download_and_extract(url) + return [ + datasets.SplitGenerator( + name=datasets.Split.TRAIN, + gen_kwargs={ + "filepath": os.path.join(data_dir, lang + "_train.jsonl"), + "split": "train" + }, + ), + datasets.SplitGenerator( + name=datasets.Split.TEST, + gen_kwargs={ + "filepath": os.path.join(data_dir, lang + "_test.jsonl"), + "split": "test" + }, + ), + datasets.SplitGenerator( + name=datasets.Split.VALIDATION, + gen_kwargs={ + "filepath": os.path.join(data_dir, lang + "_val.jsonl"), + "split": "validation" + }, + ), + ] + + def _generate_examples(self, filepath, split): + """Yields examples as (key, example) tuples.""" + + with open(filepath, encoding="utf-8") as f: + for idx_, row in enumerate(f, 1): + data = json.loads(row) + yield idx_, { + "gem_id": f"xlsum_{self.config.name}-{split}-{idx_}", + "url": data["url"], + "title": data["title"], + "target": data["summary"], + "references": [data["summary"]], + "text": data["text"], + }