changed chunk generation
Browse files- ref_seg_ger.py +1 -1
ref_seg_ger.py
CHANGED
@@ -74,7 +74,7 @@ _FEATURES = datasets.Features(
|
|
74 |
names=list(chain.from_iterable([['B-' + x, 'I-' + x] for x in _LABELS])) + ['O']
|
75 |
)),
|
76 |
"labels_ref": datasets.Sequence(datasets.features.ClassLabel(
|
77 |
-
names=['B-ref', 'I-ref',
|
78 |
))
|
79 |
# These are the features of your dataset like images, labels ...
|
80 |
}
|
|
|
74 |
names=list(chain.from_iterable([['B-' + x, 'I-' + x] for x in _LABELS])) + ['O']
|
75 |
)),
|
76 |
"labels_ref": datasets.Sequence(datasets.features.ClassLabel(
|
77 |
+
names=['B-ref', 'I-ref', ]
|
78 |
))
|
79 |
# These are the features of your dataset like images, labels ...
|
80 |
}
|