Datasets:

Tasks:
Other
Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:
mariosasko commited on
Commit
6be7545
1 Parent(s): 39788e9

Delete files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. P3.py +0 -202
  2. _tfrecord_example_pb2.py +0 -3
  3. data/adversarial_qa_dbert_answer_the_following_q/COMPLETED +0 -0
  4. data/adversarial_qa_dbert_answer_the_following_q/info.test.json +0 -1
  5. data/adversarial_qa_dbert_answer_the_following_q/info.train.json +0 -26
  6. data/adversarial_qa_dbert_answer_the_following_q/info.validation.json +0 -26
  7. data/adversarial_qa_dbert_answer_the_following_q/stats.test.json +0 -3
  8. data/adversarial_qa_dbert_answer_the_following_q/stats.train.json +0 -7
  9. data/adversarial_qa_dbert_answer_the_following_q/stats.validation.json +0 -7
  10. data/adversarial_qa_dbert_answer_the_following_q/test.tfrecord-00000-of-00001 +0 -0
  11. data/adversarial_qa_dbert_answer_the_following_q/train.tfrecord-00000-of-00001 +0 -3
  12. data/adversarial_qa_dbert_answer_the_following_q/validation.tfrecord-00000-of-00001 +0 -3
  13. data/adversarial_qa_dbert_based_on/COMPLETED +0 -0
  14. data/adversarial_qa_dbert_based_on/info.test.json +0 -1
  15. data/adversarial_qa_dbert_based_on/info.train.json +0 -26
  16. data/adversarial_qa_dbert_based_on/info.validation.json +0 -26
  17. data/adversarial_qa_dbert_based_on/stats.test.json +0 -3
  18. data/adversarial_qa_dbert_based_on/stats.train.json +0 -7
  19. data/adversarial_qa_dbert_based_on/stats.validation.json +0 -7
  20. data/adversarial_qa_dbert_based_on/test.tfrecord-00000-of-00001 +0 -0
  21. data/adversarial_qa_dbert_based_on/train.tfrecord-00000-of-00001 +0 -3
  22. data/adversarial_qa_dbert_based_on/validation.tfrecord-00000-of-00001 +0 -3
  23. data/adversarial_qa_dbert_generate_question/COMPLETED +0 -0
  24. data/adversarial_qa_dbert_generate_question/info.test.json +0 -26
  25. data/adversarial_qa_dbert_generate_question/info.train.json +0 -26
  26. data/adversarial_qa_dbert_generate_question/info.validation.json +0 -26
  27. data/adversarial_qa_dbert_generate_question/stats.test.json +0 -7
  28. data/adversarial_qa_dbert_generate_question/stats.train.json +0 -7
  29. data/adversarial_qa_dbert_generate_question/stats.validation.json +0 -7
  30. data/adversarial_qa_dbert_generate_question/test.tfrecord-00000-of-00001 +0 -3
  31. data/adversarial_qa_dbert_generate_question/train.tfrecord-00000-of-00001 +0 -3
  32. data/adversarial_qa_dbert_generate_question/validation.tfrecord-00000-of-00001 +0 -3
  33. data/adversarial_qa_dbert_question_context_answer/COMPLETED +0 -0
  34. data/adversarial_qa_dbert_question_context_answer/info.test.json +0 -1
  35. data/adversarial_qa_dbert_question_context_answer/info.train.json +0 -26
  36. data/adversarial_qa_dbert_question_context_answer/info.validation.json +0 -26
  37. data/adversarial_qa_dbert_question_context_answer/stats.test.json +0 -3
  38. data/adversarial_qa_dbert_question_context_answer/stats.train.json +0 -7
  39. data/adversarial_qa_dbert_question_context_answer/stats.validation.json +0 -7
  40. data/adversarial_qa_dbert_question_context_answer/test.tfrecord-00000-of-00001 +0 -0
  41. data/adversarial_qa_dbert_question_context_answer/train.tfrecord-00000-of-00001 +0 -3
  42. data/adversarial_qa_dbert_question_context_answer/validation.tfrecord-00000-of-00001 +0 -3
  43. data/adversarial_qa_dbert_tell_what_it_is/COMPLETED +0 -0
  44. data/adversarial_qa_dbert_tell_what_it_is/info.test.json +0 -1
  45. data/adversarial_qa_dbert_tell_what_it_is/info.train.json +0 -26
  46. data/adversarial_qa_dbert_tell_what_it_is/info.validation.json +0 -26
  47. data/adversarial_qa_dbert_tell_what_it_is/stats.test.json +0 -3
  48. data/adversarial_qa_dbert_tell_what_it_is/stats.train.json +0 -7
  49. data/adversarial_qa_dbert_tell_what_it_is/stats.validation.json +0 -7
  50. data/adversarial_qa_dbert_tell_what_it_is/test.tfrecord-00000-of-00001 +0 -0
