/HanLP-NER-Domain-Adaptive-Finetune

Finetun HanLP NER model using domain data

Primary LanguageJupyter Notebook

HanLP-NER-Domain-Adaptive-Finetune

Finetun HanLP NER model using domain data

Install HanLP 2.0

! pip install hanlp[full]

prepare your data

Chinese character based model:

data format:

B-people
I-people
O
O
O
B-Target
I-Target
I-Target
I-Target
I-Target
I-Target
I-Target
I-Target
O

NOTICE:

space " " and speicial punctions, like "|", are not allowed in data.