未验证 提交 b3ca69db 编写于 作者: Z Zeyu Chen 提交者: GitHub

Update README.md

上级 a7dfc697
## 关于senta ## 关于Senta
https://github.com/baidu/Senta https://github.com/baidu/Senta
## 创建Module ## 创建Module
本目录包含了创建一个基于senta预训练模型的Module的脚本。 本目录包含了创建一个基于senta预训练模型的Module的脚本。
通过以下脚本来一键创建一个senta Module 通过以下脚本来一键创建一个senta Module
```shell ```shell
sh create_module.sh $ sh create_module.sh
``` ```
NOTE: NOTE:
* 如果进行下面示例的脚本或者代码,请确保执行上述脚本 * 如果进行下面示例的脚本或者代码,请确保执行上述脚本
...@@ -17,11 +18,11 @@ NOTE: ...@@ -17,11 +18,11 @@ NOTE:
`infer.sh`给出了使用命令行调用Module预测的示例脚本 `infer.sh`给出了使用命令行调用Module预测的示例脚本
通过以下命令试验下效果 通过以下命令试验下效果
```shell ```shell
sh infer.sh $ sh infer.sh
``` ```
### 通过python API ### 通过python API
`infer_by_code.py`给出了使用python API调用Module预测的示例代码 `infer_by_code.py`给出了使用python API调用Module预测的示例代码
通过以下命令试验下效果 通过以下命令试验下效果
```shell ```shell
python infer_by_code.py $ python infer_by_code.py
``` ```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册