From 07aa21fda9bce3428b0c497ad959a829f56eeb93 Mon Sep 17 00:00:00 2001 From: Steffy-zxf <48793257+Steffy-zxf@users.noreply.github.com> Date: Fri, 6 Sep 2019 11:10:37 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f8056f22..4d50a163 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ $ hub run lac --input_text "今天是个好日子" 使用[情感分析](http://www.paddlepaddle.org.cn/hub?filter=category&value=SentimentAnalysis)模型Senta对句子进行情感预测 ```shell -$ hub run senta_bilstm --input_text "今天是个好日子" -[{'text': '今天是个好日子', 'sentiment_label': 2, 'sentiment_key': 'positive', 'positive_probs': 0.6065, 'negative_probs': 0.3935}] +$ hub run senta_bilstm --input_text "今天天气真好" +{'text': '今天天气真好', 'sentiment_label': 1, 'sentiment_key': 'positive', 'positive_probs': 0.9798, 'negative_probs': 0.0202}] ``` `示例三` -- GitLab