stack_md_lid / README.md
BramVanroy's picture
Update README.md
6c1997d verified
metadata
dataset_info:
  features:
    - name: hexsha
      dtype: string
    - name: size
      dtype: int64
    - name: ext
      dtype: string
    - name: lang
      dtype: string
    - name: max_stars_repo_path
      dtype: string
    - name: max_stars_repo_name
      dtype: string
    - name: max_stars_repo_head_hexsha
      dtype: string
    - name: max_stars_repo_licenses
      sequence: string
    - name: max_stars_count
      dtype: int64
    - name: max_stars_repo_stars_event_min_datetime
      dtype: string
    - name: max_stars_repo_stars_event_max_datetime
      dtype: string
    - name: max_issues_repo_path
      dtype: string
    - name: max_issues_repo_name
      dtype: string
    - name: max_issues_repo_head_hexsha
      dtype: string
    - name: max_issues_repo_licenses
      sequence: string
    - name: max_issues_count
      dtype: int64
    - name: max_issues_repo_issues_event_min_datetime
      dtype: string
    - name: max_issues_repo_issues_event_max_datetime
      dtype: string
    - name: max_forks_repo_path
      dtype: string
    - name: max_forks_repo_name
      dtype: string
    - name: max_forks_repo_head_hexsha
      dtype: string
    - name: max_forks_repo_licenses
      sequence: string
    - name: max_forks_count
      dtype: int64
    - name: max_forks_repo_forks_event_min_datetime
      dtype: string
    - name: max_forks_repo_forks_event_max_datetime
      dtype: string
    - name: content
      dtype: string
    - name: avg_line_length
      dtype: float64
    - name: max_line_length
      dtype: int64
    - name: alphanum_fraction
      dtype: float64
    - name: lid
      dtype: string
    - name: lid_prob
      dtype: float64
  splits:
    - name: train
      num_bytes: 93050507367
      num_examples: 21045171
  download_size: 47391258276
  dataset_size: 93050507367
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
language:
  - multilingual
  - abk
  - ace
  - ady
  - afr
  - aka
  - als
  - amh
  - arb
  - arn
  - asm
  - ast
  - ayr
  - azb
  - azj
  - bak
  - bam
  - ban
  - bel
  - bem
  - ben
  - bho
  - bis
  - bjn
  - bod
  - bos
  - bug
  - bul
  - bxr
  - cat
  - ceb
  - ces
  - che
  - chv
  - cjk
  - ckb
  - crh
  - cym
  - dan
  - deu
  - dik
  - diq
  - dyu
  - dzo
  - ell
  - eng
  - epo
  - est
  - eus
  - ewe
  - ewo
  - fao
  - fij
  - fin
  - fon
  - fra
  - fur
  - fuv
  - gaz
  - gla
  - gle
  - glg
  - gom
  - grn
  - guj
  - hat
  - hau
  - heb
  - hin
  - hrv
  - hun
  - hye
  - ibo
  - ilo
  - ind
  - isl
  - ita
  - jav
  - jpn
  - kab
  - kac
  - kal
  - kam
  - kan
  - kas
  - kat
  - kaz
  - kbp
  - kea
  - khk
  - khm
  - kik
  - kin
  - kir
  - kmb
  - kmr
  - knc
  - knc
  - kon
  - kor
  - krc
  - lao
  - lij
  - lim
  - lin
  - lit
  - lmo
  - ltg
  - ltz
  - lua
  - lug
  - luo
  - lus
  - lvs
  - mag
  - mai
  - mal
  - mar
  - min
  - mkd
  - mlt
  - mni
  - mos
  - mri
  - mya
  - nav
  - nia
  - nld
  - nno
  - nob
  - npi
  - nso
  - nus
  - nya
  - oci
  - ory
  - oss
  - pag
  - pan
  - pap
  - pbt
  - pcm
  - pes
  - plt
  - pol
  - por
  - prs
  - quy
  - roh
  - ron
  - run
  - rus
  - sag
  - san
  - scn
  - sin
  - slk
  - slv
  - smo
  - sna
  - snd
  - som
  - sot
  - spa
  - srd
  - srp
  - ssw
  - sun
  - swe
  - swh
  - szl
  - tah
  - tam
  - taq
  - tat
  - tel
  - tgk
  - tgl
  - tha
  - tir
  - ton
  - tpi
  - tsn
  - tso
  - tuk
  - tum
  - tur
  - twi
  - udm
  - uig
  - ukr
  - umb
  - urd
  - uzn
  - vec
  - vie
  - war
  - wes
  - wol
  - xho
  - ydd
  - yor
  - yue
  - zho
  - zsm
  - zul

