unpredictable commited on
Commit
50aaee1
1 Parent(s): 6aa044c

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +164 -0
README.md ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license:
9
+ - apache-2.0
10
+ multilinguality:
11
+ - monolingual
12
+ pretty_name: UnpredicTable-5k
13
+ size_categories:
14
+ - 100K<n<1M
15
+ source_datasets: []
16
+ task_categories:
17
+ - multiple-choice
18
+ - question-answering
19
+ - zero-shot-classification
20
+ - text2text-generation
21
+ - table-question-answering
22
+ - text-generation
23
+ - text-classification
24
+ - tabular-classification
25
+ task_ids:
26
+ - multiple-choice-qa
27
+ - extractive-qa
28
+ - open-domain-qa
29
+ - closed-domain-qa
30
+ - closed-book-qa
31
+ - open-book-qa
32
+ - language-modeling
33
+ - multi-class-classification
34
+ - natural-language-inference
35
+ - topic-classification
36
+ - multi-label-classification
37
+ - tabular-multi-class-classification
38
+ - tabular-multi-label-classification
39
+ ---
40
+
41
+
42
+ # Dataset Card for "UnpredicTable-5k" - Dataset of Few-shot Tasks from Tables
43
+
44
+ ## Table of Contents
45
+ - [Dataset Description](#dataset-description)
46
+ - [Dataset Summary](#dataset-summary)
47
+ - [Supported Tasks](#supported-tasks-and-leaderboards)
48
+ - [Languages](#languages)
49
+ - [Dataset Structure](#dataset-structure)
50
+ - [Data Instances](#data-instances)
51
+ - [Data Fields](#data-instances)
52
+ - [Data Splits](#data-instances)
53
+ - [Dataset Creation](#dataset-creation)
54
+ - [Curation Rationale](#curation-rationale)
55
+ - [Source Data](#source-data)
56
+ - [Annotations](#annotations)
57
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
58
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
59
+ - [Social Impact of Dataset](#social-impact-of-dataset)
60
+ - [Discussion of Biases](#discussion-of-biases)
61
+ - [Other Known Limitations](#other-known-limitations)
62
+ - [Additional Information](#additional-information)
63
+ - [Dataset Curators](#dataset-curators)
64
+ - [Licensing Information](#licensing-information)
65
+ - [Citation Information](#citation-information)
66
+
67
+ ## Dataset Description
68
+
69
+ - **Repository:** https://github.com/AnonCodeShare/few-shot-adaptation
70
+ - **Paper:** Few-shot Adaptation Works with UnpredicTable Data
71
+
72
+ ### Dataset Summary
73
+
74
+ The UnpredicTable dataset consists of web tables formatted as few-shot tasks for fine-tuning language models to improve their few-shot performance.
75
+
76
+ There are several dataset versions available:
77
+
78
+ * [UnpredicTable-full](https://huggingface.co/datasets/unpredictable/unpredictable_full): Starting from the initial WTC corpus of 50M tables, we apply our tables-to-tasks procedure to produce our resulting dataset, [UnpredicTable-full](https://huggingface.co/datasets/unpredictable/unpredictable_full), which comprises 413,299 tasks from 23,744 unique websites.
79
+
80
+ * [UnpredicTable-unique](https://huggingface.co/datasets/unpredictable/unpredictable_unique): This is the same as [UnpredicTable-full](https://huggingface.co/datasets/unpredictable/unpredictable_full) but filtered to have a maximum of one task per website. [UnpredicTable-unique](https://huggingface.co/datasets/unpredictable/unpredictable_unique) contains exactly 23,744 tasks from 23,744 websites.
81
+
82
+ * [UnpredicTable-5k](https://huggingface.co/datasets/unpredictable/unpredictable_5k): This dataset contains 5k random tables from the full dataset.
83
+
84
+ * UnpredicTable data subsets based on the website of origin:
85
+ * [UnpredicTable-support-google-com](https://huggingface.co/datasets/unpredictable/unpredictable_support-google-com)
86
+
87
+ ### Supported Tasks and Leaderboards
88
+
89
+ Since the tables come from the web, the distribution of tasks and topics is very broad. The shape of our dataset is very wide, i.e., we have 1000's of tasks, while each task has only a few examples, compared to most current NLP datasets which are very deep, i.e., 10s of tasks with many examples. This implies that our dataset covers a broad range of potential tasks, e.g., multiple-choice, question-answering, table-question-answering, text-classification, etc.
90
+
91
+ The intended use of this dataset is to improve few-shot performance by fine-tuning/pre-training on our dataset.
92
+
93
+ ### Languages
94
+
95
+ English
96
+
97
+ ## Dataset Structure
98
+
99
+ ### Data Instances
100
+
101
+ Each task is represented as a jsonline file and consists of several few-shot examples. Each example is a dictionary containing a field 'task', which identifies the task, followed by an 'input', 'options', and 'output' field. The 'input' field contains several column elements of the same row in the table, while the 'output' field is a target which represents an individual column of the same row. Each task contains several such examples which can be concatenated as a few-shot task. In the case of multiple choice classification, the 'options' field contains the possible classes that a model needs to choose from.
102
+
103
+ There are also additional meta-data fields such as 'pageTitle', 'title', 'outputColName', 'url', 'wdcFile'.
104
+
105
+ ### Data Fields
106
+
107
+ 'task': task identifier
108
+
109
+ 'input': column elements of a specific row in the table.
110
+
111
+ 'options': for multiple choice classification, it provides the options to choose from.
112
+
113
+ 'output': target column element of the same row as input.
114
+
115
+ 'pageTitle': the title of the page containing the table.
116
+
117
+ 'outputColName': output column name
118
+
119
+ 'url': url to the website containing the table
120
+
121
+ 'wdcFile': WDC Web Table Corpus file
122
+
123
+ ### Data Splits
124
+
125
+ The UnpredicTable datasets do not come with additional data splits.
126
+
127
+ ## Dataset Creation
128
+
129
+ ### Curation Rationale
130
+
131
+ Few-shot training on multi-task datasets has been demonstrated to improve language models' few-shot learning (FSL) performance on new tasks, but it is unclear which training tasks lead to effective downstream task adaptation. Few-shot learning datasets are typically produced with expensive human curation, limiting the scale and diversity of the training tasks available to study. As an alternative source of few-shot data, we automatically extract 413,299 tasks from diverse internet tables. We provide this as a research resource to investigate the relationship between training data and few-shot learning.
132
+
133
+ ### Source Data
134
+
135
+ #### Initial Data Collection and Normalization
136
+
137
+ We use internet tables from the English-language Relational Subset of the WDC Web Table Corpus 2015 (WTC). The WTC dataset tables were extracted from the July 2015 Common Crawl web corpus (http://webdatacommons.org/webtables/2015/EnglishStatistics.html). The dataset contains 50,820,165 tables from 323,160 web domains. We then convert the tables into few-shot learning tasks. Please see our publication for more details on the data collection and conversion pipeline.
138
+
139
+ #### Who are the source language producers?
140
+
141
+ The dataset is extracted from [WDC Web Table Corpora](http://webdatacommons.org/webtables/).
142
+
143
+ ### Personal and Sensitive Information
144
+
145
+ The data was extracted from [WDC Web Table Corpora](http://webdatacommons.org/webtables/), which in turn extracted tables from the [Common Crawl](https://commoncrawl.org/). We did not filter the data in any way. Thus any user identities or otherwise sensitive information (e.g., data that reveals racial or ethnic origins, sexual orientations, religious beliefs, political opinions or union memberships, or locations; financial or health data; biometric or genetic data; forms of government identification, such as social security numbers; criminal history, etc.) might be contained in our dataset.
146
+
147
+ ## Considerations for Using the Data
148
+
149
+ ### Social Impact of Dataset
150
+
151
+ This dataset is intended for use as a research resource to investigate the relationship between training data and few-shot learning. As such, it contains high- and low-quality data, as well as diverse content that may be untruthful or inappropriate. Without careful investigation, it should not be used for training models that will be deployed for use in decision-critical or user-facing situations.
152
+
153
+ ### Discussion of Biases
154
+
155
+ Since our dataset contains tables that are scraped from the web, it will also contain many toxic, racist, sexist, and otherwise harmful biases and texts. We have not run any analysis on the biases prevalent in our datasets. Neither have we explicitly filtered the content. This implies that a model trained on our dataset may potentially reflect harmful biases and toxic text that exist in our dataset.
156
+
157
+ ### Other Known Limitations
158
+
159
+ No additional known limitations.
160
+
161
+ ## Additional Information
162
+
163
+ ### Licensing Information
164
+ Apache 2.0