From 4881797deb47a5e78d82a8ce494e726c988c7aaf Mon Sep 17 00:00:00 2001 From: Dong Daxiang <35550832+guru4elephant@users.noreply.github.com> Date: Wed, 18 Mar 2020 16:23:06 +0800 Subject: [PATCH] Update README.md --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b0ab325..fe03e0cc 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,34 @@ print(fetch_map) ``` -

Applications you can do with Paddle Serving

+

Pre-built services with Paddle Serving

+ +

Chinese Word Segmentation

+ +- 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":"我|爱|北京|天安门"} +``` + + +

Chinese Sentence To Vector

+ +

Image To Vector

+ +

Image Classification

-- GitLab