Leyo commited on
Commit
1b9b4f8
1 Parent(s): a50e44a

switch label dataset feature to classlabel

Browse files
Files changed (1) hide show
  1. SNLI-VE.py +1 -1
SNLI-VE.py CHANGED
@@ -67,7 +67,7 @@ _FEATURES = datasets.Features(
67
  "filename": datasets.Value("string"),
68
  "premise": datasets.Value("string"),
69
  "hypothesis": datasets.Value("string"),
70
- "label": datasets.Value("string"),
71
  }
72
  )
73
 
 
67
  "filename": datasets.Value("string"),
68
  "premise": datasets.Value("string"),
69
  "hypothesis": datasets.Value("string"),
70
+ "label": datasets.features.ClassLabel(names=["entailment", "neutral", "contradiction"]),
71
  }
72
  )
73