fix iwslt2017 processing to account for 6 missing language pairs
#7
by
andy-joy-25
- opened
- iwslt2017.py +2 -3
iwslt2017.py
CHANGED
@@ -68,9 +68,8 @@ class IWSLT2017Config(datasets.BuilderConfig):
|
|
68 |
super().__init__(**kwargs)
|
69 |
|
70 |
|
71 |
-
|
72 |
-
|
73 |
-
BI_LANGUAGES = ["ar", "de", "en", "fr", "ja", "ko", "zh"]
|
74 |
MULTI_PAIRS = [f"{source}-{target}" for source in MULTI_LANGUAGES for target in MULTI_LANGUAGES if source != target]
|
75 |
BI_PAIRS = [
|
76 |
f"{source}-{target}"
|
|
|
68 |
super().__init__(**kwargs)
|
69 |
|
70 |
|
71 |
+
MULTI_LANGUAGES = ["en", "de", "it", "nl", "ro"]
|
72 |
+
BI_LANGUAGES = ["ar", "en", "fr", "ja", "ko", "zh"]
|
|
|
73 |
MULTI_PAIRS = [f"{source}-{target}" for source in MULTI_LANGUAGES for target in MULTI_LANGUAGES if source != target]
|
74 |
BI_PAIRS = [
|
75 |
f"{source}-{target}"
|