crystina-z
commited on
Commit
·
fa51f44
1
Parent(s):
3983ad8
Update neuclir.py
Browse files- neuclir.py +3 -3
neuclir.py
CHANGED
@@ -45,8 +45,8 @@ _DATASET_URLS = {
|
|
45 |
class NeuCLIR(datasets.GeneratorBasedBuilder):
|
46 |
BUILDER_CONFIGS = [datasets.BuilderConfig(
|
47 |
version=datasets.Version('1.1.0'),
|
48 |
-
name=
|
49 |
-
) for field in
|
50 |
]
|
51 |
|
52 |
def _info(self):
|
@@ -86,7 +86,7 @@ class NeuCLIR(datasets.GeneratorBasedBuilder):
|
|
86 |
datasets.SplitGenerator(
|
87 |
name='test',
|
88 |
gen_kwargs={
|
89 |
-
'filepath': downloaded_files['
|
90 |
},
|
91 |
),
|
92 |
]
|
|
|
45 |
class NeuCLIR(datasets.GeneratorBasedBuilder):
|
46 |
BUILDER_CONFIGS = [datasets.BuilderConfig(
|
47 |
version=datasets.Version('1.1.0'),
|
48 |
+
name=field, description=f'NeuCLIR dataset in language {field}.'
|
49 |
+
) for field in fields
|
50 |
]
|
51 |
|
52 |
def _info(self):
|
|
|
86 |
datasets.SplitGenerator(
|
87 |
name='test',
|
88 |
gen_kwargs={
|
89 |
+
'filepath': downloaded_files['test'],
|
90 |
},
|
91 |
),
|
92 |
]
|