Datasets:
Upload csatqa.py
Browse files
csatqa.py
CHANGED
@@ -55,7 +55,12 @@ class CSATQA(datasets.GeneratorBasedBuilder):
|
|
55 |
return [
|
56 |
datasets.SplitGenerator(
|
57 |
name=datasets.Split.TRAIN,
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
59 |
]
|
60 |
|
61 |
def _generate_examples(self, filepath):
|
|
|
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):
|