未验证 提交 cc4ff95b 编写于 作者: D Dong Daxiang 提交者: GitHub

Update README.md

上级 e57a67eb
......@@ -91,7 +91,34 @@ print(fetch_map)
```
<h2 align="center">Applications you can do with Paddle Serving</h2>
<h2 align="center"> Pre-built services with Paddle Serving</h2>
<h4 align="center">Chinese Word Segmentation</h4>
- Download:
``` shell
wget --no-check-certificate https://paddle-serving.bj.bcebos.com/lac/lac_model_jieba_web.tar.gz
```
- Host web service:
``` shell
tar -xzf lac_model_jieba_web.tar.gz
python lac_web_service.py jieba_server_model/ lac_workdir 9292
```
- Request sample:
``` shell
curl -H "Content-Type:application/json" -X POST -d '{"words": "我爱北京天安门", "fetch":["crf_decode"]}' http://127.0.0.1:9292/lac/prediction
```
- Request result:
``` shell
{"word_seg":"我|爱|北京|天安门"}
```
<h4 align="center">Chinese Sentence To Vector</h4>
<h4 align="center">Image To Vector</h4>
<h4 align="center">Image Classification</h4>
<center>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册