Skip to content

Comments

Fixes in CRF #9

Open
ad6398 wants to merge 4 commits intomainfrom
crf-fixes
Open

Fixes in CRF #9
ad6398 wants to merge 4 commits intomainfrom
crf-fixes

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