A copy of the deduplicated the stack Markdown files, annotated with fastText to include language labels (lid column) and probabilities (lid_prob). This was done using the NLLB fastText model facebook/fasttext-language-identification.

The following languages were detected:

  • abk_Cyrl
  • ace_Arab
  • ace_Latn
  • ady_Cyrl
  • afr_Latn
  • aka_Latn
  • als_Latn
  • amh_Ethi
  • arb_Arab
  • arb_Latn
  • arn_Latn
  • asm_Beng
  • ast_Latn
  • ayr_Latn
  • azb_Arab
  • azj_Latn
  • bak_Cyrl
  • bam_Latn
  • ban_Latn
  • bel_Cyrl
  • bem_Latn
  • ben_Beng
  • bho_Deva
  • bis_Latn
  • bjn_Arab
  • bjn_Latn
  • bod_Tibt
  • bos_Latn
  • bug_Latn
  • bul_Cyrl
  • bxr_Cyrl
  • cat_Latn
  • ceb_Latn
  • ces_Latn
  • che_Cyrl
  • chv_Cyrl
  • cjk_Latn
  • ckb_Arab
  • crh_Latn
  • cym_Latn
  • dan_Latn
  • deu_Latn
  • dik_Latn
  • diq_Latn
  • dyu_Latn
  • dzo_Tibt
  • ell_Grek
  • eng_Latn
  • epo_Latn
  • est_Latn
  • eus_Latn
  • ewe_Latn
  • ewo_Latn
  • fao_Latn
  • fij_Latn
  • fin_Latn
  • fon_Latn
  • fra_Latn
  • fur_Latn
  • fuv_Latn
  • gaz_Latn
  • gla_Latn
  • gle_Latn
  • glg_Latn
  • gom_Deva
  • grn_Latn
  • guj_Gujr
  • hat_Latn
  • hau_Latn
  • heb_Hebr
  • hin_Deva
  • hrv_Latn
  • hun_Latn
  • hye_Armn
  • ibo_Latn
  • ilo_Latn
  • ind_Latn
  • isl_Latn
  • ita_Latn
  • jav_Latn
  • jpn_Jpan
  • kab_Latn
  • kac_Latn
  • kal_Latn
  • kam_Latn
  • kan_Knda
  • kas_Deva
  • kat_Geor
  • kaz_Cyrl
  • kbp_Latn
  • kea_Latn
  • khk_Cyrl
  • khm_Khmr
  • kik_Latn
  • kin_Latn
  • kir_Cyrl
  • kmb_Latn
  • kmr_Latn
  • knc_Arab
  • knc_Latn
  • kon_Latn
  • kor_Hang
  • krc_Cyrl
  • lao_Laoo
  • lij_Latn
  • lim_Latn
  • lin_Latn
  • lit_Latn
  • lmo_Latn
  • ltg_Latn
  • ltz_Latn
  • lua_Latn
  • lug_Latn
  • luo_Latn
  • lus_Latn
  • lvs_Latn
  • mag_Deva
  • mai_Deva
  • mal_Mlym
  • mar_Deva
  • min_Latn
  • mkd_Cyrl
  • mlt_Latn
  • mni_Beng
  • mos_Latn
  • mri_Latn
  • mya_Mymr
  • nav_Latn
  • nia_Latn
  • nld_Latn
  • nno_Latn
  • nob_Latn
  • npi_Deva
  • nso_Latn
  • nus_Latn
  • nya_Latn
  • oci_Latn
  • ory_Orya
  • oss_Cyrl
  • pag_Latn
  • pan_Guru
  • pap_Latn
  • pbt_Arab
  • pcm_Latn
  • pes_Arab
  • plt_Latn
  • pol_Latn
  • por_Latn
  • prs_Arab
  • quy_Latn
  • roh_Latn
  • ron_Latn
  • run_Latn
  • rus_Cyrl
  • sag_Latn
  • san_Deva
  • scn_Latn
  • sin_Sinh
  • slk_Latn
  • slv_Latn
  • smo_Latn
  • sna_Latn
  • snd_Arab
  • som_Latn
  • sot_Latn
  • spa_Latn
  • srd_Latn
  • srp_Cyrl
  • ssw_Latn
  • sun_Latn
  • swe_Latn
  • swh_Latn
  • szl_Latn
  • tah_Latn
  • tam_Taml
  • taq_Latn
  • tat_Cyrl
  • tel_Telu
  • tgk_Cyrl
  • tgl_Latn
  • tha_Thai
  • tir_Ethi
  • ton_Latn
  • tpi_Latn
  • tsn_Latn
  • tso_Latn
  • tuk_Latn
  • tum_Latn
  • tur_Latn
  • twi_Latn
  • udm_Cyrl
  • uig_Arab
  • ukr_Cyrl
  • umb_Latn
  • urd_Arab
  • uzn_Latn
  • vec_Latn
  • vie_Latn
  • war_Latn
  • wes_Latn
  • wol_Latn
  • xho_Latn
  • ydd_Hebr
  • yor_Latn
  • yue_Hant
  • zho_Hans
  • zho_Hant
  • zsm_Latn
  • zul_Latn

