Skip to content

zlh-source/NER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chinese NER

Model

Bert+FFN

Requirements

The main requirements are:

  • python 3.6
  • torch 1.7.0
  • tqdm
  • transformers 3.5.1

Dataset

Download CLUNER and put it under ./datasets/CLUENER.

Usage

  • Get pre-trained BERT model Download bert-base-chinese and put it under ./pretrained.

  • Train

python run.py --train train
  • Evaluate on the Test
python run.py --train predict

Result(F1)

dev test
76.2 77.5

About

Chinese named entity Recognition based on BERT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages