cube-studio/job-template/service/ner
2022-08-22 13:26:42 +08:00
..
models add ner train and service 2022-08-13 17:00:41 +08:00
utils fix ner service 2022-08-22 13:26:42 +08:00
bert_bilstm_crf_opration.py add ner train and service 2022-08-13 17:00:41 +08:00
bilstm_crf_opration.py fix ner service 2022-08-22 13:26:42 +08:00
bilstm_opration.py add ner train and service 2022-08-13 17:00:41 +08:00
build.sh add model register 2022-08-18 15:16:30 +08:00
config.py add ner train and service 2022-08-13 17:00:41 +08:00
Dockerfile fix ner service 2022-08-22 13:26:42 +08:00
evaluating.py fix ner service 2022-08-22 13:26:42 +08:00
launcher.py fix ner service 2022-08-22 13:26:42 +08:00
README.md fix ner service 2022-08-22 13:26:42 +08:00

ner service 模板

镜像ccr.ccs.tencentyun.com/cube-studio/ner:service-20220812

参数解析

--service_type:服务类型,一般 web 服务镜像填 serving

--images:服务镜像,上文第二步打的镜像。

--portsweb 镜像里面 rest 服务的端口号,这里填入将其映射出来

使用服务

  • 点击 IP 访问服务

访问地址后面加上docs 类似:http://xx.xx.xx.xx:xx/docs,可利用 FastAPI 的接口访问服务

  • 点击 Try it out ,输入待检测文本