Skip to content

Commit dd1af5a

Browse files
authored
Flores-200 combinations->permutations (#820)
1 parent 327071f commit dd1af5a

File tree

1 file changed

+2
-2
lines changed
  • src/lighteval/tasks/multilingual

1 file changed

+2
-2
lines changed

src/lighteval/tasks/multilingual/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# SOFTWARE.
2222

2323
from functools import partial
24-
from itertools import combinations
24+
from itertools import permutations
2525

2626
from langcodes import Language as LangCodeLanguage
2727
from langcodes import standardize_tag
@@ -4383,7 +4383,7 @@ def flores_adapter(lang1, lang2):
43834383
trust_dataset=True,
43844384
version=0,
43854385
)
4386-
for (lang1, lang2) in combinations(flores_200_languages, 2)
4386+
for (lang1, lang2) in permutations(flores_200_languages, 2)
43874387
]
43884388

43894389
TASKS_TABLE.extend(

0 commit comments

Comments
 (0)