Skip to content

Commit 16a7521

Browse files
gaydmiDmitry Gaynullin
authored andcommitted
added tatar literals (#383)
--------- Co-authored-by: Dmitry Gaynullin <[email protected]>
1 parent a844c0c commit 16a7521

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

src/lighteval/tasks/templates/utils/translation_literals.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,29 @@ def __getattribute__(self, name: str) -> str:
836836
cause_word="காரணமாக",
837837
effect_word="எனவே",
838838
),
839-
Language.TATAR: TranslationLiterals(language=Language.TATAR),
839+
Language.TATAR: TranslationLiterals(
840+
language=Language.TATAR,
841+
question_word="сорау",
842+
answer="җавап",
843+
confirmation_word="шулай түгелме",
844+
yes="әйе",
845+
no="юк",
846+
also="шулай ук",
847+
cause_word="чөнки",
848+
effect_word="шуңа күрә",
849+
or_word="яки",
850+
true="дөрес",
851+
false="ялган",
852+
neither="бер генә дә",
853+
full_stop=".",
854+
comma=",",
855+
question_mark="?",
856+
exclamation_mark="!",
857+
word_space=" ",
858+
sentence_space=" ",
859+
colon=":",
860+
indices=["А", "Б", "В", "Г", "Д", "Е"],
861+
),
840862
Language.TELUGU: TranslationLiterals(
841863
language=Language.TELUGU,
842864
question_word="ప్రశ్న",

0 commit comments

Comments
 (0)