update
Browse files- UTS_WTK_v1.py +4 -2
UTS_WTK_v1.py
CHANGED
|
@@ -19,8 +19,10 @@ class UTS_WTK_v1(datasets.GeneratorBasedBuilder):
|
|
| 19 |
features=datasets.Features(
|
| 20 |
{
|
| 21 |
"id": datasets.Value("string"),
|
| 22 |
-
"tokens": datasets.Value("string"),
|
| 23 |
-
"tags": datasets.
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
),
|
| 26 |
supervised_keys=None,
|
|
|
|
| 19 |
features=datasets.Features(
|
| 20 |
{
|
| 21 |
"id": datasets.Value("string"),
|
| 22 |
+
"tokens": datasets.Sequence(datasets.Value("string")),
|
| 23 |
+
"tags": datasets.Sequence(
|
| 24 |
+
datasets.features.ClassLabel(names=["B-W", "I-W"])
|
| 25 |
+
),
|
| 26 |
}
|
| 27 |
),
|
| 28 |
supervised_keys=None,
|