Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BERT-dataset loader #45

Open
bramiozo opened this issue Dec 2, 2021 · 0 comments
Open

BERT-dataset loader #45

bramiozo opened this issue Dec 2, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bramiozo
Copy link
Collaborator

bramiozo commented Dec 2, 2021

The TextDataset* functions from ner_training.py do not preserve the original index. To resolve this we pass along the id's along with the data and the labels:
This ids vector is filled with "IDXX_begin_end".

This ids vector is passed to the evaluation function and added to the prediction output.

@bramiozo bramiozo added the enhancement New feature or request label Dec 2, 2021
@bramiozo bramiozo self-assigned this Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant