赞
踩
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
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。