gabrielaltay
commited on
Commit
•
3a3e66d
1
Parent(s):
8a85cab
Upload entailment.py
Browse files- entailment.py +13 -0
entailment.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
Textual Entailment Schema
|
3 |
+
"""
|
4 |
+
import datasets
|
5 |
+
|
6 |
+
features = datasets.Features(
|
7 |
+
{
|
8 |
+
"id": datasets.Value("string"),
|
9 |
+
"premise": datasets.Value("string"),
|
10 |
+
"hypothesis": datasets.Value("string"),
|
11 |
+
"label": datasets.Value("string"),
|
12 |
+
}
|
13 |
+
)
|