Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
1K - 10K
ArXiv:
Tags:
text-to-sql
License:
Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
README.md
CHANGED
@@ -19,10 +19,11 @@ task_categories:
|
|
19 |
task_ids:
|
20 |
- conditional-text-generation-other-stuctured-to-text
|
21 |
paperswithcode_id: spider-1
|
|
|
22 |
---
|
23 |
|
24 |
|
25 |
-
# Dataset Card for
|
26 |
|
27 |
## Table of Contents
|
28 |
- [Dataset Description](#dataset-description)
|
|
|
19 |
task_ids:
|
20 |
- conditional-text-generation-other-stuctured-to-text
|
21 |
paperswithcode_id: spider-1
|
22 |
+
pretty_name: Spider
|
23 |
---
|
24 |
|
25 |
|
26 |
+
# Dataset Card for Spider
|
27 |
|
28 |
## Table of Contents
|
29 |
- [Dataset Description](#dataset-description)
|
spider.py
CHANGED
@@ -16,6 +16,7 @@
|
|
16 |
|
17 |
|
18 |
import json
|
|
|
19 |
|
20 |
import datasets
|
21 |
|
@@ -81,13 +82,13 @@ class Spider(datasets.GeneratorBasedBuilder):
|
|
81 |
datasets.SplitGenerator(
|
82 |
name=datasets.Split.TRAIN,
|
83 |
gen_kwargs={
|
84 |
-
"data_filepath": downloaded_filepath
|
85 |
},
|
86 |
),
|
87 |
datasets.SplitGenerator(
|
88 |
name=datasets.Split.VALIDATION,
|
89 |
gen_kwargs={
|
90 |
-
"data_filepath": downloaded_filepath
|
91 |
},
|
92 |
),
|
93 |
]
|
|
|
16 |
|
17 |
|
18 |
import json
|
19 |
+
import os
|
20 |
|
21 |
import datasets
|
22 |
|
|
|
82 |
datasets.SplitGenerator(
|
83 |
name=datasets.Split.TRAIN,
|
84 |
gen_kwargs={
|
85 |
+
"data_filepath": os.path.join(downloaded_filepath, "spider/train_spider.json"),
|
86 |
},
|
87 |
),
|
88 |
datasets.SplitGenerator(
|
89 |
name=datasets.Split.VALIDATION,
|
90 |
gen_kwargs={
|
91 |
+
"data_filepath": os.path.join(downloaded_filepath, "spider/dev.json"),
|
92 |
},
|
93 |
),
|
94 |
]
|