Dataset Preview
Go to dataset viewer
The dataset preview is not available for this split.
Server error
Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/cfq_dataset/cfq.tar.gz' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead.
Need help to make the dataset viewer work? Open an issue for direct support.
Dataset Card for "cfq"
Dataset Summary
The CFQ dataset (and it's splits) for measuring compositional generalization.
See https://arxiv.org/abs/1912.09713.pdf for background.
Example usage: data = datasets.load_dataset('cfq/mcd1')
Supported Tasks and Leaderboards
Languages
Dataset Structure
Data Instances
mcd1
- Size of downloaded dataset files: 255.20 MB
- Size of the generated dataset: 40.91 MB
- Total amount of disk used: 296.11 MB
An example of 'train' looks as follows.
{
"query": "SELECT /producer M0 . /director M0 . ",
"question": "Who produced and directed M0?"
}
mcd2
- Size of downloaded dataset files: 255.20 MB
- Size of the generated dataset: 42.70 MB
- Total amount of disk used: 297.91 MB
An example of 'train' looks as follows.
{
"query": "SELECT /producer M0 . /director M0 . ",
"question": "Who produced and directed M0?"
}
mcd3
- Size of downloaded dataset files: 255.20 MB
- Size of the generated dataset: 41.58 MB
- Total amount of disk used: 296.78 MB
An example of 'train' looks as follows.
{
"query": "SELECT /producer M0 . /director M0 . ",
"question": "Who produced and directed M0?"
}
query_complexity_split
- Size of downloaded dataset files: 255.20 MB
- Size of the generated dataset: 43.82 MB
- Total amount of disk used: 299.02 MB
An example of 'train' looks as follows.
{
"query": "SELECT /producer M0 . /director M0 . ",
"question": "Who produced and directed M0?"
}
query_pattern_split
- Size of downloaded dataset files: 255.20 MB
- Size of the generated dataset: 43.98 MB
- Total amount of disk used: 299.19 MB
An example of 'train' looks as follows.
{
"query": "SELECT /producer M0 . /director M0 . ",
"question": "Who produced and directed M0?"
}
Data Fields
The data fields are the same among all splits.
mcd1
question
: astring
feature.query
: astring
feature.
mcd2
question
: astring
feature.query
: astring
feature.
mcd3
question
: astring
feature.query
: astring
feature.
query_complexity_split
question
: astring
feature.query
: astring
feature.
query_pattern_split
question
: astring
feature.query
: astring
feature.
Data Splits
name | train | test |
---|---|---|
mcd1 | 95743 | 11968 |
mcd2 | 95743 | 11968 |
mcd3 | 95743 | 11968 |
query_complexity_split | 100654 | 9512 |
query_pattern_split | 94600 | 12589 |
Dataset Creation
Curation Rationale
Source Data
Initial Data Collection and Normalization
Who are the source language producers?
Annotations
Annotation process
Who are the annotators?
Personal and Sensitive Information
Considerations for Using the Data
Social Impact of Dataset
Discussion of Biases
Other Known Limitations
Additional Information
Dataset Curators
Licensing Information
Citation Information
@inproceedings{Keysers2020,
title={Measuring Compositional Generalization: A Comprehensive Method on
Realistic Data},
author={Daniel Keysers and Nathanael Sch"{a}rli and Nathan Scales and
Hylke Buisman and Daniel Furrer and Sergii Kashubin and
Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and
Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and
Olivier Bousquet},
booktitle={ICLR},
year={2020},
url={https://arxiv.org/abs/1912.09713.pdf},
}
Contributions
Thanks to @thomwolf, @patrickvonplaten, @lewtun, @brainshawn for adding this dataset.