File size: 14,261 Bytes
d5a5d98
 
 
 
 
 
 
 
 
 
 
7046d3a
d5a5d98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0dfc46b
7046d3a
d5a5d98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9ab5d6a
 
d5a5d98
 
 
 
 
9ab5d6a
55c1c98
 
 
 
 
 
 
9ab5d6a
55c1c98
9ab5d6a
55c1c98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0dfc46b
55c1c98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
faf8fb6
d5a5d98
 
55c1c98
d5a5d98
55c1c98
d5a5d98
 
 
 
 
 
 
 
 
9ab5d6a
d5a5d98
 
 
 
 
 
 
55c1c98
d5a5d98
 
 
55c1c98
d5a5d98
 
 
 
 
 
 
 
 
 
 
55c1c98
d5a5d98
 
 
 
 
9ab5d6a
d5a5d98
 
 
 
 
9ab5d6a
d5a5d98
 
 
 
 
 
 
 
 
9ab5d6a
d5a5d98
 
 
9ab5d6a
d5a5d98
 
 
9ab5d6a
d5a5d98
 
 
 
 
9ab5d6a
d5a5d98
 
 
9ab5d6a
d5a5d98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9ab5d6a
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
---
annotations_creators:
- no-annotation
language_creators:
- found
languages:
- en
license:
- apache-2.0
multilinguality:
- monolingual
pretty_name: AdapTable-full
size_categories:
- 100K<n<1M
source_datasets: []
task_categories:
- multiple-choice
- question-answering
- zero-shot-classification
- text2text-generation
- table-question-answering
- text-generation
- text-classification
- tabular-classification
task_ids:
- multiple-choice-qa
- extractive-qa
- open-domain-qa
- closed-domain-qa
- closed-book-qa
- open-book-qa
- language-modeling
- multi-class-classification
- natural-language-inference
- topic-classification
- multi-label-classification
- tabular-multi-class-classification
- tabular-multi-label-classification
---


