Datasets:
Upload csatqa.py
Browse files
csatqa.py
CHANGED
@@ -53,14 +53,14 @@ class CSATQA(datasets.GeneratorBasedBuilder):
|
|
53 |
|
54 |
def _split_generators(self, dl_manager):
|
55 |
return [
|
56 |
-
|
57 |
name=datasets.Split.TRAIN,
|
58 |
# These kwargs will be passed to _generate_examples
|
59 |
gen_kwargs={
|
60 |
"filepath": os.path.join("data.jsonl"),
|
61 |
"split": "train",
|
62 |
-
}
|
63 |
-
)
|
64 |
]
|
65 |
|
66 |
def _generate_examples(self, filepath):
|
|
|
53 |
|
54 |
def _split_generators(self, dl_manager):
|
55 |
return [
|
56 |
+
datasets.SplitGenerator(
|
57 |
name=datasets.Split.TRAIN,
|
58 |
# These kwargs will be passed to _generate_examples
|
59 |
gen_kwargs={
|
60 |
"filepath": os.path.join("data.jsonl"),
|
61 |
"split": "train",
|
62 |
+
},
|
63 |
+
),
|
64 |
]
|
65 |
|
66 |
def _generate_examples(self, filepath):
|