Fix two labels back to back

#1
by nbroad HF staff - opened

If you check something like doc 12483 in the competition, you'll see that the tokens and labels are back-to-back

('B-NAME_STUDENT', 'Lamiaa'),
 ('I-NAME_STUDENT', 'Achraf'),
 ('B-ID_NUM', 'Weyhacy_7000693584')

The gradio app will label them both as ID_NUM.

This PR should fix that and not have any other issues.

rbiswasfc changed pull request status to merged

thanks!

Sign up or log in to comment