sle-hr / GUIDE.md
Shome's picture
Initial release (wave 3)
f719dd6 verified
|
Raw History Blame Contribute Delete
7.52 kB
# SLE-sr → SLE-hr translation guide
Purpose: a Croatian version of the Serbian LLM Eval (SLE) for BalkanBench. Models are scored by **loglikelihood**: the
model reads the question and we measure how likely each answer choice is as a continuation. So the text must be
natural, standard **Croatian** (hrvatski standardni jezik), and every choice must fit the question exactly as the
Serbian one did.
## Input / output
- Input: one JSON object per line. Fields depend on the task (see below). `example_id`, `task`, `gold`, `label` and
`answer` are **never changed**.
- Output: the same objects, the same order, the same keys. Only the text fields are translated. One JSON object per
line, UTF-8, `ensure_ascii=False` style (real č ć đ š ž, not \u escapes). No commentary, no extra keys.
| task | translate | keep unchanged |
|---|---|---|
| arc_challenge, arc_easy, openbookqa | `query`, every item of `choices` | `example_id`, `gold`, `task` |
| piqa | `goal`, every item of `choices` | `example_id`, `gold`, `task` |
| boolq | `question`, `passage` | `example_id`, `label`, `task` |
| winogrande | `sentence`, `option1`, `option2` | `example_id`, `answer`, `task` |
## Rules
1. **Translate each item as a whole** (question + all choices together), so the choices stay grammatical continuations.
- The number and order of choices stay identical. Never merge, split, reorder or "fix" choices, even if one looks
wrong or odd: wrong answers are meant to be wrong, silly ones are meant to be silly.
- Never add or remove information. Don't explain, don't make the right answer more obvious.
2. **openbookqa / some arc / piqa**: if the query ends mid-sentence ("…najbolji način za uštedu novca da"), the Croatian
query must also end so that each choice continues it. Rephrase the end of the query if needed (e.g. "…odlučuje da je
najbolji način za uštedu novca" + "prestati jesti u restoranima"), and make all choices continue it in the same way.
3. **winogrande**: `sentence` has exactly one `_`. Keep exactly one `_`. Both options must fit grammatically when put in
place of `_` (same case, gender, number as the blank requires). Usually the options are names or nouns in the
nominative; if the Croatian sentence needs another case at the blank, rephrase the sentence so the nominative fits,
or put both options in the same needed form. Keep names as they are (Sara, Marija; foreign names in original spelling).
4. **boolq**: `question` is a yes/no question. Croatian form: "Je li…?" / "Jesu li…?" / "Može li…?", never "Da li…".
The passage is translated in full; the first part before " -- " is the article title, keep that format.
The answer (label) must stay true for the translated text: don't change facts, numbers, negations.
5. **ARC prefix**: if a query starts with "Pitanje:", keep "Pitanje:" (same word in Croatian).
## Serbian → Croatian: what to change
- **Ijekavian**: mleko→mlijeko, svetlost→svjetlost, vreme→vrijeme, deca→djeca, reka→rijeka, pesma→pjesma,
verovatno→vjerojatno, primećuje→primjećuje, celo→cijelo, mesto→mjesto, telo→tijelo, nedelja→tjedan / nedjelja.
- **Vocabulary**: hiljada→tisuća, voz→vlak, hleb→kruh, vazduh→zrak, takođe→također, uopšte→uopće, opština→općina,
pozorište→kazalište, fudbal→nogomet, univerzitet→sveučilište, istorija→povijest, tačka→točka, bezbednost→sigurnost,
saobraćaj→promet, ugljen-dioksid→ugljikov dioksid, kiseonik→kisik, vodonik→vodik, azot→dušik, gas→plin,
hemija→kemija, fizika→fizika, ekosistem→ekosustav, sistem→sustav, proizvođač (ok), efekat→učinak/efekt,
kafa→kava, sto→stol, šargarepa→mrkva, paradajz→rajčica, pasulj→grah, krompir→krumpir, ćebe→deka, kašika→žlica,
jun/jul→lipanj/srpanj, januar→siječanj (all months in Croatian names), nauka→znanost, naučnik→znanstvenik,
muzika→glazba, porodica→obitelj, učiti/obrazovanje (ok), avion→zrakoplov (avion is also ok), autoput→autocesta,
spavaća soba (ok), kupatilo→kupaonica, frižider→hladnjak, sat (ok), računar→računalo, nivo→razina,
procenat→postotak, centimetar (ok), lekar→liječnik, bolnica (ok), apoteka→ljekarna, sveska→bilježnica,
ostrvo→otok, okean→ocean, planeta→planet.
- **Grammar**: "da + present" after modal/phase verbs → infinitive ("počinje da uklanja"→"počinje uklanjati",
"želi da počne da štedi"→"želi početi štedjeti", "treba da"→"treba" + infinitive or "mora"), "Da li"→"Je li".
Future: "uradiću"→"učinit ću / napravit ću". "Kako da pripremim…?"→"Kako pripremiti…?".
- **Foreign names and terms**: Croatian keeps the original spelling ("Džordž Vašington"→"George Washington",
"Njutn"→"Newton", "Majkrosoft"→"Microsoft", "Berkli"→"Berkeley"), declined with a hyphen or normally
("Newtonov zakon"). Units, numbers and formulas stay as they are (decimal comma stays: 1,3).
- **Style**: natural, plain Croatian; don't make it more formal or literary than the Serbian. Same length roughly.
If a phrase has no good Croatian equivalent, choose the closest natural Croatian wording and keep the meaning.
## Lessons from the pilot (read these too)
- **winogrande agreement**: everything that refers to the blank must agree with BOTH options, including adjectives and
nouns in the predicate. Female names → feminine forms ("_ je odgovorna vlasnica mačke", not "odgovoran vlasnik").
If the two options differ in gender (dom/kuća, priča/čas), rephrase so that the blank sits in a position where both
fit (e.g. after a preposition, both in the same case: "u _" + "domu"/"kući"), and keep the meaning and which option
is correct.
- **Garbled or odd Serbian source**: translate the intended meaning naturally; keep silly wrong answers silly. Never
repair an item so the answer changes.
- Month names are lowercase in Croatian (svibanj, srpanj). "pekara"→"pekarnica", "čas" (school) → "sat".
- You may write the output with a small Python generator script that holds YOUR hand-written translations (that is
fine); never translate by automatic word replacement.
- If a Serbian item is already correct Croatian, keep it identical. Do NOT reword just to make it differ (check.py only
warns about identical items).
- **winogrande blank glued to a suffix** in the Serbian source ("_in otac", "_ov motor", "_ova povreda"): fix it in
Croatian by putting the possessive/adjective form into BOTH options and leaving a bare blank: "jer je _ otac bio…"
with options "Monikin"/"Erinin"; "_ ozljeda" with "Samanthina"/"Katrinina". The blank must never touch letters.
- **Titles** (films, series, books, songs, organisations): use the established Croatian title if one is well known
(e.g. "Bilo jednom" for Once Upon a Time, "Obitelj Soprano"); otherwise keep the ORIGINAL (usually English) title,
e.g. "My Fair Lady", "She's Like the Wind". Never invent a literal Croatian title. Chemistry/biology terms: standard
Croatian (borna kiselina, divlji golub, dragoljub).
- "obitelj" = human family; "porodica" stays for a biological family (taxonomy). "sistemski" is fine in technical/medical terms.
## Lessons (hellaswag/nq/trivia)
- Keep NQ casing and punctuation item by item. Source casing varies within a split.
- Check what an English TriviaQA alias actually names. Alias lists can include
Wikipedia redirects for unrelated concepts or for people listed in a film article.