rain1024 commited on
Commit
b1ee066
1 Parent(s): a68c521
Files changed (1) hide show
  1. 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.Value("string"),
 
 
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,