Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Multilingual Addition Dataset

Synthetic dataset of addition problems of the form a+b=answer, where a and b are written-form representations of integers in 21 languages, plus a 22nd split using raw digit strings.

Task format

Each sample contains:

field type description
a_str str written-form (or digit) representation of a
a_digit int integer value of a
b_str str written-form (or digit) representation of b
b_digit int integer value of b
answer str written-form (or digit) of a + b
answer_digit int integer value of a + b
text str "{a_str}+{b_str}={answer}" (completion target)
question str "{a_str}+{b_str}=" (prompt)
lang str language tag, e.g. eng_Latn, or digit

Numbers range from 0 to 999 for both a and b (answers up to 1998).

Languages

lang train val
eng_Latn 900,000 100,000
dan_Latn 900,000 100,000
swe_Latn 900,000 100,000
vie_Latn 900,000 100,000
hun_Latn 900,000 100,000
fas_Arab 900,000 100,000
tur_Latn 900,000 100,000
ces_Latn 900,000 100,000
arb_Arab 900,000 100,000
ell_Grek 900,000 100,000
ind_Latn 900,000 100,000
nld_Latn 900,000 100,000
pol_Latn 900,000 100,000
por_Latn 900,000 100,000
ita_Latn 900,000 100,000
jpn_Jpan 900,000 100,000
fra_Latn 900,000 100,000
spa_Latn 900,000 100,000
deu_Latn 900,000 100,000
cmn_Hani 900,000 100,000
rus_Cyrl 900,000 100,000
nob_Latn 900,000 100,000
fin_Latn 900,000 100,000
ben_Beng 900,000 100,000
kor_Hang 900,000 100,000
digit 900,000 100,000

Generation

python create_multilingual_addition_data.py \
    --hf_repo_id flexitok/multilingual-addition \
    --publish_to_hf \
    --a_min 0 --a_max 999 \
    --seed 42 --train_ratio 0.9
Downloads last month
32