Update sacrebleu_manual.py
Browse files- sacrebleu_manual.py +1 -1
sacrebleu_manual.py
CHANGED
|
@@ -37,7 +37,7 @@ class SacrebleuManual(datasets.GeneratorBasedBuilder):
|
|
| 37 |
BUILDER_CONFIGS = [
|
| 38 |
datasets.BuilderConfig(name=f"{name.replace('/', '_')}_{langpair}", version=datasets.Version("1.0.0"), description="")
|
| 39 |
for name in sacrebleu.get_available_testsets()
|
| 40 |
-
for langpair in sacrebleu.get_langpairs_for_testset(name) if name not in ["wmt23", "wmt24"]
|
| 41 |
]
|
| 42 |
|
| 43 |
def _info(self):
|
|
|
|
| 37 |
BUILDER_CONFIGS = [
|
| 38 |
datasets.BuilderConfig(name=f"{name.replace('/', '_')}_{langpair}", version=datasets.Version("1.0.0"), description="")
|
| 39 |
for name in sacrebleu.get_available_testsets()
|
| 40 |
+
for langpair in sacrebleu.get_langpairs_for_testset(name) if name not in ["wmt23", "wmt24"] or "wmt21" in name
|
| 41 |
]
|
| 42 |
|
| 43 |
def _info(self):
|