Datasets:
update name change
Browse files
unpredictable_en-wikipedia-org.py
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
-
"""This loads the
|
15 |
|
16 |
import json
|
17 |
import os
|
@@ -20,30 +20,25 @@ import pandas as pd
|
|
20 |
import datasets
|
21 |
|
22 |
_CITATION = """\
|
23 |
-
@misc{https://ethanperez.net/
|
24 |
-
author = {Chan, Jun Shern and Pieler, Michael and Jao, Jonathan and Scheurer, Jérémy and Perez, Ethan},
|
25 |
-
title = {Exploring Few-Shot Adaptation of Language Models with Tables},
|
26 |
-
publisher = {arXiv},
|
27 |
-
year = {2022},
|
28 |
-
}
|
29 |
"""
|
30 |
|
31 |
_DESCRIPTION = """\
|
32 |
-
The
|
33 |
"""
|
34 |
|
35 |
-
_HOMEPAGE = "https://ethanperez.net/
|
36 |
|
37 |
_LICENSE = "Apache 2.0"
|
38 |
|
39 |
-
_URL = "https://huggingface.co/datasets/MicPie/
|
40 |
|
41 |
logger = datasets.logging.get_logger(__name__)
|
42 |
|
43 |
|
44 |
-
class
|
45 |
"""
|
46 |
-
The
|
47 |
"""
|
48 |
|
49 |
VERSION = datasets.Version("1.0.0")
|
@@ -93,4 +88,4 @@ class AdapTableSite(datasets.GeneratorBasedBuilder):
|
|
93 |
"outputColName": data["outputColName"],
|
94 |
"url": data["url"],
|
95 |
"wdcFile": data["wdcFile"],
|
96 |
-
}
|
|
|
11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
+
"""This loads the UnpredicTable-en-wikipedia-org dataset."""
|
15 |
|
16 |
import json
|
17 |
import os
|
|
|
20 |
import datasets
|
21 |
|
22 |
_CITATION = """\
|
23 |
+
@misc{https://ethanperez.net/unpredictable, author = {Chan, Jun Shern and Pieler, Michael and Jao, Jonathan and Scheurer, Jérémy and Perez, Ethan}, title = {Exploring Few-Shot Adaptation of Language Models with Tables}, publisher = {arXiv}, year = {2022}}
|
|
|
|
|
|
|
|
|
|
|
24 |
"""
|
25 |
|
26 |
_DESCRIPTION = """\
|
27 |
+
The UnpredicTable dataset consists of web tables formatted as few-shot tasks for fine-tuning language models to improve their few-shot performance. For more details please see the accompanying dataset card.
|
28 |
"""
|
29 |
|
30 |
+
_HOMEPAGE = "https://ethanperez.net/unpredictable"
|
31 |
|
32 |
_LICENSE = "Apache 2.0"
|
33 |
|
34 |
+
_URL = "https://huggingface.co/datasets/MicPie/unpredictable_en-wikipedia-org/resolve/main/data/unpredictable_en-wikipedia-org.jsonl"
|
35 |
|
36 |
logger = datasets.logging.get_logger(__name__)
|
37 |
|
38 |
|
39 |
+
class UnpredicTable(datasets.GeneratorBasedBuilder):
|
40 |
"""
|
41 |
+
The UnpredicTable dataset consists of web tables formatted as few-shot tasks for fine-tuning language models to improve their few-shot performance. For more details please see the accompanying dataset card.
|
42 |
"""
|
43 |
|
44 |
VERSION = datasets.Version("1.0.0")
|
|
|
88 |
"outputColName": data["outputColName"],
|
89 |
"url": data["url"],
|
90 |
"wdcFile": data["wdcFile"],
|
91 |
+
}
|