Datasets:
ArXiv:
License:
error fix
Browse files- snow-mountain.py +11 -0
snow-mountain.py
CHANGED
@@ -101,30 +101,35 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
101 |
name="train_500",
|
102 |
gen_kwargs={
|
103 |
"filepath": downloaded_files["train_500"],
|
|
|
104 |
},
|
105 |
),
|
106 |
datasets.SplitGenerator(
|
107 |
name="train_1000",
|
108 |
gen_kwargs={
|
109 |
"filepath": downloaded_files["train_1000"],
|
|
|
110 |
},
|
111 |
),
|
112 |
datasets.SplitGenerator(
|
113 |
name="train_2500",
|
114 |
gen_kwargs={
|
115 |
"filepath": downloaded_files["train_2500"],
|
|
|
116 |
},
|
117 |
),
|
118 |
datasets.SplitGenerator(
|
119 |
name="train_short",
|
120 |
gen_kwargs={
|
121 |
"filepath": downloaded_files["train_short"],
|
|
|
122 |
},
|
123 |
),
|
124 |
datasets.SplitGenerator(
|
125 |
name="train_full",
|
126 |
gen_kwargs={
|
127 |
"filepath": downloaded_files["train_full"],
|
|
|
128 |
},
|
129 |
),
|
130 |
]
|
@@ -134,30 +139,35 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
134 |
name="val_500",
|
135 |
gen_kwargs={
|
136 |
"filepath": downloaded_files["val_500"],
|
|
|
137 |
},
|
138 |
),
|
139 |
datasets.SplitGenerator(
|
140 |
name="val_1000",
|
141 |
gen_kwargs={
|
142 |
"filepath": downloaded_files["val_1000"],
|
|
|
143 |
},
|
144 |
),
|
145 |
datasets.SplitGenerator(
|
146 |
name="val_2500",
|
147 |
gen_kwargs={
|
148 |
"filepath": downloaded_files["val_2500"],
|
|
|
149 |
},
|
150 |
),
|
151 |
datasets.SplitGenerator(
|
152 |
name="val_short",
|
153 |
gen_kwargs={
|
154 |
"filepath": downloaded_files["val_short"],
|
|
|
155 |
},
|
156 |
),
|
157 |
datasets.SplitGenerator(
|
158 |
name="val_full",
|
159 |
gen_kwargs={
|
160 |
"filepath": downloaded_files["val_full"],
|
|
|
161 |
},
|
162 |
),
|
163 |
]
|
@@ -167,6 +177,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
167 |
name="test_common",
|
168 |
gen_kwargs={
|
169 |
"filepath": downloaded_files["test_common"],
|
|
|
170 |
},
|
171 |
),
|
172 |
]
|
|
|
101 |
name="train_500",
|
102 |
gen_kwargs={
|
103 |
"filepath": downloaded_files["train_500"],
|
104 |
+
"dl_manager": dl_manager,
|
105 |
},
|
106 |
),
|
107 |
datasets.SplitGenerator(
|
108 |
name="train_1000",
|
109 |
gen_kwargs={
|
110 |
"filepath": downloaded_files["train_1000"],
|
111 |
+
"dl_manager": dl_manager,
|
112 |
},
|
113 |
),
|
114 |
datasets.SplitGenerator(
|
115 |
name="train_2500",
|
116 |
gen_kwargs={
|
117 |
"filepath": downloaded_files["train_2500"],
|
118 |
+
"dl_manager": dl_manager,
|
119 |
},
|
120 |
),
|
121 |
datasets.SplitGenerator(
|
122 |
name="train_short",
|
123 |
gen_kwargs={
|
124 |
"filepath": downloaded_files["train_short"],
|
125 |
+
"dl_manager": dl_manager,
|
126 |
},
|
127 |
),
|
128 |
datasets.SplitGenerator(
|
129 |
name="train_full",
|
130 |
gen_kwargs={
|
131 |
"filepath": downloaded_files["train_full"],
|
132 |
+
"dl_manager": dl_manager,
|
133 |
},
|
134 |
),
|
135 |
]
|
|
|
139 |
name="val_500",
|
140 |
gen_kwargs={
|
141 |
"filepath": downloaded_files["val_500"],
|
142 |
+
"dl_manager": dl_manager,
|
143 |
},
|
144 |
),
|
145 |
datasets.SplitGenerator(
|
146 |
name="val_1000",
|
147 |
gen_kwargs={
|
148 |
"filepath": downloaded_files["val_1000"],
|
149 |
+
"dl_manager": dl_manager,
|
150 |
},
|
151 |
),
|
152 |
datasets.SplitGenerator(
|
153 |
name="val_2500",
|
154 |
gen_kwargs={
|
155 |
"filepath": downloaded_files["val_2500"],
|
156 |
+
"dl_manager": dl_manager,
|
157 |
},
|
158 |
),
|
159 |
datasets.SplitGenerator(
|
160 |
name="val_short",
|
161 |
gen_kwargs={
|
162 |
"filepath": downloaded_files["val_short"],
|
163 |
+
"dl_manager": dl_manager,
|
164 |
},
|
165 |
),
|
166 |
datasets.SplitGenerator(
|
167 |
name="val_full",
|
168 |
gen_kwargs={
|
169 |
"filepath": downloaded_files["val_full"],
|
170 |
+
"dl_manager": dl_manager,
|
171 |
},
|
172 |
),
|
173 |
]
|
|
|
177 |
name="test_common",
|
178 |
gen_kwargs={
|
179 |
"filepath": downloaded_files["test_common"],
|
180 |
+
"dl_manager": dl_manager,
|
181 |
},
|
182 |
),
|
183 |
]
|