Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
License:
mOSCAR / README.md
mfuteral
update mOSCAR v2
a2d98c4
|
raw
history blame
15.6 kB
metadata
license: cc-by-4.0
configs:
  - config_name: ace_Latn
    data_files:
      - split: train
        path: data/ace_Latn/*
  - config_name: acm_Arab
    data_files:
      - split: train
        path: data/acm_Arab/*
  - config_name: aeb_Arab
    data_files:
      - split: train
        path: data/aeb_Arab/*
  - config_name: afr_Latn
    data_files:
      - split: train
        path: data/afr_Latn/*
  - config_name: ajp_Arab
    data_files:
      - split: train
        path: data/ajp_Arab/*
  - config_name: als_Latn
    data_files:
      - split: train
        path: data/als_Latn/*
  - config_name: amh_Ethi
    data_files:
      - split: train
        path: data/amh_Ethi/*
  - config_name: apc_Arab
    data_files:
      - split: train
        path: data/apc_Arab/*
  - config_name: arb_Arab
    data_files:
      - split: train
        path: data/arb_Arab/*
  - config_name: ars_Arab
    data_files:
      - split: train
        path: data/ars_Arab/*
  - config_name: ary_Arab
    data_files:
      - split: train
        path: data/ary_Arab/*
  - config_name: arz_Arab
    data_files:
      - split: train
        path: data/arz_Arab/*
  - config_name: asm_Beng
    data_files:
      - split: train
        path: data/asm_Beng/*
  - config_name: ast_Latn
    data_files:
      - split: train
        path: data/ast_Latn/*
  - config_name: awa_Deva
    data_files:
      - split: train
        path: data/awa_Deva/*
  - config_name: ayr_Latn
    data_files:
      - split: train
        path: data/ayr_Latn/*
  - config_name: azb_Arab
    data_files:
      - split: train
        path: data/azb_Arab/*
  - config_name: azj_Latn
    data_files:
      - split: train
        path: data/azj_Latn/*
  - config_name: bak_Cyrl
    data_files:
      - split: train
        path: data/bak_Cyrl/*
  - config_name: bam_Latn
    data_files:
      - split: train
        path: data/bam_Latn/*
  - config_name: ban_Latn
    data_files:
      - split: train
        path: data/ban_Latn/*
  - config_name: bel_Cyrl
    data_files:
      - split: train
        path: data/bel_Cyrl/*
  - config_name: bem_Latn
    data_files:
      - split: train
        path: data/bem_Latn/*
  - config_name: ben_Beng
    data_files:
      - split: train
        path: data/ben_Beng/*
  - config_name: bho_Deva
    data_files:
      - split: train
        path: data/bho_Deva/*
  - config_name: bjn_Latn
    data_files:
      - split: train
        path: data/bjn_Latn/*
  - config_name: bos_Latn
    data_files:
      - split: train
        path: data/bos_Latn/*
  - config_name: bug_Latn
    data_files:
      - split: train
        path: data/bug_Latn/*
  - config_name: bul_Cyrl
    data_files:
      - split: train
        path: data/bul_Cyrl/*
  - config_name: cat_Latn
    data_files:
      - split: train
        path: data/cat_Latn/*
  - config_name: ceb_Latn
    data_files:
      - split: train
        path: data/ceb_Latn/*
  - config_name: ces_Latn
    data_files:
      - split: train
        path: data/ces_Latn/*
  - config_name: ckb_Arab
    data_files:
      - split: train
        path: data/ckb_Arab/*
  - config_name: crh_Latn
    data_files:
      - split: train
        path: data/crh_Latn/*
  - config_name: cym_Latn
    data_files:
      - split: train
        path: data/cym_Latn/*
  - config_name: dan_Latn
    data_files:
      - split: train
        path: data/dan_Latn/*
  - config_name: deu_Latn
    data_files:
      - split: train
        path: data/deu_Latn/*
  - config_name: dik_Latn
    data_files:
      - split: train
        path: data/dik_Latn/*
  - config_name: ell_Grek
    data_files:
      - split: train
        path: data/ell_Grek/*
  - config_name: eng_Latn
    data_files:
      - split: train
        path: data/eng_Latn/*
  - config_name: epo_Latn
    data_files:
      - split: train
        path: data/epo_Latn/*
  - config_name: est_Latn
    data_files:
      - split: train
        path: data/est_Latn/*
  - config_name: eus_Latn
    data_files:
      - split: train
        path: data/eus_Latn/*
  - config_name: fao_Latn
    data_files:
      - split: train
        path: data/fao_Latn/*
  - config_name: fij_Latn
    data_files:
      - split: train
        path: data/fij_Latn/*
  - config_name: fin_Latn
    data_files:
      - split: train
        path: data/fin_Latn/*
  - config_name: fra_Latn
    data_files:
      - split: train
        path: data/fra_Latn/*
  - config_name: fur_Latn
    data_files:
      - split: train
        path: data/fur_Latn/*
  - config_name: fuv_Latn
    data_files:
      - split: train
        path: data/fuv_Latn/*
  - config_name: gaz_Latn
    data_files:
      - split: train
        path: data/gaz_Latn/*
  - config_name: gla_Latn
    data_files:
      - split: train
        path: data/gla_Latn/*
  - config_name: gle_Latn
    data_files:
      - split: train
        path: data/gle_Latn/*
  - config_name: glg_Latn
    data_files:
      - split: train
        path: data/glg_Latn/*
  - config_name: grn_Latn
    data_files:
      - split: train
        path: data/grn_Latn/*
  - config_name: guj_Gujr
    data_files:
      - split: train
        path: data/guj_Gujr/*
  - config_name: hat_Latn
    data_files:
      - split: train
        path: data/hat_Latn/*
  - config_name: hau_Latn
    data_files:
      - split: train
        path: data/hau_Latn/*
  - config_name: heb_Hebr
    data_files:
      - split: train
        path: data/heb_Hebr/*
  - config_name: hin_Deva
    data_files:
      - split: train
        path: data/hin_Deva/*
  - config_name: hne_Deva
    data_files:
      - split: train
        path: data/hne_Deva/*
  - config_name: hrv_Latn
    data_files:
      - split: train
        path: data/hrv_Latn/*
  - config_name: hun_Latn
    data_files:
      - split: train
        path: data/hun_Latn/*
  - config_name: hye_Armn
    data_files:
      - split: train
        path: data/hye_Armn/*
  - config_name: ibo_Latn
    data_files:
      - split: train
        path: data/ibo_Latn/*
  - config_name: ilo_Latn
    data_files:
      - split: train
        path: data/ilo_Latn/*
  - config_name: ind_Latn
    data_files:
      - split: train
        path: data/ind_Latn/*
  - config_name: isl_Latn
    data_files:
      - split: train
        path: data/isl_Latn/*
  - config_name: ita_Latn
    data_files:
      - split: train
        path: data/ita_Latn/*
  - config_name: jav_Latn
    data_files:
      - split: train
        path: data/jav_Latn/*
  - config_name: jpn_Jpan
    data_files:
      - split: train
        path: data/jpn_Jpan/*
  - config_name: kab_Latn
    data_files:
      - split: train
        path: data/kab_Latn/*
  - config_name: kan_Knda
    data_files:
      - split: train
        path: data/kan_Knda/*
  - config_name: kas_Arab
    data_files:
      - split: train
        path: data/kas_Arab/*
  - config_name: kat_Geor
    data_files:
      - split: train
        path: data/kat_Geor/*
  - config_name: kaz_Cyrl
    data_files:
      - split: train
        path: data/kaz_Cyrl/*
  - config_name: khk_Cyrl
    data_files:
      - split: train
        path: data/khk_Cyrl/*
  - config_name: khm_Khmr
    data_files:
      - split: train
        path: data/khm_Khmr/*
  - config_name: kin_Latn
    data_files:
      - split: train
        path: data/kin_Latn/*
  - config_name: kir_Cyrl
    data_files:
      - split: train
        path: data/kir_Cyrl/*
  - config_name: kmr_Latn
    data_files:
      - split: train
        path: data/kmr_Latn/*
  - config_name: kor_Hang
    data_files:
      - split: train
        path: data/kor_Hang/*
  - config_name: lao_Laoo
    data_files:
      - split: train
        path: data/lao_Laoo/*
  - config_name: lij_Latn
    data_files:
      - split: train
        path: data/lij_Latn/*
  - config_name: lim_Latn
    data_files:
      - split: train
        path: data/lim_Latn/*
  - config_name: lin_Latn
    data_files:
      - split: train
        path: data/lin_Latn/*
  - config_name: lit_Latn
    data_files:
      - split: train
        path: data/lit_Latn/*
  - config_name: lmo_Latn
    data_files:
      - split: train
        path: data/lmo_Latn/*
  - config_name: ltg_Latn
    data_files:
      - split: train
        path: data/ltg_Latn/*
  - config_name: ltz_Latn
    data_files:
      - split: train
        path: data/ltz_Latn/*
  - config_name: lug_Latn
    data_files:
      - split: train
        path: data/lug_Latn/*
  - config_name: lus_Latn
    data_files:
      - split: train
        path: data/lus_Latn/*
  - config_name: lvs_Latn
    data_files:
      - split: train
        path: data/lvs_Latn/*
  - config_name: mag_Deva
    data_files:
      - split: train
        path: data/mag_Deva/*
  - config_name: mal_Mlym
    data_files:
      - split: train
        path: data/mal_Mlym/*
  - config_name: mar_Deva
    data_files:
      - split: train
        path: data/mar_Deva/*
  - config_name: min_Latn
    data_files:
      - split: train
        path: data/min_Latn/*
  - config_name: mkd_Cyrl
    data_files:
      - split: train
        path: data/mkd_Cyrl/*
  - config_name: mlt_Latn
    data_files:
      - split: train
        path: data/mlt_Latn/*
  - config_name: mri_Latn
    data_files:
      - split: train
        path: data/mri_Latn/*
  - config_name: mya_Mymr
    data_files:
      - split: train
        path: data/mya_Mymr/*
  - config_name: nld_Latn
    data_files:
      - split: train
        path: data/nld_Latn/*
  - config_name: nno_Latn
    data_files:
      - split: train
        path: data/nno_Latn/*
  - config_name: nob_Latn
    data_files:
      - split: train
        path: data/nob_Latn/*
  - config_name: npi_Deva
    data_files:
      - split: train
        path: data/npi_Deva/*
  - config_name: nya_Latn
    data_files:
      - split: train
        path: data/nya_Latn/*
  - config_name: oci_Latn
    data_files:
      - split: train
        path: data/oci_Latn/*
  - config_name: ory_Orya
    data_files:
      - split: train
        path: data/ory_Orya/*
  - config_name: pag_Latn
    data_files:
      - split: train
        path: data/pag_Latn/*
  - config_name: pan_Guru
    data_files:
      - split: train
        path: data/pan_Guru/*
  - config_name: pap_Latn
    data_files:
      - split: train
        path: data/pap_Latn/*
  - config_name: pbt_Arab
    data_files:
      - split: train
        path: data/pbt_Arab/*
  - config_name: pes_Arab
    data_files:
      - split: train
        path: data/pes_Arab/*
  - config_name: plt_Latn
    data_files:
      - split: train
        path: data/plt_Latn/*
  - config_name: pol_Latn
    data_files:
      - split: train
        path: data/pol_Latn/*
  - config_name: por_Latn
    data_files:
      - split: train
        path: data/por_Latn/*
  - config_name: prs_Arab
    data_files:
      - split: train
        path: data/prs_Arab/*
  - config_name: quy_Latn
    data_files:
      - split: train
        path: data/quy_Latn/*
  - config_name: ron_Latn
    data_files:
      - split: train
        path: data/ron_Latn/*
  - config_name: run_Latn
    data_files:
      - split: train
        path: data/run_Latn/*
  - config_name: rus_Cyrl
    data_files:
      - split: train
        path: data/rus_Cyrl/*
  - config_name: sag_Latn
    data_files:
      - split: train
        path: data/sag_Latn/*
  - config_name: scn_Latn
    data_files:
      - split: train
        path: data/scn_Latn/*
  - config_name: sin_Sinh
    data_files:
      - split: train
        path: data/sin_Sinh/*
  - config_name: slk_Latn
    data_files:
      - split: train
        path: data/slk_Latn/*
  - config_name: slv_Latn
    data_files:
      - split: train
        path: data/slv_Latn/*
  - config_name: smo_Latn
    data_files:
      - split: train
        path: data/smo_Latn/*
  - config_name: sna_Latn
    data_files:
      - split: train
        path: data/sna_Latn/*
  - config_name: snd_Arab
    data_files:
      - split: train
        path: data/snd_Arab/*
  - config_name: som_Latn
    data_files:
      - split: train
        path: data/som_Latn/*
  - config_name: sot_Latn
    data_files:
      - split: train
        path: data/sot_Latn/*
  - config_name: spa_Latn
    data_files:
      - split: train
        path: data/spa_Latn/*
  - config_name: srd_Latn
    data_files:
      - split: train
        path: data/srd_Latn/*
  - config_name: srp_Cyrl
    data_files:
      - split: train
        path: data/srp_Cyrl/*
  - config_name: sun_Latn
    data_files:
      - split: train
        path: data/sun_Latn/*
  - config_name: swe_Latn
    data_files:
      - split: train
        path: data/swe_Latn/*
  - config_name: swh_Latn
    data_files:
      - split: train
        path: data/swh_Latn/*
  - config_name: szl_Latn
    data_files:
      - split: train
        path: data/szl_Latn/*
  - config_name: tam_Taml
    data_files:
      - split: train
        path: data/tam_Taml/*
  - config_name: tat_Cyrl
    data_files:
      - split: train
        path: data/tat_Cyrl/*
  - config_name: tel_Telu
    data_files:
      - split: train
        path: data/tel_Telu/*
  - config_name: tgk_Cyrl
    data_files:
      - split: train
        path: data/tgk_Cyrl/*
  - config_name: tgl_Latn
    data_files:
      - split: train
        path: data/tgl_Latn/*
  - config_name: tha_Thai
    data_files:
      - split: train
        path: data/tha_Thai/*
  - config_name: tir_Ethi
    data_files:
      - split: train
        path: data/tir_Ethi/*
  - config_name: tpi_Latn
    data_files:
      - split: train
        path: data/tpi_Latn/*
  - config_name: tuk_Latn
    data_files:
      - split: train
        path: data/tuk_Latn/*
  - config_name: tur_Latn
    data_files:
      - split: train
        path: data/tur_Latn/*
  - config_name: twi_Latn
    data_files:
      - split: train
        path: data/twi_Latn/*
  - config_name: uig_Arab
    data_files:
      - split: train
        path: data/uig_Arab/*
  - config_name: ukr_Cyrl
    data_files:
      - split: train
        path: data/ukr_Cyrl/*
  - config_name: urd_Arab
    data_files:
      - split: train
        path: data/urd_Arab/*
  - config_name: uzn_Latn
    data_files:
      - split: train
        path: data/uzn_Latn/*
  - config_name: vec_Latn
    data_files:
      - split: train
        path: data/vec_Latn/*
  - config_name: vie_Latn
    data_files:
      - split: train
        path: data/vie_Latn/*
  - config_name: wol_Latn
    data_files:
      - split: train
        path: data/wol_Latn/*
  - config_name: xho_Latn
    data_files:
      - split: train
        path: data/xho_Latn/*
  - config_name: ydd_Hebr
    data_files:
      - split: train
        path: data/ydd_Hebr/*
  - config_name: yor_Latn
    data_files:
      - split: train
        path: data/yor_Latn/*
  - config_name: yue_Hant
    data_files:
      - split: train
        path: data/yue_Hant/*
  - config_name: zho_Hans
    data_files:
      - split: train
        path: data/zho_Hans/*
  - config_name: zho_Hant
    data_files:
      - split: train
        path: data/zho_Hant/*
  - config_name: zsm_Latn
    data_files:
      - split: train
        path: data/zsm_Latn/*
  - config_name: zul_Latn
    data_files:
      - split: train
        path: data/zul_Latn/*

More info can be found here: https://oscar-project.github.io/documentation/versions/mOSCAR/

Paper link: https://arxiv.org/abs/2406.08707

New features:

  • Additional filtering steps were applied to remove toxic content (more details in the next version of the paper, coming soon).
  • Spanish split is now complete.
  • Face detection in images to blur them once downloaded (coordinates are reported on images of size 256 respecting aspect ratio).
  • Additional language identification of the documents to improve document-language matching.
  • Replace most of Personal Identifiable Information by generic strings.

Previous version remains available, to continue using it:

dataset = load_dataset("oscar-corpus/mOSCAR", revision="v1")

Layout

{
    'images': [{'img_idx': '#000002',
                'sha512': '65c1e5605d48f8753256f758bd442cbdd43e6987691227b1ea6b81430ff36609f46d448c8171546232fe0c258d9e44ce4378f32e8ada5c43c314df5a5e230de2',
                'url': 'https://actuconsommation.fr/wp-content/uploads/2020/05/Disneylands-Japon-1068x712.jpg',
                'faces_loc': [x0, y0, x1, y1]}],
    'metadata': [{'node_order': 'img_#000002|txt_#000000|txt_#000001|txt_#000002|txt_#000003|txt_#000004|txt_#000005|txt_#000006|txt_#000009',
                  'url': 'https://actuconsommation.fr/2020/05/11/disneyland-une-reouverture-sous-haute-securite-a-shanghai-ce-lundi/'}],
    'text': [{'text': 'Disneyland : une réouverture sous haute sécurité à Shanghai ce lundi', 'text_idx': '#000000'},
             {'text': 'Des milliers de visiteurs ont pu pénétrer lundi dans le Disneyland de Shanghai, le premier des six parcs de [...]', text_idx': '#000001'},
             [...] ]
}

Citation

@article{futeral2024moscar,
  title={mOSCAR: A Large-scale Multilingual and Multimodal Document-level Corpus},
  author={Futeral, Matthieu and Zebaze, Armel and Suarez, Pedro Ortiz and Abadji, Julien and Lacroix, R{\'e}mi and Schmid, Cordelia and Bawden, Rachel and Sagot, Beno{\^\i}t},
  journal={arXiv preprint arXiv:2406.08707},
  year={2024}
}