dinhquangson commited on
Commit
15aa722
1 Parent(s): db68ddb

Update FUNSD.py

Browse files
Files changed (1) hide show
  1. FUNSD.py +1 -1
FUNSD.py CHANGED
@@ -88,7 +88,7 @@ class Funsd(datasets.GeneratorBasedBuilder):
88
  {
89
  "id": datasets.Value("string"),
90
  "input_ids": datasets.Sequence(datasets.Value("int64")),
91
- "bboxes": datasets.Sequence(datasets.Sequence(datasets.Value("int64"))),
92
  "labels": datasets.Sequence(
93
  datasets.features.ClassLabel(
94
  names=["O", "B-HEADER", "I-HEADER", "B-QUESTION", "I-QUESTION", "B-ANSWER", "I-ANSWER"]
 
88
  {
89
  "id": datasets.Value("string"),
90
  "input_ids": datasets.Sequence(datasets.Value("int64")),
91
+ "bbox": datasets.Sequence(datasets.Sequence(datasets.Value("int64"))),
92
  "labels": datasets.Sequence(
93
  datasets.features.ClassLabel(
94
  names=["O", "B-HEADER", "I-HEADER", "B-QUESTION", "I-QUESTION", "B-ANSWER", "I-ANSWER"]