Datasets:

Languages:
English
Size Categories:
100K<n<1M
ArXiv:
Tags:
License:
yuvalr commited on
Commit
988385d
1 Parent(s): 6d6dae5

Upload anli.py

Browse files
Files changed (1) hide show
  1. anli.py +1 -8
anli.py CHANGED
@@ -45,13 +45,6 @@ ANLI is much more difficult than its predecessors including SNLI and MNLI.
45
  It contains three rounds. Each round has train/dev/test splits.
46
  """
47
 
48
- stdnli_label = {
49
- "e": "entailment",
50
- "n": "neutral",
51
- "c": "contradiction",
52
- }
53
-
54
-
55
  class ANLIConfig(datasets.BuilderConfig):
56
  """BuilderConfig for ANLI."""
57
 
@@ -132,6 +125,6 @@ class ANLI(datasets.GeneratorBasedBuilder):
132
  "uid": item["uid"],
133
  "premise": item["premise"],
134
  "hypothesis": item["hypothesis"],
135
- "label": stdnli_label[item["label"]],
136
  "reason": reason_text,
137
  }
 
45
  It contains three rounds. Each round has train/dev/test splits.
46
  """
47
 
 
 
 
 
 
 
 
48
  class ANLIConfig(datasets.BuilderConfig):
49
  """BuilderConfig for ANLI."""
50
 
 
125
  "uid": item["uid"],
126
  "premise": item["premise"],
127
  "hypothesis": item["hypothesis"],
128
+ "label": item["label"],
129
  "reason": reason_text,
130
  }