Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
acceptability-classification
Languages:
English
Size:
10K - 100K
ArXiv:
License:
Update files from the datasets library (from 1.2.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.2.0
blimp.py
CHANGED
|
@@ -19,7 +19,6 @@
|
|
| 19 |
from __future__ import absolute_import, division, print_function
|
| 20 |
|
| 21 |
import json
|
| 22 |
-
import os
|
| 23 |
|
| 24 |
import datasets
|
| 25 |
|
|
@@ -166,7 +165,7 @@ class Blimp(datasets.GeneratorBasedBuilder):
|
|
| 166 |
def _split_generators(self, dl_manager):
|
| 167 |
"""Returns SplitGenerators."""
|
| 168 |
cfg = self.config
|
| 169 |
-
download_urls = {cfg.name:
|
| 170 |
|
| 171 |
downloaded_files = dl_manager.download_and_extract(download_urls)
|
| 172 |
|
|
|
|
| 19 |
from __future__ import absolute_import, division, print_function
|
| 20 |
|
| 21 |
import json
|
|
|
|
| 22 |
|
| 23 |
import datasets
|
| 24 |
|
|
|
|
| 165 |
def _split_generators(self, dl_manager):
|
| 166 |
"""Returns SplitGenerators."""
|
| 167 |
cfg = self.config
|
| 168 |
+
download_urls = {cfg.name: _DOWNLOAD_URL + f"data/{cfg.name}.jsonl"}
|
| 169 |
|
| 170 |
downloaded_files = dl_manager.download_and_extract(download_urls)
|
| 171 |
|