nielsr HF staff commited on
Commit
31b3c0f
1 Parent(s): 6a9c23e

Update funsd-iob-original.py

Browse files
Files changed (1) hide show
  1. funsd-iob-original.py +1 -1
funsd-iob-original.py CHANGED
@@ -119,7 +119,7 @@ class Funsd(datasets.GeneratorBasedBuilder):
119
  words.append(words_example[0]["text"])
120
  ner_tags.append("B-" + label.upper())
121
  bboxes.append(words_example[0]["box"])
122
- original_bboxes.append(words_example[0]["box"]])
123
  for w in words_example[1:]:
124
  words.append(w["text"])
125
  ner_tags.append("I-" + label.upper())
 
119
  words.append(words_example[0]["text"])
120
  ner_tags.append("B-" + label.upper())
121
  bboxes.append(words_example[0]["box"])
122
+ original_bboxes.append(words_example[0]["box"])
123
  for w in words_example[1:]:
124
  words.append(w["text"])
125
  ner_tags.append("I-" + label.upper())