Coldog2333 commited on
Commit
6542569
1 Parent(s): cdae8cf

Update super_dialseg.py

Browse files
Files changed (1) hide show
  1. super_dialseg.py +6 -10
super_dialseg.py CHANGED
@@ -64,16 +64,12 @@ class SuperDialseg(datasets.GeneratorBasedBuilder):
64
  features=datasets.Features(
65
  {
66
  "dial_id": datasets.Value("string"),
67
- "turns": datasets.features.Sequence(
68
- {
69
- "da": datasets.Value("string"),
70
- "role": datasets.Value("string"),
71
- "turn_id": datasets.Value("int32"),
72
- "utterance": datasets.Value("string"),
73
- "topic_id": datasets.Value("int32"),
74
- "segmentation_label": datasets.Value("int32"),
75
- }
76
- )
77
  }
78
  ),
79
  supervised_keys=None,
 
64
  features=datasets.Features(
65
  {
66
  "dial_id": datasets.Value("string"),
67
+ "utterance": datasets.features.Sequence(datasets.Value("string")),
68
+ "segmentation_label": datasets.features.Sequence(datasets.Value("int32")),
69
+ "da": datasets.features.Sequence(datasets.Value("string")),
70
+ "role": datasets.features.Sequence(datasets.Value("string")),
71
+ "turn_id": datasets.features.Sequence(datasets.Value("int32")),
72
+ "topic_id": datasets.features.Sequence(datasets.Value("int32"))
 
 
 
 
73
  }
74
  ),
75
  supervised_keys=None,