Skip to content

bert-serving部署,使用哈工大bert-wwm预训练模型

Notifications You must be signed in to change notification settings

pfan8/bert-serving-wwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

bert-serving-wwm

bert-serving部署,使用哈工大bert-wwm预训练模型

模型下载地址

使用方式

  1. pip安装
pip install bert-serving-server
pip install bert-serving-client
  1. 启动server
bert-serving-start -model_dir chinese_L-12_H-768_A-12/(预训练模型) -num_worker=2(线程数量,可酌情增减)
  1. client调用服务

启动脚本bert-serving.py即可,可在文件中修改语料位置和vocab保存位置

About

bert-serving部署,使用哈工大bert-wwm预训练模型

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages