Skip to content

Commit fca831c

Browse files
adarobcopybara-github
authored andcommitted
Flip True/False label indices in eraser_multi_rc to make False 0 and True 1.
PiperOrigin-RevId: 292061096
1 parent eab8884 commit fca831c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_datasets/text/eraser_multi_rc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
class EraserMultiRc(tfds.core.GeneratorBasedBuilder):
5454
"""Multi Sentence Reasoning with Explanations (Eraser Benchmark)."""
5555

56-
VERSION = tfds.core.Version('0.1.0')
56+
VERSION = tfds.core.Version('0.1.1')
5757

5858
def _info(self):
5959
return tfds.core.DatasetInfo(
@@ -62,7 +62,7 @@ def _info(self):
6262
features=tfds.features.FeaturesDict({
6363
'passage': tfds.features.Text(),
6464
'query_and_answer': tfds.features.Text(),
65-
'label': tfds.features.ClassLabel(names=['True', 'False']),
65+
'label': tfds.features.ClassLabel(names=['False', 'True']),
6666
'evidences': tfds.features.Sequence(tfds.features.Text())
6767
}),
6868
supervised_keys=None,

0 commit comments

Comments
 (0)