Datasets:
Fix variable name
#5
by
sgallon-rin
- opened
- crosssum.py +3 -3
crosssum.py
CHANGED
@@ -123,19 +123,19 @@ class Crosssum(datasets.GeneratorBasedBuilder):
|
|
123 |
datasets.SplitGenerator(
|
124 |
name=datasets.Split.TRAIN,
|
125 |
gen_kwargs={
|
126 |
-
"filepath": os.path.join(data_dir,
|
127 |
},
|
128 |
),
|
129 |
datasets.SplitGenerator(
|
130 |
name=datasets.Split.TEST,
|
131 |
gen_kwargs={
|
132 |
-
"filepath": os.path.join(data_dir,
|
133 |
},
|
134 |
),
|
135 |
datasets.SplitGenerator(
|
136 |
name=datasets.Split.VALIDATION,
|
137 |
gen_kwargs={
|
138 |
-
"filepath": os.path.join(data_dir,
|
139 |
},
|
140 |
),
|
141 |
]
|
|
|
123 |
datasets.SplitGenerator(
|
124 |
name=datasets.Split.TRAIN,
|
125 |
gen_kwargs={
|
126 |
+
"filepath": os.path.join(data_dir, lang_pairs + "_train.jsonl"),
|
127 |
},
|
128 |
),
|
129 |
datasets.SplitGenerator(
|
130 |
name=datasets.Split.TEST,
|
131 |
gen_kwargs={
|
132 |
+
"filepath": os.path.join(data_dir, lang_pairs + "_test.jsonl"),
|
133 |
},
|
134 |
),
|
135 |
datasets.SplitGenerator(
|
136 |
name=datasets.Split.VALIDATION,
|
137 |
gen_kwargs={
|
138 |
+
"filepath": os.path.join(data_dir, lang_pairs + "_val.jsonl"),
|
139 |
},
|
140 |
),
|
141 |
]
|