Datasets:
Commit
•
f9614ec
1
Parent(s):
ca828be
Fix variable name (#5)
Browse files- Fix variable name (f2f7ce8754bb7fa9cb4bb15676e407859cbe9f38)
Co-authored-by: Jialun Shen <[email protected]>
- 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 |
]
|