zqwerty commited on
Commit
99f8ded
1 Parent(s): e529c4a

not use ClassLabel

Browse files
Files changed (1) hide show
  1. CrossWOZ.py +2 -2
CrossWOZ.py CHANGED
@@ -70,11 +70,11 @@ class CrossWOZ(datasets.GeneratorBasedBuilder):
70
  }
71
  ),
72
  "task description": datasets.Value("string"),
73
- "type": datasets.ClassLabel(names=["单领域", "独立多领域", "独立多领域+交通", "不独立多领域", "不独立多领域+交通"]),
74
  "messages": datasets.Sequence(
75
  {
76
  "content": datasets.Value("string"),
77
- "role": datasets.ClassLabel(names=["usr", "sys"]),
78
  "dialog_act": datasets.Sequence(
79
  {
80
  "intent": datasets.Value("string"),
 
70
  }
71
  ),
72
  "task description": datasets.Value("string"),
73
+ "type": datasets.Value("string"),
74
  "messages": datasets.Sequence(
75
  {
76
  "content": datasets.Value("string"),
77
+ "role": datasets..Value("string"),
78
  "dialog_act": datasets.Sequence(
79
  {
80
  "intent": datasets.Value("string"),