visualjoyce
commited on
Commit
•
7aba1e5
1
Parent(s):
7084446
Add zh, en, xl
Browse files
ipquiz.py
CHANGED
@@ -107,22 +107,6 @@ class IPQuizDataset(datasets.GeneratorBasedBuilder):
|
|
107 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
108 |
data_dir = dl_manager.download_and_extract(urls)
|
109 |
return [
|
110 |
-
datasets.SplitGenerator(
|
111 |
-
name=datasets.Split.TRAIN,
|
112 |
-
# These kwargs will be passed to _generate_examples
|
113 |
-
gen_kwargs={
|
114 |
-
"filepath": os.path.join(data_dir, "train.jsonl"),
|
115 |
-
"split": "train",
|
116 |
-
},
|
117 |
-
),
|
118 |
-
datasets.SplitGenerator(
|
119 |
-
name=datasets.Split.VALIDATION,
|
120 |
-
# These kwargs will be passed to _generate_examples
|
121 |
-
gen_kwargs={
|
122 |
-
"filepath": os.path.join(data_dir, "dev.jsonl"),
|
123 |
-
"split": "dev",
|
124 |
-
},
|
125 |
-
),
|
126 |
datasets.SplitGenerator(
|
127 |
name=datasets.Split.TEST,
|
128 |
# These kwargs will be passed to _generate_examples
|
|
|
107 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
108 |
data_dir = dl_manager.download_and_extract(urls)
|
109 |
return [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
datasets.SplitGenerator(
|
111 |
name=datasets.Split.TEST,
|
112 |
# These kwargs will be passed to _generate_examples
|