CoolFace
Datasetpublic

aiana94/polynews

Dataset Card for PolyNews Dataset Summary PolyNews is a multilingual dataset containing news titles in 77 languages and 19 scripts. Uses This dataset can be used for domain adaptation of language models, language modeling or text generation. Languages There are 77 languages available: Code Language Script #Articles (K) amh_Ethi Amharic Ethiopic 0.551 arb_Arab Modern Standard Arabic Arabic 10.882 ayr_Latn Central Aymara… See the full description on the dataset page: https://huggingface.co/datasets/aiana94/polynews.

sourceHugging Facecc-by-nc-4.0updated 2y agoView on Hugging Face
6likes481downloads
Dataset Card

Dataset Card for PolyNews

Table of Contents

Dataset Description

Dataset Summary

PolyNews is a multilingual dataset containing news titles in 77 languages and 19 scripts.

Uses

This dataset can be used for domain adaptation of language models, language modeling or text generation.

Languages

There are 77 languages available:

**Code****Language****Script****\#Articles (K)**
amh\_EthiAmharicEthiopic0.551
arb\_ArabModern Standard ArabicArabic10.882
ayr\_LatnCentral AymaraLatin12.878
bam\_LatnBambaraLatin2.916
bbj\_LatnGhomálá’Latin1.737
ben\_BengBengaliBengali2.268
bos\_LatnBosnianLatin0.298
bul\_CyrlBulgarianCyrillic1.791
cat\_LatnCatalanLatin30.410
ces\_LatnCzechLatin58.382
ckb\_ArabCentral KurdishArabic0.014
dan\_LatnDanishLatin9.456
deu\_LatnGermanLatin145.484
ell\_GrekGreekGreek50.176
eng\_LatnEnglishLatin981.430
est\_LatnEstonianLatin3.942
ewe\_LatnÉwéLatin2.003
fil\_LatnFilipinoLatin3.3132
fin\_LatnFinnishLatin19.602
fon\_LatnFonLatin2.610
fra\_LatnFrenchLatin481.117
guj\_GujrGujaratiGujarati0.690
guw\_LatnGunLatin1.068
hau\_LatnHausaLatin7.898
heb\_HebrHebrewHebrew0.355
hin\_DevaHindiDevanagari0.707
hun\_LatnHungarianLatin22.219
ibo\_LatnIgboLatin7.709
ind\_LatnIndonesianLatin17.749
ita\_LatnItalianLatin163.396
jpn\_JpanJapaneseJapanese20.778
kaz\_CyrlKazakhCyrillic0.763
khm\_KhmrKhmerKhmer0.227
kor\_HangKoreanHangul3.527
lav\_LatnLatvianLatin3.971
lin\_LatnLingalaLatin0.602
lit\_LatnLithuanianLatin3.948
lug\_LatnGandaLatin4.769
luo\_LatnLuoLatin4.250
mkd\_CyrlMacedonianCyrillic10.537
mos\_LatnMossiLatin2.458
mya\_MymrBurmeseMyanmar0.583
nld\_LatnDutchLatin53.184
nor\_LatnNorwegianLatin0.529
npi\_DevaNepaliDevanagari0.220
orm\_LatnOromoLatin1.124
ory\_OryaOdiaOriya0.038
pan\_GuruEastern PanjabiGurmukhi0.336
pcm\_LatnNigerian PidginLatin5.742
pes\_ArabWestern PersianArabic1.431
plt\_LatnMalagasyLatin393.767
pol\_LatnPolishLatin80.960
por\_LatnPortugueseLatin156.039
ron\_LatnRomanianLatin10.472
run\_LatnRundiLatin1.113
rus\_CyrlRussianCyrillic143.283
sna\_LatnShonaLatin1.128
som\_LatnSomaliLatin1.019
spa\_LatnSpanishLatin681.121
sqi\_LatnAlbanianLatin7.274
srp\_CyrlSerbianCyrillic1.056
srp\_LatnSerbianLatin58.012
swe\_LatnSwedishLatin12.323
swh\_LatnSwahiliLatin47.337
tam\_TamlTamilTamil0.358
tet\_LatnTetunLatin0.626
tha\_ThaiThaiThai0.091
tir\_EthiTigrinyaEthiopic0.079
tsn\_LatnTswanaLatin2.075
tur\_LatnTurkishLatin19.793
twi\_LatnTwiLatin3.012
ukr\_CyrlUkrainianCyrillic0.292
urd\_ArabUrduArabic0.804
wol\_LatnWolofLatin3.344
xho\_LatnXhosaLatin0.709
yor\_LatnYorùbáLatin8.011
zho\_HansChineseHan (Simplified)59.771
zho\_HantChineseHan (Traditional)54.561
zul\_LatnZuluLatin3.376

Dataset Structure

Data Instances

>>> from datasets import load_dataset
>>> data = load_dataset('aiana94/polynews', 'ron_Latn')

# Please, specify the language code,

# A data point example is below:

{
"text": "Un public numeros. Este uimitor succesul după doar trei ediții . ",
"provenance": "globalvoices"
}

Data Fields

  • —text (string): news text
  • —provenance (string) : source dataset for the news example

Data Splits

For all languages, there is only the train split.

Dataset Creation

Curation Rationale

Multiple multilingual, human-translated, datasets containing news texts have been released in recent years. However, these datasets are stored in different formats and various websites, and many contain numerous near duplicates. With PolyNews, we aim to provide an easily-accessible, unified and deduplicated dataset that combines these disparate data sources. It can be used for domain adaptation of language models, language modeling or text generation in both high-resource and low-resource languages.

Source Data

The source data consists of five multilingual news datasets.

Data Collection and Processing

We processed the data using a working script which covers the entire processing pipeline. It can be found here.

The data processing pipeline consists of:

  1. 1.Downloading the WMT-News and GlobalVoices News from OPUS.
  2. 2.Downloading the latest dump from WikiNews.
  3. 3.Loading the MasakhaNews and MAFAND datasets from Hugging Face Hub (only the train splits).
  4. 4.Concatenating, per language, all news texts from the source datasets.
  5. 5.Data cleaning (e.g., removal of exact duplicates, short texts, texts in other scripts)
  6. 6.MinHash near-deduplication per language.

Annotations

We augment the original samples with the provenance annotation which specifies the original data source from which a particular examples stems.

Personal and Sensitive Information

The data is sourced from newspaper sources and contains mentions of public figures and individuals.

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

Users should keep in mind that the dataset contains short news texts (e.g., mostly titles), which might limit the applicability of the developed systems to other domains.

Additional Information

Licensing Information

The dataset is released under the CC BY-NC Attribution-NonCommercial 4.0 International license.

Citation Infomation

BibTeX:

bibtex
@misc{iana2024news,
      title={News Without Borders: Domain Adaptation of Multilingual Sentence Embeddings for Cross-lingual News Recommendation}, 
      author={Andreea Iana and Fabian David Schmidt and Goran Glavaš and Heiko Paulheim},
      year={2024},
      eprint={2406.12634},
      archivePrefix={arXiv},
      url={https://arxiv.org/abs/2406.12634}
}