Datasets:
Tasks:
Text Generation
Sub-tasks:
language-modeling
Languages:
code
Size:
10K<n<100K
ArXiv:
Tags:
code
License:
Update TACO.py
Browse files
TACO.py
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
# See the License for the specific language governing permissions and
|
14 |
# limitations under the License.
|
15 |
-
"""
|
16 |
|
17 |
import json
|
18 |
import datasets
|
@@ -121,7 +121,7 @@ class TACO(datasets.GeneratorBasedBuilder):
|
|
121 |
|
122 |
def _split_generators(self, dl_manager):
|
123 |
|
124 |
-
downloaded_files = _URLS
|
125 |
|
126 |
return [
|
127 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
|
|
|
12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
# See the License for the specific language governing permissions and
|
14 |
# limitations under the License.
|
15 |
+
"""TACO dataset."""
|
16 |
|
17 |
import json
|
18 |
import datasets
|
|
|
121 |
|
122 |
def _split_generators(self, dl_manager):
|
123 |
|
124 |
+
downloaded_files = dl_manager.download_and_extract(_URLS)
|
125 |
|
126 |
return [
|
127 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
|