Skip to content

Fixes in CRF #9

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fixes in CRF #9

wants to merge 4 commits into from

Conversation

ad6398
Copy link
Contributor

@ad6398 ad6398 commented Dec 25, 2022

This PR customize CRF layers to remove attention from padded tokens and ignore -100 tagged entity while scoring.

Benchmarks on Inspec:
BERT BIO tagging f1 : 51.8
KBIR BIO tagging f1: 58.15
KBIR + CRF BIO tagging: 60.03

@ad6398 ad6398 self-assigned this Dec 25, 2022
@ad6398 ad6398 requested a review from debanjanbhucs December 25, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant