Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
100K<n<1M
Language Creators:
found
Annotations Creators:
machine-generated
ArXiv:
Tags:
License:
system HF staff commited on
Commit
56d97b3
0 Parent(s):

Update files from the datasets library (from 1.0.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.0.0

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
compguesswhat.py ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import absolute_import, division, print_function
2
+
3
+ import gzip
4
+ import json
5
+ import os
6
+
7
+ import datasets
8
+
9
+
10
+ class CompguesswhatConfig(datasets.BuilderConfig):
11
+ """ BuilderConfig for CompGuessWhat?!"""
12
+
13
+ def __init__(self, data_url, splits, gameplay_scenario, **kwargs):
14
+ """
15
+
16
+ Args:
17
+ gameplay_scenario: to specify if we want to load original CompGuessWhat?! split ('original') or
18
+ the zero-shot reference games based on NOCAPS images ('zero_shot')
19
+ **kwargs: keyword arguments forwarded to super.
20
+ """
21
+ super(CompguesswhatConfig, self).__init__(
22
+ version=datasets.Version("0.1.0", "First CompGuessWhat?! release"), **kwargs
23
+ )
24
+ assert gameplay_scenario in (
25
+ "original",
26
+ "zero_shot",
27
+ ), "Invalid choice for parameter 'gameplay_scenario': {gameplay_scenario}. Valid values are ('original', 'zero_shot')."
28
+
29
+ self.gameplay_scenario = gameplay_scenario
30
+ self.splits = splits
31
+ self.data_url = data_url
32
+
33
+
34
+ class Compguesswhat(datasets.GeneratorBasedBuilder):
35
+ _CITATION = """\
36
+ @inproceedings{suglia2020compguesswhat,
37
+ title={CompGuessWhat?!: a Multi-task Evaluation Framework for Grounded Language Learning},
38
+ author={Suglia, Alessandro, Konstas, Ioannis, Vanzo, Andrea, Bastianelli, Emanuele, Desmond Elliott, Stella Frank and Oliver Lemon},
39
+ booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
40
+ year={2020}
41
+ }
42
+ """
43
+
44
+ _DESCRIPTION = """
45
+ CompGuessWhat?! is an instance of a multi-task framework for evaluating the quality of learned neural representations,
46
+ in particular concerning attribute grounding. Use this dataset if you want to use the set of games whose reference
47
+ scene is an image in VisualGenome. Visit the website for more details: https://compguesswhat.github.io
48
+ """
49
+
50
+ BUILDER_CONFIGS = [
51
+ CompguesswhatConfig(
52
+ name="compguesswhat-original",
53
+ gameplay_scenario="original",
54
+ description="CompGuessWhat?! subset of games from the original GuessWhat?! dataset",
55
+ data_url="https://www.dropbox.com/s/l0nc13udml6vs0w/compguesswhat-original.zip?dl=1",
56
+ splits={
57
+ "train": "compguesswhat.train.jsonl.gz",
58
+ "valid": "compguesswhat.valid.jsonl.gz",
59
+ "test": "compguesswhat.test.jsonl.gz",
60
+ },
61
+ ),
62
+ CompguesswhatConfig(
63
+ name="compguesswhat-zero_shot",
64
+ gameplay_scenario="zero_shot",
65
+ description="CompGuessWhat?! reference set of games for zero-shot evaluation using NOCAPS images",
66
+ data_url="https://www.dropbox.com/s/gd46azul7o7iip4/compguesswhat-zero_shot.zip?dl=1",
67
+ splits={
68
+ "nd_valid": "compguesswhat.nd_valid.jsonl.gz",
69
+ "nd_test": "compguesswhat.nd_test.jsonl.gz",
70
+ "od_valid": "compguesswhat.od_valid.jsonl.gz",
71
+ "od_test": "compguesswhat.od_test.jsonl.gz",
72
+ },
73
+ ),
74
+ ]
75
+
76
+ VERSION = datasets.Version("0.1.0")
77
+
78
+ def _info(self):
79
+ if self.config.gameplay_scenario == "original":
80
+ return datasets.DatasetInfo(
81
+ # This is the description that will appear on the datasets page.
82
+ description=self._DESCRIPTION,
83
+ # datasets.features.FeatureConnectors
84
+ features=datasets.Features(
85
+ {
86
+ "id": datasets.Value("int32"),
87
+ "target_id": datasets.Value("int32"),
88
+ "timestamp": datasets.Value("string"),
89
+ "status": datasets.Value("string"),
90
+ "image": {
91
+ "id": datasets.Value("int32"),
92
+ "file_name": datasets.Value("string"),
93
+ "flickr_url": datasets.Value("string"),
94
+ "coco_url": datasets.Value("string"),
95
+ "height": datasets.Value("int32"),
96
+ "width": datasets.Value("int32"),
97
+ "vg_id": datasets.Value("int32"),
98
+ "vg_url": datasets.Value("string"),
99
+ },
100
+ "qas": datasets.features.Sequence(
101
+ {
102
+ "question": datasets.Value("string"),
103
+ "answer": datasets.Value("string"),
104
+ "id": datasets.Value("int32"),
105
+ }
106
+ ),
107
+ "objects": datasets.features.Sequence(
108
+ {
109
+ "id": datasets.Value("int32"),
110
+ "bbox": datasets.Sequence(datasets.Value("float32"), length=4),
111
+ "category": datasets.Value("string"),
112
+ "area": datasets.Value("float32"),
113
+ "category_id": datasets.Value("int32"),
114
+ "segment": datasets.features.Sequence(
115
+ datasets.features.Sequence(datasets.Value("float32"))
116
+ ),
117
+ }
118
+ ),
119
+ }
120
+ ),
121
+ # If there's a common (input, target) tuple from the features,
122
+ # specify them here. They'll be used if as_supervised=True in
123
+ # builder.as_dataset.
124
+ supervised_keys=None,
125
+ # Homepage of the dataset for documentation
126
+ homepage="https://compguesswhat.github.io/",
127
+ citation=self._CITATION,
128
+ )
129
+ elif self.config.gameplay_scenario == "zero_shot":
130
+ return datasets.DatasetInfo(
131
+ # This is the description that will appear on the datasets page.
132
+ description=self._DESCRIPTION,
133
+ # datasets.features.FeatureConnectors
134
+ features=datasets.Features(
135
+ {
136
+ "id": datasets.Value("int32"),
137
+ "target_id": datasets.Value("string"),
138
+ "status": datasets.Value("string"),
139
+ "image": {
140
+ "id": datasets.Value("int32"),
141
+ "file_name": datasets.Value("string"),
142
+ "coco_url": datasets.Value("string"),
143
+ "height": datasets.Value("int32"),
144
+ "width": datasets.Value("int32"),
145
+ "license": datasets.Value("int32"),
146
+ "open_images_id": datasets.Value("string"),
147
+ "date_captured": datasets.Value("string"),
148
+ },
149
+ "objects": datasets.features.Sequence(
150
+ {
151
+ "id": datasets.Value("string"),
152
+ "bbox": datasets.Sequence(datasets.Value("float32"), length=4),
153
+ "category": datasets.Value("string"),
154
+ "area": datasets.Value("float32"),
155
+ "category_id": datasets.Value("int32"),
156
+ "IsOccluded": datasets.Value("int32"),
157
+ "IsTruncated": datasets.Value("int32"),
158
+ "segment": datasets.features.Sequence(
159
+ {
160
+ "MaskPath": datasets.Value("string"),
161
+ "LabelName": datasets.Value("string"),
162
+ "BoxID": datasets.Value("string"),
163
+ "BoxXMin": datasets.Value("string"),
164
+ "BoxXMax": datasets.Value("string"),
165
+ "BoxYMin": datasets.Value("string"),
166
+ "BoxYMax": datasets.Value("string"),
167
+ "PredictedIoU": datasets.Value("string"),
168
+ "Clicks": datasets.Value("string"),
169
+ }
170
+ ),
171
+ }
172
+ ),
173
+ }
174
+ ),
175
+ # If there's a common (input, target) tuple from the features,
176
+ # specify them here. They'll be used if as_supervised=True in
177
+ # builder.as_dataset.
178
+ supervised_keys=None,
179
+ # Homepage of the dataset for documentation
180
+ homepage="https://compguesswhat.github.io/",
181
+ citation=self._CITATION,
182
+ )
183
+
184
+ def _split_generators(self, dl_manager):
185
+ """Returns SplitGenerators."""
186
+ dl_dir = dl_manager.download_and_extract(self.config.data_url)
187
+
188
+ splits_gen = []
189
+
190
+ for split_id, split_filename in self.config.splits.items():
191
+ if self.config.gameplay_scenario == "original":
192
+ if "train" in split_id:
193
+ split_name = datasets.Split.TRAIN
194
+ elif "valid" in split_id:
195
+ split_name = datasets.Split.VALIDATION
196
+ elif "test" in split_id:
197
+ split_name = datasets.Split.TEST
198
+ else:
199
+ split_name = datasets.Split(split_id)
200
+
201
+ full_split_name = "-".join(["compguesswhat", self.config.gameplay_scenario])
202
+ splits_gen.append(
203
+ datasets.SplitGenerator(
204
+ name=split_name,
205
+ gen_kwargs={
206
+ "filepath": os.path.join(dl_dir, full_split_name, self.VERSION.version_str, split_filename)
207
+ },
208
+ )
209
+ )
210
+
211
+ return splits_gen
212
+
213
+ def _generate_examples(self, filepath):
214
+ def _extract_game_tuple(data):
215
+ data = data.decode("utf-8")
216
+ game = json.loads(data.strip("\n"))
217
+
218
+ # we refactor the data structure a bit to fit with the new version
219
+ game["target_id"] = game["object_id"]
220
+ if "object_id" in game:
221
+ del game["object_id"]
222
+
223
+ if "questioner_id" in game:
224
+ del game["questioner_id"]
225
+ ###
226
+
227
+ return game["id"], game
228
+
229
+ """Yields examples."""
230
+ with gzip.open(filepath) as in_file:
231
+ for data in in_file:
232
+ yield _extract_game_tuple(data)
create_dummy_data.py ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gzip
2
+ import json
3
+ import os
4
+ from argparse import ArgumentParser
5
+
6
+
7
+ parser = ArgumentParser()
8
+ parser.add_argument(
9
+ "-d",
10
+ "--data_path",
11
+ type=str,
12
+ required=True,
13
+ help="Data path containing the CompGuessWhat?! datasets (files with 'jsonl.gz' extension)",
14
+ )
15
+ parser.add_argument("--examples", type=int, default=5, help="Number of games to consider in the dummy dataset")
16
+ original_data_files = {
17
+ "train": "compguesswhat.train.jsonl.gz",
18
+ "valid": "compguesswhat.valid.jsonl.gz",
19
+ "test": "compguesswhat.test.jsonl.gz",
20
+ }
21
+
22
+ zs_data_files = {
23
+ "nd_valid": "compguesswhat.nd_valid.jsonl.gz",
24
+ "od_valid": "compguesswhat.od_valid.jsonl.gz",
25
+ "nd_test": "compguesswhat.nd_test.jsonl.gz",
26
+ "od_test": "compguesswhat.od_test.jsonl.gz",
27
+ }
28
+
29
+ COMPGUESSWHAT_ROOT = "datasets/compguesswhat/"
30
+
31
+
32
+ def create_dummy_data_for_split(data_path, dataset_name, dataset_version, data_files):
33
+ full_dataset_name = "-".join(["compguesswhat", dataset_name])
34
+ dummy_data_path = os.path.join(
35
+ COMPGUESSWHAT_ROOT,
36
+ "dummy",
37
+ full_dataset_name,
38
+ dataset_version,
39
+ "dummy_data",
40
+ full_dataset_name,
41
+ dataset_version,
42
+ )
43
+
44
+ if not os.path.exists(dummy_data_path):
45
+ os.makedirs(dummy_data_path)
46
+
47
+ for split_name, split_file in data_files.items():
48
+ print(f"Generating dummy data for split {split_name} (num. examples = {args.examples})")
49
+
50
+ split_filepath = os.path.join(data_path, full_dataset_name, dataset_version, split_file)
51
+ print(f"Reading split file {split_filepath}")
52
+ with gzip.open(split_filepath) as in_file:
53
+ dummy_filepath = os.path.join(dummy_data_path, split_file)
54
+ with gzip.open(dummy_filepath, mode="w") as out_file:
55
+ for i, line in enumerate(in_file):
56
+ if i > args.examples:
57
+ break
58
+
59
+ data = json.loads(line.strip())
60
+ out_file.write(json.dumps(data).encode("utf-8"))
61
+ out_file.write(b"\n")
62
+
63
+
64
+ def main(args):
65
+ # args.data_path is the directory containing the already downloaded dataset files
66
+ # we assume that the dataset test was successful and we have the file dataset_info.json
67
+ dataset_info_path = os.path.join(COMPGUESSWHAT_ROOT, "dataset_infos.json")
68
+
69
+ if not os.path.exists(dataset_info_path):
70
+ raise ValueError(
71
+ "The file 'dataset_info.json' doesn't exists. Make sure that you run the dataset tests via datasets-cli."
72
+ )
73
+
74
+ with open(dataset_info_path, encoding="utf-8") as in_file:
75
+ dataset_info = json.load(in_file)
76
+
77
+ dataset_version = dataset_info["default"]["version"]["version_str"]
78
+
79
+ print(f"Creating dummy data for CompGuessWhat?! {dataset_version}")
80
+
81
+ print("Original dataset...")
82
+ create_dummy_data_for_split(args.data_path, "original", dataset_version, original_data_files)
83
+
84
+ print("Zero-shot dataset...")
85
+ create_dummy_data_for_split(args.data_path, "zero_shot", dataset_version, zs_data_files)
86
+
87
+
88
+ if __name__ == "__main__":
89
+ args = parser.parse_args()
90
+ main(args)
dataset_infos.json ADDED
@@ -0,0 +1,396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "compguesswhat-original": {
3
+ "description": "\n CompGuessWhat?! is an instance of a multi-task framework for evaluating the quality of learned neural representations,\n in particular concerning attribute grounding. Use this dataset if you want to use the set of games whose reference\n scene is an image in VisualGenome. Visit the website for more details: https://compguesswhat.github.io\n ",
4
+ "citation": " @inproceedings{suglia2020compguesswhat,\n title={CompGuessWhat?!: a Multi-task Evaluation Framework for Grounded Language Learning},\n author={Suglia, Alessandro, Konstas, Ioannis, Vanzo, Andrea, Bastianelli, Emanuele, Desmond Elliott, Stella Frank and Oliver Lemon},\n booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},\n year={2020}\n }\n ",
5
+ "homepage": "https://compguesswhat.github.io/",
6
+ "license": "",
7
+ "features": {
8
+ "id": {
9
+ "dtype": "int32",
10
+ "id": null,
11
+ "_type": "Value"
12
+ },
13
+ "target_id": {
14
+ "dtype": "int32",
15
+ "id": null,
16
+ "_type": "Value"
17
+ },
18
+ "timestamp": {
19
+ "dtype": "string",
20
+ "id": null,
21
+ "_type": "Value"
22
+ },
23
+ "status": {
24
+ "dtype": "string",
25
+ "id": null,
26
+ "_type": "Value"
27
+ },
28
+ "image": {
29
+ "id": {
30
+ "dtype": "int32",
31
+ "id": null,
32
+ "_type": "Value"
33
+ },
34
+ "file_name": {
35
+ "dtype": "string",
36
+ "id": null,
37
+ "_type": "Value"
38
+ },
39
+ "flickr_url": {
40
+ "dtype": "string",
41
+ "id": null,
42
+ "_type": "Value"
43
+ },
44
+ "coco_url": {
45
+ "dtype": "string",
46
+ "id": null,
47
+ "_type": "Value"
48
+ },
49
+ "height": {
50
+ "dtype": "int32",
51
+ "id": null,
52
+ "_type": "Value"
53
+ },
54
+ "width": {
55
+ "dtype": "int32",
56
+ "id": null,
57
+ "_type": "Value"
58
+ },
59
+ "vg_id": {
60
+ "dtype": "int32",
61
+ "id": null,
62
+ "_type": "Value"
63
+ },
64
+ "vg_url": {
65
+ "dtype": "string",
66
+ "id": null,
67
+ "_type": "Value"
68
+ }
69
+ },
70
+ "qas": {
71
+ "feature": {
72
+ "question": {
73
+ "dtype": "string",
74
+ "id": null,
75
+ "_type": "Value"
76
+ },
77
+ "answer": {
78
+ "dtype": "string",
79
+ "id": null,
80
+ "_type": "Value"
81
+ },
82
+ "id": {
83
+ "dtype": "int32",
84
+ "id": null,
85
+ "_type": "Value"
86
+ }
87
+ },
88
+ "length": -1,
89
+ "id": null,
90
+ "_type": "Sequence"
91
+ },
92
+ "objects": {
93
+ "feature": {
94
+ "id": {
95
+ "dtype": "int32",
96
+ "id": null,
97
+ "_type": "Value"
98
+ },
99
+ "bbox": {
100
+ "feature": {
101
+ "dtype": "float32",
102
+ "id": null,
103
+ "_type": "Value"
104
+ },
105
+ "length": 4,
106
+ "id": null,
107
+ "_type": "Sequence"
108
+ },
109
+ "category": {
110
+ "dtype": "string",
111
+ "id": null,
112
+ "_type": "Value"
113
+ },
114
+ "area": {
115
+ "dtype": "float32",
116
+ "id": null,
117
+ "_type": "Value"
118
+ },
119
+ "category_id": {
120
+ "dtype": "int32",
121
+ "id": null,
122
+ "_type": "Value"
123
+ },
124
+ "segment": {
125
+ "feature": {
126
+ "feature": {
127
+ "dtype": "float32",
128
+ "id": null,
129
+ "_type": "Value"
130
+ },
131
+ "length": -1,
132
+ "id": null,
133
+ "_type": "Sequence"
134
+ },
135
+ "length": -1,
136
+ "id": null,
137
+ "_type": "Sequence"
138
+ }
139
+ },
140
+ "length": -1,
141
+ "id": null,
142
+ "_type": "Sequence"
143
+ }
144
+ },
145
+ "supervised_keys": null,
146
+ "builder_name": "compguesswhat",
147
+ "config_name": "compguesswhat-original",
148
+ "version": {
149
+ "version_str": "0.1.0",
150
+ "description": "First CompGuessWhat?! release",
151
+ "datasets_version_to_prepare": null,
152
+ "major": 0,
153
+ "minor": 1,
154
+ "patch": 0
155
+ },
156
+ "splits": {
157
+ "train": {
158
+ "name": "train",
159
+ "num_bytes": 125184123,
160
+ "num_examples": 46277,
161
+ "dataset_name": "compguesswhat"
162
+ },
163
+ "validation": {
164
+ "name": "validation",
165
+ "num_bytes": 25732027,
166
+ "num_examples": 9716,
167
+ "dataset_name": "compguesswhat"
168
+ },
169
+ "test": {
170
+ "name": "test",
171
+ "num_bytes": 25729944,
172
+ "num_examples": 9619,
173
+ "dataset_name": "compguesswhat"
174
+ }
175
+ },
176
+ "download_checksums": {
177
+ "https://www.dropbox.com/s/l0nc13udml6vs0w/compguesswhat-original.zip?dl=1": {
178
+ "num_bytes": 106008376,
179
+ "checksum": "a75567d024fd3992ee5d4d370db7b6d071384c89a0a76ec9c94bc0f4968a54fe"
180
+ }
181
+ },
182
+ "download_size": 106008376,
183
+ "dataset_size": 176646094,
184
+ "size_in_bytes": 282654470
185
+ },
186
+ "compguesswhat-zero_shot": {
187
+ "description": "\n CompGuessWhat?! is an instance of a multi-task framework for evaluating the quality of learned neural representations,\n in particular concerning attribute grounding. Use this dataset if you want to use the set of games whose reference\n scene is an image in VisualGenome. Visit the website for more details: https://compguesswhat.github.io\n ",
188
+ "citation": " @inproceedings{suglia2020compguesswhat,\n title={CompGuessWhat?!: a Multi-task Evaluation Framework for Grounded Language Learning},\n author={Suglia, Alessandro, Konstas, Ioannis, Vanzo, Andrea, Bastianelli, Emanuele, Desmond Elliott, Stella Frank and Oliver Lemon},\n booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},\n year={2020}\n }\n ",
189
+ "homepage": "https://compguesswhat.github.io/",
190
+ "license": "",
191
+ "features": {
192
+ "id": {
193
+ "dtype": "int32",
194
+ "id": null,
195
+ "_type": "Value"
196
+ },
197
+ "target_id": {
198
+ "dtype": "string",
199
+ "id": null,
200
+ "_type": "Value"
201
+ },
202
+ "status": {
203
+ "dtype": "string",
204
+ "id": null,
205
+ "_type": "Value"
206
+ },
207
+ "image": {
208
+ "id": {
209
+ "dtype": "int32",
210
+ "id": null,
211
+ "_type": "Value"
212
+ },
213
+ "file_name": {
214
+ "dtype": "string",
215
+ "id": null,
216
+ "_type": "Value"
217
+ },
218
+ "coco_url": {
219
+ "dtype": "string",
220
+ "id": null,
221
+ "_type": "Value"
222
+ },
223
+ "height": {
224
+ "dtype": "int32",
225
+ "id": null,
226
+ "_type": "Value"
227
+ },
228
+ "width": {
229
+ "dtype": "int32",
230
+ "id": null,
231
+ "_type": "Value"
232
+ },
233
+ "license": {
234
+ "dtype": "int32",
235
+ "id": null,
236
+ "_type": "Value"
237
+ },
238
+ "open_images_id": {
239
+ "dtype": "string",
240
+ "id": null,
241
+ "_type": "Value"
242
+ },
243
+ "date_captured": {
244
+ "dtype": "string",
245
+ "id": null,
246
+ "_type": "Value"
247
+ }
248
+ },
249
+ "objects": {
250
+ "feature": {
251
+ "id": {
252
+ "dtype": "string",
253
+ "id": null,
254
+ "_type": "Value"
255
+ },
256
+ "bbox": {
257
+ "feature": {
258
+ "dtype": "float32",
259
+ "id": null,
260
+ "_type": "Value"
261
+ },
262
+ "length": 4,
263
+ "id": null,
264
+ "_type": "Sequence"
265
+ },
266
+ "category": {
267
+ "dtype": "string",
268
+ "id": null,
269
+ "_type": "Value"
270
+ },
271
+ "area": {
272
+ "dtype": "float32",
273
+ "id": null,
274
+ "_type": "Value"
275
+ },
276
+ "category_id": {
277
+ "dtype": "int32",
278
+ "id": null,
279
+ "_type": "Value"
280
+ },
281
+ "IsOccluded": {
282
+ "dtype": "int32",
283
+ "id": null,
284
+ "_type": "Value"
285
+ },
286
+ "IsTruncated": {
287
+ "dtype": "int32",
288
+ "id": null,
289
+ "_type": "Value"
290
+ },
291
+ "segment": {
292
+ "feature": {
293
+ "MaskPath": {
294
+ "dtype": "string",
295
+ "id": null,
296
+ "_type": "Value"
297
+ },
298
+ "LabelName": {
299
+ "dtype": "string",
300
+ "id": null,
301
+ "_type": "Value"
302
+ },
303
+ "BoxID": {
304
+ "dtype": "string",
305
+ "id": null,
306
+ "_type": "Value"
307
+ },
308
+ "BoxXMin": {
309
+ "dtype": "string",
310
+ "id": null,
311
+ "_type": "Value"
312
+ },
313
+ "BoxXMax": {
314
+ "dtype": "string",
315
+ "id": null,
316
+ "_type": "Value"
317
+ },
318
+ "BoxYMin": {
319
+ "dtype": "string",
320
+ "id": null,
321
+ "_type": "Value"
322
+ },
323
+ "BoxYMax": {
324
+ "dtype": "string",
325
+ "id": null,
326
+ "_type": "Value"
327
+ },
328
+ "PredictedIoU": {
329
+ "dtype": "string",
330
+ "id": null,
331
+ "_type": "Value"
332
+ },
333
+ "Clicks": {
334
+ "dtype": "string",
335
+ "id": null,
336
+ "_type": "Value"
337
+ }
338
+ },
339
+ "length": -1,
340
+ "id": null,
341
+ "_type": "Sequence"
342
+ }
343
+ },
344
+ "length": -1,
345
+ "id": null,
346
+ "_type": "Sequence"
347
+ }
348
+ },
349
+ "supervised_keys": null,
350
+ "builder_name": "compguesswhat",
351
+ "config_name": "compguesswhat-zero_shot",
352
+ "version": {
353
+ "version_str": "0.1.0",
354
+ "description": "First CompGuessWhat?! release",
355
+ "datasets_version_to_prepare": null,
356
+ "major": 0,
357
+ "minor": 1,
358
+ "patch": 0
359
+ },
360
+ "splits": {
361
+ "nd_valid": {
362
+ "name": "nd_valid",
363
+ "num_bytes": 13697867,
364
+ "num_examples": 5343,
365
+ "dataset_name": "compguesswhat"
366
+ },
367
+ "nd_test": {
368
+ "name": "nd_test",
369
+ "num_bytes": 36729751,
370
+ "num_examples": 13836,
371
+ "dataset_name": "compguesswhat"
372
+ },
373
+ "od_valid": {
374
+ "name": "od_valid",
375
+ "num_bytes": 14235784,
376
+ "num_examples": 5372,
377
+ "dataset_name": "compguesswhat"
378
+ },
379
+ "od_test": {
380
+ "name": "od_test",
381
+ "num_bytes": 33384663,
382
+ "num_examples": 13300,
383
+ "dataset_name": "compguesswhat"
384
+ }
385
+ },
386
+ "download_checksums": {
387
+ "https://www.dropbox.com/s/gd46azul7o7iip4/compguesswhat-zero_shot.zip?dl=1": {
388
+ "num_bytes": 10076701,
389
+ "checksum": "38a2fb6e51d6f2f5e3eed9ff6cb6275b0eb29db18d95a562acdd0fc44801bac7"
390
+ }
391
+ },
392
+ "download_size": 10076701,
393
+ "dataset_size": 98048065,
394
+ "size_in_bytes": 108124766
395
+ }
396
+ }
dummy/compguesswhat-original/0.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e25c721ae42635932bd282002febb1ef79ea3f16958c53786015112ca9bb563
3
+ size 25790
dummy/compguesswhat-zero_shot/0.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aad11996b630c85ebef2b5ccf65e97cc710348aa61697210816c157b957adff
3
+ size 7306