Update testb.py
Browse files
testb.py
CHANGED
@@ -7,25 +7,6 @@ class TestBConfig(datasets.BuilderConfig):
|
|
7 |
"""BuilderConfig for SuperGLUE."""
|
8 |
|
9 |
def __init__(self, data_url, **kwargs):
|
10 |
-
"""BuilderConfig for SuperGLUE.
|
11 |
-
|
12 |
-
Args:
|
13 |
-
features: *list[string]*, list of the features that will appear in the
|
14 |
-
feature dict. Should not include "label".
|
15 |
-
data_url: *string*, url to download the zip file from.
|
16 |
-
citation: *string*, citation for the data set.
|
17 |
-
url: *string*, url for information about the data set.
|
18 |
-
label_classes: *list[string]*, the list of classes for the label if the
|
19 |
-
label is present as a string. Non-string labels will be cast to either
|
20 |
-
'False' or 'True'.
|
21 |
-
**kwargs: keyword arguments forwarded to super.
|
22 |
-
"""
|
23 |
-
# Version history:
|
24 |
-
# 1.0.2: Fixed non-nondeterminism in ReCoRD.
|
25 |
-
# 1.0.1: Change from the pre-release trial version of SuperGLUE (v1.9) to
|
26 |
-
# the full release (v2.0).
|
27 |
-
# 1.0.0: S3 (new shuffling, sharding and slicing mechanism).
|
28 |
-
# 0.0.2: Initial version.
|
29 |
super().__init__(version=datasets.Version("1.0.2"), **kwargs)
|
30 |
self.data_url = data_url
|
31 |
|
@@ -43,8 +24,7 @@ class TestB(datasets.GeneratorBasedBuilder):
|
|
43 |
)]
|
44 |
|
45 |
def _info(self):
|
46 |
-
|
47 |
-
|
48 |
return datasets.DatasetInfo(
|
49 |
description='desc',
|
50 |
features=datasets.Features({'text'}),
|
|
|
7 |
"""BuilderConfig for SuperGLUE."""
|
8 |
|
9 |
def __init__(self, data_url, **kwargs):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
super().__init__(version=datasets.Version("1.0.2"), **kwargs)
|
11 |
self.data_url = data_url
|
12 |
|
|
|
24 |
)]
|
25 |
|
26 |
def _info(self):
|
27 |
+
|
|
|
28 |
return datasets.DatasetInfo(
|
29 |
description='desc',
|
30 |
features=datasets.Features({'text'}),
|