Total num. of samples per language (with a probability of > 0.85):

  • ace_Latn: 15
  • afr_Latn: 1,879
  • aka_Latn: 1
  • als_Latn: 1,223
  • amh_Ethi: 143
  • arb_Arab: 5,756
  • arb_Latn: 2
  • arn_Latn: 4
  • asm_Beng: 14
  • ast_Latn: 579
  • ayr_Latn: 39
  • azb_Arab: 48
  • azj_Latn: 739
  • bak_Cyrl: 2
  • bam_Latn: 18
  • ban_Latn: 7
  • bel_Cyrl: 144
  • bem_Latn: 43
  • ben_Beng: 994
  • bho_Deva: 1
  • bis_Latn: 24
  • bjn_Latn: 25
  • bod_Tibt: 3
  • bos_Latn: 231
  • bug_Latn: 5
  • bul_Cyrl: 5,867
  • bxr_Cyrl: 3
  • cat_Latn: 4,657
  • ceb_Latn: 839
  • ces_Latn: 107,551
  • che_Cyrl: 100
  • cjk_Latn: 8
  • ckb_Arab: 67
  • crh_Latn: 14
  • cym_Latn: 767
  • dan_Latn: 16,808
  • deu_Latn: 236,482
  • dik_Latn: 8
  • diq_Latn: 16
  • dyu_Latn: 1
  • dzo_Tibt: 1
  • ell_Grek: 4,552
  • eng_Latn: 8,872,230
  • epo_Latn: 1,059
  • est_Latn: 15,919
  • eus_Latn: 902
  • ewe_Latn: 35
  • ewo_Latn: 1
  • fao_Latn: 5
  • fij_Latn: 772
  • fin_Latn: 15,063
  • fon_Latn: 1
  • fra_Latn: 193,654
  • fur_Latn: 1
  • gaz_Latn: 188
  • gla_Latn: 34
  • gle_Latn: 377
  • glg_Latn: 1,146
  • gom_Deva: 71
  • grn_Latn: 7
  • guj_Gujr: 1,046
  • hat_Latn: 183
  • hau_Latn: 55
  • heb_Hebr: 1,624
  • hin_Deva: 908
  • hrv_Latn: 3,121
  • hun_Latn: 58,212
  • hye_Armn: 1,174
  • ibo_Latn: 37
  • ilo_Latn: 434
  • ind_Latn: 29,102
  • isl_Latn: 5,846
  • ita_Latn: 142,445
  • jav_Latn: 175
  • jpn_Jpan: 20,548
  • kab_Latn: 140
  • kac_Latn: 1
  • kal_Latn: 36
  • kam_Latn: 3
  • kan_Knda: 170
  • kat_Geor: 429
  • kaz_Cyrl: 57
  • kea_Latn: 1
  • khk_Cyrl: 362
  • khm_Khmr: 409
  • kik_Latn: 18
  • kin_Latn: 171
  • kir_Cyrl: 5
  • kmb_Latn: 3
  • kmr_Latn: 46
  • knc_Arab: 9
  • knc_Latn: 4
  • kon_Latn: 5
  • kor_Hang: 414,890
  • krc_Cyrl: 1,068
  • lao_Laoo: 496
  • lij_Latn: 3
  • lim_Latn: 216
  • lin_Latn: 10
  • lit_Latn: 8,197
  • lmo_Latn: 803
  • ltg_Latn: 7
  • ltz_Latn: 695
  • lua_Latn: 22
  • lug_Latn: 30
  • luo_Latn: 351
  • lus_Latn: 115
  • lvs_Latn: 8,469
  • mai_Deva: 2
  • mal_Mlym: 361
  • mar_Deva: 70
  • min_Latn: 48
  • mkd_Cyrl: 568
  • mlt_Latn: 186
  • mos_Latn: 11
  • mri_Latn: 4
  • mya_Mymr: 496
  • nav_Latn: 5
  • nia_Latn: 2
  • nld_Latn: 77,311
  • nno_Latn: 642
  • nob_Latn: 14,979
  • npi_Deva: 269
  • nso_Latn: 69
  • nus_Latn: 2
  • nya_Latn: 5
  • oci_Latn: 6,316
  • ory_Orya: 14
  • pag_Latn: 21
  • pan_Guru: 31
  • pap_Latn: 99
  • pcm_Latn: 107
  • pes_Arab: 4,161
  • plt_Latn: 429
  • pol_Latn: 133,616
  • por_Latn: 412,357
  • prs_Arab: 15
  • quy_Latn: 54
  • roh_Latn: 58
  • ron_Latn: 11,653
  • run_Latn: 74
  • rus_Cyrl: 102,516
  • sag_Latn: 14
  • san_Deva: 56
  • scn_Latn: 91
  • sin_Sinh: 207
  • slk_Latn: 6,719
  • slv_Latn: 5,320
  • smo_Latn: 49
  • sna_Latn: 84
  • snd_Arab: 3
  • som_Latn: 78
  • sot_Latn: 872
  • spa_Latn: 268,198
  • srd_Latn: 2
  • srp_Cyrl: 344
  • ssw_Latn: 66
  • sun_Latn: 53
  • swe_Latn: 67,565
  • swh_Latn: 1,534
  • szl_Latn: 15
  • tah_Latn: 43
  • tam_Taml: 711
  • taq_Latn: 1
  • tat_Cyrl: 3
  • tel_Telu: 97
  • tgk_Cyrl: 9
  • tgl_Latn: 1,719
  • tha_Thai: 4,854
  • ton_Latn: 3
  • tpi_Latn: 37
  • tsn_Latn: 135
  • tso_Latn: 216
  • tuk_Latn: 49
  • tum_Latn: 24
  • tur_Latn: 129,644
  • twi_Latn: 98
  • uig_Arab: 20
  • ukr_Cyrl: 5,546
  • umb_Latn: 3
  • urd_Arab: 85
  • uzn_Latn: 749
  • vec_Latn: 120
  • vie_Latn: 28,545
  • war_Latn: 387
  • wes_Latn: 17
  • wol_Latn: 35
  • xho_Latn: 1,209
  • ydd_Hebr: 3
  • yor_Latn: 167
  • yue_Hant: 295,650
  • zho_Hans: 3,757
  • zho_Hant: 34
  • zsm_Latn: 2,087
  • zul_Latn: 1,241