# Dataset Card for "AdapTable-full" - Dataset of Few-shot Tasks from Tables

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-instances)
  - [Data Splits](#data-instances)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)

## Dataset Description

- **Homepage:** https://ethanperez.net/adaptable
- **Repository:** https://github.com/JunShern/few-shot-adaptation
- **Paper:** Exploring Few-Shot Adaptation of Language Models with Tables
- **Point of Contact:** [email protected], [email protected]

### Dataset Summary

The AdapTable dataset consists of web tables formatted as few-shot tasks for fine-tuning language models to improve their few-shot performance.

There are several dataset versions available:

* [AdapTable-full](https://huggingface.co/datasets/MicPie/adaptable_full): Starting from the initial WTC corpus of 50M tables, we apply our tables-to-tasks procedure to produce our resulting dataset, [AdapTable-full](https://huggingface.co/datasets/MicPie/adaptable_full), which comprises 413,350 tasks from 23,744 unique websites.

* [AdapTable-unique](https://huggingface.co/datasets/MicPie/adaptable_unique): This is the same as [AdapTable-full](https://huggingface.co/datasets/MicPie/adaptable_full) but filtered to have a maximum of one task per website. [AdapTable-unique](https://huggingface.co/datasets/MicPie/adaptable_unique) contains exactly 23,744 tasks from 23,744 websites.

* [AdapTable-5k](https://huggingface.co/datasets/MicPie/adaptable_5k): This dataset contains 5k random tables from the full dataset.

* AdapTable data subsets based on a manual human quality rating (please see our publication for details of the ratings):
    * [AdapTable-rated-low](https://huggingface.co/datasets/MicPie/adaptable_rated-low)
    * [AdapTable-rated-medium](https://huggingface.co/datasets/MicPie/adaptable_rated-medium)
    * [AdapTable-rated-high](https://huggingface.co/datasets/MicPie/adaptable_rated-high)

* AdapTable data subsets based on the website of origin:
    * [AdapTable-baseball.fantasysports.yahoo.com](https://huggingface.co/datasets/MicPie/adaptable_baseball.fantasysports.yahoo.com) 
    * [AdapTable-bulbapedia.bulbagarden.net](https://huggingface.co/datasets/MicPie/adaptable_bulbapedia.bulbagarden.net)
    * [AdapTable-cappex.com](https://huggingface.co/datasets/MicPie/adaptable_cappex.com) 
    * [AdapTable-cram.com](https://huggingface.co/datasets/MicPie/adaptable_cram.com)
    * [AdapTable-dividend.com](https://huggingface.co/datasets/MicPie/adaptable_dividend.com) 
    * [AdapTable-dummies.com](https://huggingface.co/datasets/MicPie/adaptable_dummies.com)
    * [AdapTable-en.wikipedia.org](https://huggingface.co/datasets/MicPie/adaptable_en.wikipedia.org)
    * [AdapTable-ensembl.org](https://huggingface.co/datasets/MicPie/adaptable_ensembl.org)
    * [AdapTable-gamefaqs.com](https://huggingface.co/datasets/MicPie/adaptable_gamefaqs.com)
    *  [AdapTable-mgoblog.com](https://huggingface.co/datasets/MicPie/adaptable_mgoblog.com)
    * [AdapTable-mmo-champion.com](https://huggingface.co/datasets/MicPie/adaptable_mmo-champion.com)
    * [AdapTable-msdn.microsoft.com](https://huggingface.co/datasets/MicPie/adaptable_msdn.microsoft.com)
    *  [AdapTable-phonearena.com](https://huggingface.co/datasets/MicPie/adaptable_phonearena.com)
    * [AdapTable-sittercity.com](https://huggingface.co/datasets/MicPie/adaptable_sittercity.com)
    *  [AdapTable-sporcle.com](https://huggingface.co/datasets/MicPie/adaptable_sporcle.com)
    * [AdapTable-studystack.com](https://huggingface.co/datasets/MicPie/adaptable_studystack.com)
    * [AdapTable-support.google.com](https://huggingface.co/datasets/MicPie/adaptable_support.google.com)
    * [AdapTable-w3.org](https://huggingface.co/datasets/MicPie/adaptable_w3.org)
    *  [AdapTable-wiki.openmoko.org](https://huggingface.co/datasets/MicPie/adaptable_wiki.openmoko.org)
    * [AdapTable-wkdu.org](https://huggingface.co/datasets/MicPie/adaptable_wkdu.org)


* AdapTable data subsets based on clustering (for the clustering details please see our publication):
    * [AdapTable-cluster00](https://huggingface.co/datasets/MicPie/adaptable_cluster00)
    * [AdapTable-cluster01](https://huggingface.co/datasets/MicPie/adaptable_cluster01)
    * [AdapTable-cluster02](https://huggingface.co/datasets/MicPie/adaptable_cluster02)
    * [AdapTable-cluster03](https://huggingface.co/datasets/MicPie/adaptable_cluster03)
    * [AdapTable-cluster04](https://huggingface.co/datasets/MicPie/adaptable_cluster04)
    * [AdapTable-cluster05](https://huggingface.co/datasets/MicPie/adaptable_cluster05)
    * [AdapTable-cluster06](https://huggingface.co/datasets/MicPie/adaptable_cluster06)
    * [AdapTable-cluster07](https://huggingface.co/datasets/MicPie/adaptable_cluster07)
    * [AdapTable-cluster08](https://huggingface.co/datasets/MicPie/adaptable_cluster08)
    * [AdapTable-cluster09](https://huggingface.co/datasets/MicPie/adaptable_cluster09)
    * [AdapTable-cluster10](https://huggingface.co/datasets/MicPie/adaptable_cluster10)
    * [AdapTable-cluster11](https://huggingface.co/datasets/MicPie/adaptable_cluster11)
    * [AdapTable-cluster12](https://huggingface.co/datasets/MicPie/adaptable_cluster12)
    * [AdapTable-cluster13](https://huggingface.co/datasets/MicPie/adaptable_cluster13)
    * [AdapTable-cluster14](https://huggingface.co/datasets/MicPie/adaptable_cluster14)
    * [AdapTable-cluster15](https://huggingface.co/datasets/MicPie/adaptable_cluster15)
    * [AdapTable-cluster16](https://huggingface.co/datasets/MicPie/adaptable_cluster16)
    * [AdapTable-cluster17](https://huggingface.co/datasets/MicPie/adaptable_cluster17)
    * [AdapTable-cluster18](https://huggingface.co/datasets/MicPie/adaptable_cluster18)
    * [AdapTable-cluster19](https://huggingface.co/datasets/MicPie/adaptable_cluster19)
    * [AdapTable-cluster20](https://huggingface.co/datasets/MicPie/adaptable_cluster20)
    * [AdapTable-cluster21](https://huggingface.co/datasets/MicPie/adaptable_cluster21)
    * [AdapTable-cluster22](https://huggingface.co/datasets/MicPie/adaptable_cluster22)
    * [AdapTable-cluster23](https://huggingface.co/datasets/MicPie/adaptable_cluster23)
    * [AdapTable-cluster24](https://huggingface.co/datasets/MicPie/adaptable_cluster24)
    * [AdapTable-cluster25](https://huggingface.co/datasets/MicPie/adaptable_cluster25)
    * [AdapTable-cluster26](https://huggingface.co/datasets/MicPie/adaptable_cluster26)
    * [AdapTable-cluster27](https://huggingface.co/datasets/MicPie/adaptable_cluster27)
    * [AdapTable-cluster28](https://huggingface.co/datasets/MicPie/adaptable_cluster28)
    * [AdapTable-cluster29](https://huggingface.co/datasets/MicPie/adaptable_cluster29)
    * [AdapTable-cluster-noise](https://huggingface.co/datasets/MicPie/adaptable_cluster-noise)

### Supported Tasks and Leaderboards

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.

The intended use of this dataset is to improve few-shot performance by fine-tuning/pre-training on our dataset.

### Languages

English

## Dataset Structure

### Data Instances

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.

There are also additional meta-data fields such as 'pageTitle', 'title', 'outputColName', 'url', 'wdcFile'. 

### Data Fields

'task': task identifier

'input': column elements of a specific row in the table. 

'options': for multiple choice classification, it provides the options to choose from.

'output': target column element of the same row as input.

'pageTitle': the title of the page containing the table. 

'outputColName': output column name

'url': url to the website containing the table

'wdcFile': WDC Web Table Corpus file

### Data Splits

The AdapTable datasets do not come with additional data splits.

## Dataset Creation

### Curation Rationale

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,350 tasks from diverse internet tables. We provide this as a research resource to investigate the relationship between training data and few-shot learning.

### Source Data

#### Initial Data Collection and Normalization

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.

#### Who are the source language producers?

The dataset is extracted from [WDC Web Table Corpora](http://webdatacommons.org/webtables/).

### Annotations

#### Annotation process

Manual annotation was only carried out for the [AdapTable-rated-low](https://huggingface.co/datasets/MicPie/adaptable_rated-low), [AdapTable-rated-medium](https://huggingface.co/datasets/MicPie/adaptable_rated-medium), and [AdapTable-rated-high](https://huggingface.co/datasets/MicPie/adaptable_rated-high) data subsets to rate task quality. Detailed instructions of the annotation instructions can be found in our publication.

#### Who are the annotators?

Annotations were carried out by a lab assistant.

### Personal and Sensitive Information

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.

## Considerations for Using the Data

### Social Impact of Dataset

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.

### Discussion of Biases

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.

### Other Known Limitations

No additional known limitations.

## Additional Information

### Dataset Curators
Jun Shern Chan, Michael Pieler, Jonathan Jao, Jérémy Scheurer, Ethan Perez

### Licensing Information
Apache 2.0

### Citation Information

```
@misc{https://ethanperez.net/adaptable,
  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},
}
```