Skip to content

Commit

Permalink
Fix Ukrainian indices and confirmation word (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayukh authored Jan 26, 2025
1 parent 4f381b3 commit 499cc82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lighteval/tasks/templates/utils/translation_literals.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ def __getattribute__(self, name: str) -> str:
language=Language.UKRAINIAN,
question_word="питання",
answer="відповідь",
confirmation_word="вірно",
confirmation_word="правильно",
yes="так",
no="ні",
also="також",
Expand All @@ -998,6 +998,7 @@ def __getattribute__(self, name: str) -> str:
sentence_space=" ",
colon=":",
semicolon=";",
indices=["А", "Б", "В", "Г", "Д", "Е"],
),
Language.URDU: TranslationLiterals(
language=Language.URDU,
Expand Down

0 comments on commit 499cc82

Please sign in to comment.