pietrolesci commited on
Commit
3705d80
1 Parent(s): 6dbc0a3

fix swapped `start` and `exclusive` end fields

Browse files
Files changed (1) hide show
  1. multi_woz_v22.py +2 -2
multi_woz_v22.py CHANGED
@@ -232,8 +232,8 @@ class MultiWozV22(datasets.GeneratorBasedBuilder):
232
  {
233
  "slot": slot["slot"],
234
  "value": "" if "copy_from" in slot else slot["value"],
235
- "start": slot.get("exclusive_end", -1),
236
- "exclusive_end": slot.get("start", -1),
237
  "copy_from": slot.get("copy_from", ""),
238
  "copy_from_value": slot["value"] if "copy_from" in slot else [],
239
  }
 
232
  {
233
  "slot": slot["slot"],
234
  "value": "" if "copy_from" in slot else slot["value"],
235
+ "start": slot.get("start", -1),
236
+ "exclusive_end": slot.get("exclusive_end", -1),
237
  "copy_from": slot.get("copy_from", ""),
238
  "copy_from_value": slot["value"] if "copy_from" in slot else [],
239
  }