P3.py DELETED
@@ -1,202 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 BigScience Contributors.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- """P3 (Public Pool of Prompts)"""
16
-
17
- import os
18
-
19
- import google.protobuf as _protobuf # From: protobuf
20
-
21
- import datasets
22
-
23
- from ._tfrecord_example_pb2 import SequenceExample
24
- from .io_utils import iterate_tfrecord_file, parse_tfrecord_sequence_example
25
- from .tasks_splits_and_features import _TASK_SPLITS_AND_FEATURES_DICT
26
-
27
-
28
- _CITATION = """@misc{sanh2021multitask,
29
- title={Multitask Prompted Training Enables Zero-Shot Task Generalization},
30
- author={Victor Sanh and Albert Webson and Colin Raffel and Stephen H. Bach and Lintang Sutawika and Zaid Alyafeai and Antoine Chaffin and Arnaud Stiegler and Teven Le Scao and Arun Raja and Manan Dey and M Saiful Bari and Canwen Xu and Urmish Thakker and Shanya Sharma Sharma and Eliza Szczechla and Taewoon Kim and Gunjan Chhablani and Nihal Nayak and Debajyoti Datta and Jonathan Chang and Mike Tian-Jian Jiang and Han Wang and Matteo Manica and Sheng Shen and Zheng Xin Yong and Harshit Pandey and Rachel Bawden and Thomas Wang and Trishala Neeraj and Jos Rozen and Abheesht Sharma and Andrea Santilli and Thibault Fevry and Jason Alan Fries and Ryan Teehan and Stella Biderman and Leo Gao and Tali Bers and Thomas Wolf and Alexander M. Rush},
31
- year={2021},
32
- eprint={2110.08207},
33
- archivePrefix={arXiv},
34
- primaryClass={cs.LG}
35
- }"""
36
-
37
- _DESCRIPTION = """\
38
- P3 (Public Pool of Prompts) is a collection of prompted English datasets covering a diverse set of NLP tasks. A prompt is the combination of an input template and a target template. The templates are functions mapping a data example into natural language for the input and target sequences. For example, in the case of an NLI dataset, the data example would include fields for *Premise, Hypothesis, Label*. An input template would be *If {Premise} is true, is it also true that {Hypothesis}?*, whereas a target template can be defined with the label choices *Choices[label]*. Here *Choices* is prompt-specific metadata that consists of the options *yes, maybe, no* corresponding to *label* being entailment (0), neutral (1) or contradiction (2).
39
-
40
- Prompts are collected using [Promptsource](https://github.com/bigscience-workshop/promptsource), an interface to interactively write prompts on datasets, and collect prompt-specific metadata such as evaluation metrics. As of October 13th, there are 2'000 prompts collected for 270+ data(sub)sets. The collection of prompts of P3 is publicly available on [Promptsource](https://github.com/bigscience-workshop/promptsource).
41
-
42
- To train [T0*](https://huggingface.co/bigscience/T0pp), we used a subset of the prompts available in Promptsource (see details [here](https://huggingface.co/bigscience/T0pp#training-data)). However, some of the prompts use `random.choice`, a method that selects uniformly at random an option in a list of valid possibilities. For reproducibility purposes, we release the collection of prompted examples used to train T0*. **The data available here are the materialized version of the prompted datasets used in [Multitask Prompted Training Enables Zero-Shot Task Generalization](https://arxiv.org/abs/2110.08207) which represent only a subset of the datasets for which there is at least one prompt in Promptsource.**
43
- """
44
-
45
- _LICENSE = "Apache License 2.0"
46
-
47
- _HOMEPAGE = "https://github.com/bigscience-workshop/promptsource"
48
-
49
- _DATA_PATH = "data"
50
-
51
- logger = datasets.logging.get_logger(__name__)
52
-
53
- _URLs = {
54
- task_name: {
55
- split_name: [
56
- os.path.join(
57
- _DATA_PATH, task_name, split_name + ".tfrecord-00000-of-00001"
58
- ), # TODO -> handle multiple shards
59
- ]
60
- for split_name in splits_and_features_dict["splits"]
61
- }
62
- for task_name, splits_and_features_dict in _TASK_SPLITS_AND_FEATURES_DICT.items()
63
- }
64
-
65
-
66
- class P3Config(datasets.BuilderConfig):
67
- """BuilderConfig for P3."""
68
-
69
- def __init__(self, splits, features_dict, score_eval, **kwargs):
70
- """BuilderConfig for P3.
71
-
72
- Args:
73
- splits: `List[str]`, the lists of splits which are available for this task
74
- features_dict: `dict`, the dict of features for this task
75
- score_eval: `bool`, whether this is task formulated as a rank classification problem
76
- **kwargs: keyword arguments forwarded to super.
77
- """
78
- # Version history:
79
- # 0.1 initial commit
80
- super(P3Config, self).__init__(version=datasets.Version("0.1.0"), **kwargs)
81
- self.splits = splits
82
- self.features_dict = features_dict
83
- self.score_eval = score_eval
84
-
85
-
86
- class P3(datasets.GeneratorBasedBuilder):
87
- """Subset of P3 used in `Multitask Prompted Training Enables Zero-Shot Task Generalization`"""
88
-
89
- BUILDER_CONFIGS = [
90
- P3Config(
91
- name=task_name,
92
- splits=splits_and_features_dict["splits"],
93
- features_dict=splits_and_features_dict["features_dict"],
94
- score_eval=task_name.endswith("score_eval"),
95
- )
96
- for task_name, splits_and_features_dict in _TASK_SPLITS_AND_FEATURES_DICT.items()
97
- ]
98
-
99
- def _info(self):
100
- # All features available are: 'inputs', 'inputs_pretokenized', 'targets',
101
- # 'targets_pretokenized', 'idx', 'is_correct', 'weight', and 'answer_choices'
102
- _FEAT_MAPPING = {
103
- "answer_choices": datasets.Sequence(datasets.Value("string")),
104
- "inputs": datasets.Sequence(datasets.Value("int32")),
105
- "inputs_pretokenized": datasets.Value("string"),
106
- "targets": datasets.Sequence(datasets.Value("int32")),
107
- "targets_pretokenized": datasets.Value("string"),
108
- "idx": datasets.Sequence(datasets.Value("int32")),
109
- "weight": datasets.Value("float32"),
110
- "is_correct": datasets.Value("bool"),
111
- }
112
-
113
- features = {feat_name: _FEAT_MAPPING[feat_name] for feat_name in self.config.features_dict.keys()}
114
- return datasets.DatasetInfo(
115
- description=_DESCRIPTION,
116
- features=datasets.Features(features),
117
- supervised_keys=None,
118
- homepage=_HOMEPAGE,
119
- citation=_CITATION,
120
- license=_LICENSE,
121
- )
122
-
123
- def _split_generators(self, dl_manager):
124
- split_generators = []
125
- data_dir = dl_manager.download(_URLs[self.config.name])
126
- if "train" in self.config.splits:
127
- split_name = "train"
128
- split_generators.append(
129
- datasets.SplitGenerator(
130
- name=datasets.Split.TRAIN,
131
- gen_kwargs={
132
- "tfrecord_files": data_dir[split_name],
133
- },
134
- )
135
- )
136
- if "validation" in self.config.splits:
137
- split_name = "validation"
138
- split_generators.append(
139
- datasets.SplitGenerator(
140
- name=datasets.Split.VALIDATION,
141
- gen_kwargs={
142
- "tfrecord_files": data_dir[split_name],
143
- },
144
- )
145
- )
146
- if "test" in self.config.splits:
147
- split_name = "test"
148
- split_generators.append(
149
- datasets.SplitGenerator(
150
- name=datasets.Split.TEST,
151
- gen_kwargs={
152
- "tfrecord_files": data_dir[split_name],
153
- },
154
- )
155
- )
156
- # Handle splits that are not train, validation or test
157
- special_splits = set(self.config.splits) - set(["train", "validation", "test"])
158
- for special_split_name in special_splits:
159
- split_generators.append(
160
- datasets.SplitGenerator(
161
- name=datasets.Split(special_split_name),
162
- gen_kwargs={
163
- "tfrecord_files": data_dir[special_split_name],
164
- },
165
- )
166
- )
167
- return split_generators
168
-
169
- def _generate_examples(self, tfrecord_files):
170
- """This function returns the examples in the raw (text) form."""
171
- _POST_PROC_FUNCTIONS = {
172
- "answer_choices": lambda x: [choice.decode("utf-8") for choice in x],
173
- "inputs": lambda x: x.tolist(),
174
- "inputs_pretokenized": lambda x: x[0].decode("utf-8"),
175
- "targets": lambda x: x.tolist(),
176
- "targets_pretokenized": lambda x: x[0].decode("utf-8"),
177
- "idx": lambda x: x.tolist(),
178
- "weight": lambda x: float(x),
179
- "is_correct": lambda x: x,
180
- }
181
-
182
- def _prepare_col_spec(shape, dtype):
183
- if dtype in ("int32", "bool"):
184
- # int32 and bool are stored as int64 in the tf.train.Example protobuf.
185
- dtype = "int64"
186
- elif dtype == "string":
187
- dtype = "str"
188
- if shape and shape[0] is None:
189
- shape = (-1, *shape[1:])
190
- return (shape, dtype)
191
-
192
- spec = {k: _prepare_col_spec(**v) for k, v in self.config.features_dict.items()}
193
- idx = 0
194
- for tfrecord_file in tfrecord_files:
195
- with open(tfrecord_file, "rb") as f:
196
- for example_bytes in iterate_tfrecord_file(f):
197
- example = SequenceExample()
198
- example.ParseFromString(example_bytes)
199
- example = parse_tfrecord_sequence_example(example, spec)
200
- example = {k: _POST_PROC_FUNCTIONS[k](v) for k, v in example.items()}
201
- yield idx, example
202
- idx += 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
_tfrecord_example_pb2.py DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:50e227d1c6e389901c2ec71b36b8d73b0b7711b14c42962a837f01c197056f2c
3
- size 21378
 
 
 
 
data/adversarial_qa_dbert_answer_the_following_q/COMPLETED DELETED
File without changes
data/adversarial_qa_dbert_answer_the_following_q/info.test.json DELETED
@@ -1 +0,0 @@
1
- {}
 
 
data/adversarial_qa_dbert_answer_the_following_q/info.train.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_answer_the_following_q/info.validation.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_answer_the_following_q/stats.test.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "examples": 0
3
- }
 
 
 
 
data/adversarial_qa_dbert_answer_the_following_q/stats.train.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 10000,
3
- "inputs_max_tokens": 599,
4
- "inputs_tokens": 2089289,
5
- "targets_max_tokens": 385,
6
- "targets_tokens": 55990
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_answer_the_following_q/stats.validation.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 1000,
3
- "inputs_max_tokens": 495,
4
- "inputs_tokens": 204950,
5
- "targets_max_tokens": 52,
6
- "targets_tokens": 4435
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_answer_the_following_q/test.tfrecord-00000-of-00001 DELETED
File without changes
data/adversarial_qa_dbert_answer_the_following_q/train.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:41d3f21c2b2d4da1253661a1b96a957766551142855d1163b05b3664a57fb3b1
3
- size 14136377
 
 
 
 
data/adversarial_qa_dbert_answer_the_following_q/validation.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:72e5f8cf3ae2616c12ce7f610da127b3e3393b9d2b072be5454f893f2679fadf
3
- size 1386536
 
 
 
 
data/adversarial_qa_dbert_based_on/COMPLETED DELETED
File without changes
data/adversarial_qa_dbert_based_on/info.test.json DELETED
@@ -1 +0,0 @@
1
- {}
 
 
data/adversarial_qa_dbert_based_on/info.train.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_based_on/info.validation.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_based_on/stats.test.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "examples": 0
3
- }
 
 
 
 
data/adversarial_qa_dbert_based_on/stats.train.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 10000,
3
- "inputs_max_tokens": 592,
4
- "inputs_tokens": 2013489,
5
- "targets_max_tokens": 385,
6
- "targets_tokens": 55990
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_based_on/stats.validation.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 1000,
3
- "inputs_max_tokens": 488,
4
- "inputs_tokens": 197333,
5
- "targets_max_tokens": 52,
6
- "targets_tokens": 4435
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_based_on/test.tfrecord-00000-of-00001 DELETED
File without changes
data/adversarial_qa_dbert_based_on/train.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2b82f2ce24c95f2b5d8ab5c15cce500d9f242b6817c91b4815e4e3ea2a5fae8d
3
- size 13582813
 
 
 
 
data/adversarial_qa_dbert_based_on/validation.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9447ea74a73c20bb1854bdca7457b3b7b25a8c570f0a93fe38177608b84a165b
3
- size 1331205
 
 
 
 
data/adversarial_qa_dbert_generate_question/COMPLETED DELETED
File without changes
data/adversarial_qa_dbert_generate_question/info.test.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_generate_question/info.train.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_generate_question/info.validation.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_generate_question/stats.test.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 1000,
3
- "inputs_max_tokens": 583,
4
- "inputs_tokens": 216995,
5
- "targets_max_tokens": 66,
6
- "targets_tokens": 14391
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_generate_question/stats.train.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 10000,
3
- "inputs_max_tokens": 586,
4
- "inputs_tokens": 2072755,
5
- "targets_max_tokens": 59,
6
- "targets_tokens": 128128
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_generate_question/stats.validation.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 1000,
3
- "inputs_max_tokens": 494,
4
- "inputs_tokens": 202736,
5
- "targets_max_tokens": 59,
6
- "targets_tokens": 13389
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_generate_question/test.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2712f7a510cc0f1f55ae76745a8e75de9def1600353d329132c8f455786c0f1c
3
- size 1491004
 
 
 
 
data/adversarial_qa_dbert_generate_question/train.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:20a85891189b5eeaf403b711b2b7c739682430c061a1731dab9c9fa64eb24ad0
3
- size 14188274
 
 
 
 
data/adversarial_qa_dbert_generate_question/validation.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:00d2368efc16c1a7f698a4d5786c31553ce4b4f08fbdd7c5a2eceea812f165c7
3
- size 1398209
 
 
 
 
data/adversarial_qa_dbert_question_context_answer/COMPLETED DELETED
File without changes
data/adversarial_qa_dbert_question_context_answer/info.test.json DELETED
@@ -1 +0,0 @@
1
- {}
 
 
data/adversarial_qa_dbert_question_context_answer/info.train.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_question_context_answer/info.validation.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_question_context_answer/stats.test.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "examples": 0
3
- }
 
 
 
 
data/adversarial_qa_dbert_question_context_answer/stats.train.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 10000,
3
- "inputs_max_tokens": 587,
4
- "inputs_tokens": 1953272,
5
- "targets_max_tokens": 385,
6
- "targets_tokens": 55990
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_question_context_answer/stats.validation.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 1000,
3
- "inputs_max_tokens": 481,
4
- "inputs_tokens": 191471,
5
- "targets_max_tokens": 52,
6
- "targets_tokens": 4435
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_question_context_answer/test.tfrecord-00000-of-00001 DELETED
File without changes
data/adversarial_qa_dbert_question_context_answer/train.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a80e49a853ec7cc7a7c6644e29ed69d20b47c7b67c20462b9a6d2cb49b862541
3
- size 13021539
 
 
 
 
data/adversarial_qa_dbert_question_context_answer/validation.tfrecord-00000-of-00001 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:76774fc06fafc68f34861c7516c09d87d905a99802dd37dea5416aacc3a15b46
3
- size 1275276
 
 
 
 
data/adversarial_qa_dbert_tell_what_it_is/COMPLETED DELETED
File without changes
data/adversarial_qa_dbert_tell_what_it_is/info.test.json DELETED
@@ -1 +0,0 @@
1
- {}
 
 
data/adversarial_qa_dbert_tell_what_it_is/info.train.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_tell_what_it_is/info.validation.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "features": {
3
- "inputs": {
4
- "dtype": "int32",
5
- "shape": [
6
- null
7
- ]
8
- },
9
- "inputs_pretokenized": {
10
- "dtype": "string",
11
- "shape": []
12
- },
13
- "targets": {
14
- "dtype": "int32",
15
- "shape": [
16
- null
17
- ]
18
- },
19
- "targets_pretokenized": {
20
- "dtype": "string",
21
- "shape": []
22
- }
23
- },
24
- "num_shards": 1,
25
- "seqio_version": "0.0.6"
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_tell_what_it_is/stats.test.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "examples": 0
3
- }
 
 
 
 
data/adversarial_qa_dbert_tell_what_it_is/stats.train.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 10000,
3
- "inputs_max_tokens": 599,
4
- "inputs_tokens": 2071670,
5
- "targets_max_tokens": 385,
6
- "targets_tokens": 55990
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_tell_what_it_is/stats.validation.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "examples": 1000,
3
- "inputs_max_tokens": 493,
4
- "inputs_tokens": 203296,
5
- "targets_max_tokens": 52,
6
- "targets_tokens": 4435
7
- }
 
 
 
 
 
 
 
 
data/adversarial_qa_dbert_tell_what_it_is/test.tfrecord-00000-of-00001 DELETED
File without changes