Datasets:
Download README.md from croguana/hr-arithmetic: direct link, hf CLI and curl.
- Browser
- Download file 4.69 kB
-
https://huggingface.co/datasets/croguana/hr-arithmetic/resolve/main/README.md
- Command line
-
hf download hf://datasets/croguana/hr-arithmetic/README.md
-
curl -L -o README.md https://huggingface.co/datasets/croguana/hr-arithmetic/resolve/main/README.md
language:
- hr
- en
license: cc-by-4.0
pretty_name: Croatian arithmetic with worked steps
size_categories:
- 100K<n<1M
task_categories:
- text-generation
tags:
- croatian
- math
- arithmetic
- reasoning
- synthetic
configs:
- config_name: worked
data_files:
- split: train
path: data/worked-train.parquet
- split: test
path: data/worked-test.parquet
- config_name: short
data_files:
- split: train
path: data/short-train.parquet
hr-arithmetic — hrvatska aritmetika s postupkom
Dio zbirke hrvatskih skupova podataka projekta CroGuana / part of the CroGuana Croatian data collection: hr-curated-text · hr-arithmetic · hr-wiki-instruct · hr-bible · hr-ner-chat · hy4-croatian-synthetic-v1
Hrvatski
Generirani aritmetički zadaci na hrvatskom (i dijelom engleskom) u obliku razgovora. Svaki rezultat izračunao je i provjerio Python, bez jezičnog modela. Skup je nastao jer naši raniji hrvatski modeli nisu znali pouzdano zbrajati (npr. 33 + 7 = 39): tokenizator ionako dijeli brojeve na znamenke, pa modelu nedostaje postupak.
| Konfiguracija | Podjela | Redaka | Što |
|---|---|---|---|
worked |
train | 40,000 | zbrajanje i oduzimanje po stupcima (prijenos, posudba), množenje, dijeljenje s ostatkom, redoslijed operacija, novac s decimalnim zarezom, postoci, tekstualni zadaci |
worked |
test | 600 | izdvojeni zadaci (drugo sjeme; nijedan par operanada iz testa nije u treningu) |
short |
train | 60,000 | kratki tekstualni zadaci (zbrajanje, oduzimanje, množenje, dijeljenje, ostatak, novac, vrijeme) |
Oblik odgovora (worked): 50 % <think> s koracima pa rezultat, 30 % koraci i provjera obrnutom operacijom
(„Provjera: 40 − 7 = 33”), 20 % samo rezultat. Primjer koraka: „3 + 7 = 10, pišem 0, prenosim 1”.
short: 40 % <think>račun</think> + broj, 40 % račun + rečenica, 20 % samo broj. Oko 70 % zadataka je na
hrvatskom, 30 % na engleskom (stupac language).
Hrvatska gramatika: tekstualni zadaci koriste ručno napisanu tablicu imenica sa sročnošću broja i padeža (1 jabuka, 2 jabuke, 5 jabuka; „U 4 kutije ima 256 olovaka”) i smislene spremnike (nema stolica u vrećicama).
Provjere: konačni rezultati ponovno su izračunati; za sve zadatke zbrajanja, oduzimanja i množenja jednoznamenkastim brojem znamenke iz koraka („pišem …”) složene su natrag i uspoređene s rezultatom (10 799 redaka, 0 pogrešaka). Nijedan redak ne dijeli niz od 10 riječi s evaluacijskim skupovima koje koristimo (SuperGLUE-hr, SLE, GSM8K-hr, IFEval-hr, Hy4 dev/test).
Kod: code/worked_arith.py (konfiguracija worked) i code/short_arith.py (tablica imenica, konfiguracija
short) potpuno reproduciraju skup.
English
Generated arithmetic problems in Croatian (about 30% English) as user/assistant chats. Every result is computed and checked by Python, no language model involved. Built because our earlier Croatian models could not add reliably (33 + 7 → 39): the tokenizer already splits digits, so what the model lacks is the procedure.
worked(40,000 train / 600 held-out test): column addition with carries, subtraction with borrows, multiplication by partial products, long division with remainder, order of operations, decimal-comma money, percentages and word problems; answers as<think>steps + result (50%), steps + inverse-operation check (30%), or the result only (20%). The test split uses a different seed and shares no operand pair with training.short(60,000 train): short word problems with three answer styles.- Croatian word problems use a hand-written noun table for number/case agreement.
- Checks: results recomputed; for all +, − and single-digit × rows the digits written in the steps were reassembled and compared with the result (10,799 rows, 0 errors). No row shares a 10-word window with the evaluation sets we use (SuperGLUE-hr, SLE, GSM8K-hr, IFEval-hr, Hy4 dev/test).
Licenca / License
CC BY 4.0. Sve je naš rad (generator i podaci). / Entirely our own work (generator and data).
Zahtjeve za ispravak ili uklanjanje pošaljite kroz karticu Community ovog repozitorija. / Requests for corrections or removal: please use the Community tab of this repository.