zqwerty
commited on
Commit
·
70baea8
1
Parent(s):
0cf3826
test
Browse files- CrossWOZ.py +25 -25
CrossWOZ.py
CHANGED
|
@@ -176,32 +176,32 @@ class CrossWOZ(datasets.GeneratorBasedBuilder):
|
|
| 176 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLs
|
| 177 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
| 178 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
| 179 |
-
data_dir = dl_manager.download_and_extract("data.zip")
|
| 180 |
return [
|
| 181 |
-
datasets.SplitGenerator(
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
),
|
| 189 |
-
datasets.SplitGenerator(
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
),
|
| 197 |
-
datasets.SplitGenerator(
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
),
|
| 205 |
# datasets.SplitGenerator(
|
| 206 |
# name="challenge.CM+T",
|
| 207 |
# # These kwargs will be passed to _generate_examples
|
|
|
|
| 176 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLs
|
| 177 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
| 178 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
| 179 |
+
# data_dir = dl_manager.download_and_extract("data.zip")
|
| 180 |
return [
|
| 181 |
+
# datasets.SplitGenerator(
|
| 182 |
+
# name=datasets.Split.TRAIN,
|
| 183 |
+
# # These kwargs will be passed to _generate_examples
|
| 184 |
+
# gen_kwargs={
|
| 185 |
+
# "filepath": os.path.join(data_dir, "train.json"),
|
| 186 |
+
# "split": "train",
|
| 187 |
+
# },
|
| 188 |
+
# ),
|
| 189 |
+
# datasets.SplitGenerator(
|
| 190 |
+
# name=datasets.Split.TEST,
|
| 191 |
+
# # These kwargs will be passed to _generate_examples
|
| 192 |
+
# gen_kwargs={
|
| 193 |
+
# "filepath": os.path.join(data_dir, "test.json"),
|
| 194 |
+
# "split": "test"
|
| 195 |
+
# },
|
| 196 |
+
# ),
|
| 197 |
+
# datasets.SplitGenerator(
|
| 198 |
+
# name=datasets.Split.VALIDATION,
|
| 199 |
+
# # These kwargs will be passed to _generate_examples
|
| 200 |
+
# gen_kwargs={
|
| 201 |
+
# "filepath": os.path.join(data_dir, "val.json"),
|
| 202 |
+
# "split": "dev",
|
| 203 |
+
# },
|
| 204 |
+
# ),
|
| 205 |
# datasets.SplitGenerator(
|
| 206 |
# name="challenge.CM+T",
|
| 207 |
# # These kwargs will be passed to _generate_examples
|