Datasets:
GEM
/

Languages:
Chinese
Multilinguality:
unknown
Size Categories:
unknown
Language Creators:
unknown
Annotations Creators:
crowd-sourced
Source Datasets:
original
License:
Sebastian Gehrmann commited on
Commit
f26ec99
1 Parent(s): 79a328c

RiSAWOZ fixed

Browse files
Files changed (2) hide show
  1. RiSAWOZ.py +7 -2
  2. dataset_infos.json +0 -0
RiSAWOZ.py CHANGED
@@ -212,6 +212,11 @@ _EMPTY_BELIEF_STATE = [
212
  "医院-CT",
213
  "医院-3.0T MRI",
214
  "医院-DSA",
 
 
 
 
 
215
  ]
216
 
217
 
@@ -226,7 +231,7 @@ class RiSAWOZ(datasets.GeneratorBasedBuilder):
226
  "dialogue_id": datasets.Value("string"),
227
  "goal": datasets.Value("string"),
228
  "domains": datasets.Sequence(datasets.Value("string")),
229
- "dialogue": [
230
  {
231
  "turn_id": datasets.Value("int32"),
232
  "turn_domain": datasets.Sequence(datasets.Value("string")),
@@ -252,7 +257,7 @@ class RiSAWOZ(datasets.GeneratorBasedBuilder):
252
  "segmented_user_utterance": datasets.Value("string"),
253
  "segmented_system_utterance": datasets.Value("string"),
254
  }
255
- ],
256
  }
257
  )
258
 
 
212
  "医院-CT",
213
  "医院-3.0T MRI",
214
  "医院-DSA",
215
+ "通用-产品类别",
216
+ "火车-舱位档次",
217
+ "通用-系列",
218
+ "通用-价格区间",
219
+ "通用-品牌"
220
  ]
221
 
222
 
 
231
  "dialogue_id": datasets.Value("string"),
232
  "goal": datasets.Value("string"),
233
  "domains": datasets.Sequence(datasets.Value("string")),
234
+ "dialogue": datasets.Sequence(
235
  {
236
  "turn_id": datasets.Value("int32"),
237
  "turn_domain": datasets.Sequence(datasets.Value("string")),
 
257
  "segmented_user_utterance": datasets.Value("string"),
258
  "segmented_system_utterance": datasets.Value("string"),
259
  }
260
+ ),
261
  }
262
  )
263
 
dataset_infos.json CHANGED
The diff for this file is too large to render. See raw diff