switch label dataset feature to classlabel
Browse files- 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.
|
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 |
|