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

Fix hard-coded id2label NER mappings #200

Open
mcollardanuy opened this issue Mar 21, 2023 · 0 comments · Fixed by #201
Open

Fix hard-coded id2label NER mappings #200

mcollardanuy opened this issue Mar 21, 2023 · 0 comments · Fixed by #201

Comments

@mcollardanuy
Copy link
Collaborator

At the moment, the id2label and label2id NER mappings are hard-coded. Instead, pass mappings when loading the base model, to make sure they are set in the model's configuration.

@mcollardanuy mcollardanuy created this issue from a note in Development (In progress) Mar 21, 2023
@mcollardanuy mcollardanuy self-assigned this Mar 21, 2023
@mcollardanuy mcollardanuy linked a pull request Mar 22, 2023 that will close this issue
3 tasks
@mcollardanuy mcollardanuy moved this from In progress to Under review in Development Mar 22, 2023
@mcollardanuy mcollardanuy moved this from Under review to Done in Development Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant