Skip to content

this project is based on google bert model, which is a Chinese NER

Notifications You must be signed in to change notification settings

mhcao916/NER_Based_on_BERT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

本模型是基于google bert Chinese Based pre-trained model 进行fine-tuning,进行的中文命名实体识别实验, 训练模型: python cmh_bert_ner.py 训练模型时,需要提供自己的数据,我所使用的是google Chinese Based预训练模型进行fine-tuning的,在google官网下载; 根据需要,自行更改模型的相关训练参数

测试效果(output文件夹中存放的是我训练好的模型,作为默认测试模型的): python evaluate.py

本人所使用数据是基于旅游游记的数据,模型指标如下:

eval_f = 0.84716296 eval_precision = 0.8513407 eval_recall = 0.84808767 global_step = 31140 loss = 0.09112783

参考:英文实体识别: https://github.com/kyzhouhzau/BERT-NER

About

this project is based on google bert model, which is a Chinese NER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages