当前位置:   article > 正文

BERT-BiLSTM-CRF-NER训练过程_bert-blstm-crf-ner-master

bert-blstm-crf-ner-master

0、在cmd运行中文模型:

windows:
bert-serving-start -model_dir E:/git/bert-use-demo-master/chinese_L-12_H-768_A-12 -num_worker=1 -max_seq_len=100 & 

linux:

bert-serving-start -model_dir E:\git\bert-use-demo-master\chinese_L-12_H-768_A-12 -num_worker=1 -max_seq_len=100 & 
1、##训练好的模型
windows:  
   bert-base-serving-start -model_dir E:/BaiduNetdiskDownload/BERT_NER/dir  -bert_model_dir E:/git/bert-use-demo-master/chinese_L-12_H-768_A-12 -model_pb_dir E:/BaiduNetdiskDownload/BERT_NER -mode NER
linux:
  bert-base-serving-start -model_dir /workspace/HOSTDIR/BERT-BiLSTM-CRF-NER/BERT_NER/dir  -bert_model_dir /workspace/HOSTDIR/bert-use-demo-master/chinese_L-12_H-768_A-12 -model_pb_dir /workspace/HOSTDIR/BERT-BiLSTM-CRF-NER/BERT_NER -mode NER

2、##训练模型
本地:
bert-base-ner-train -data_dir E:/git/Name-Entity-Recognition-master/BERT-BiLSTM-CRF-NER/NERdata -bert_config_file /workspace/HOSTDIR

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号