Skip to content
/ KGPC Public

few-shot biomedical named entity recognition

Notifications You must be signed in to change notification settings

cpmss521/KGPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KGPC

Code for "Few-shot biomedical named entity recognition via knowledge-guided instance generation and prompt contrastive learning"

Examples Instructions

(1) Train the model on k-shot support set, evaluate on dev dataset:

python ./main.py train --config configs/train_aug.conf

(2) Evaluate the model on query set:

python ./main.py eval --config configs/eval.conf

Simulate low-resource scenarios by down-sampling:

python  sample_k_shot.py

About

few-shot biomedical named entity recognition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages