未验证 提交 d49bf0cb 编写于 作者: S Shan Yi 提交者: GitHub
上级 1e64a2c2
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
--- ---
# 全球标准化阅读器 # Globally Normalized Reader
该模型实现以下功能: 该模型实现以下功能:
...@@ -18,20 +18,20 @@ ...@@ -18,20 +18,20 @@
year={2017}, year={2017},
} }
``` ```
您也可以访问 https://github.com/baidu-research/GloballyNormalizedReader 以获取更多信息。 您也可以访问 https://github.com/baidu-research/GloballyNormalizedReader 以获取更多信息。
# 安装 # 安装
1. 请使用 [docker image](http://doc.paddlepaddle.org/develop/doc/getstarted/build_and_install/docker_install_en.html) 安装最新的PaddlePad,运行方法: 1. 请使用 [docker image](http://doc.paddlepaddle.org/develop/doc/getstarted/build_and_install/docker_install_en.html) 安装最新的PaddlePad,运行方法:
```bash ```bash
docker pull paddledev/paddle docker pull paddledev/paddle
``` ```
2. 下载所有必要的数据: 2. 下载所有必要的数据:
```bash ```bash
cd data && ./download.sh && cd .. cd data && ./download.sh && cd ..
``` ```
3. 预处理并特征化数据: 3. 预处理并特征化数据:
```bash ```bash
python featurize.py --datadir data --outdir data/featurized --glove-path data/glove.840B.300d.txt python featurize.py --datadir data --outdir data/featurized --glove-path data/glove.840B.300d.txt
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
# 模型训练 # 模型训练
- 根据需要修改config.py来配置模型,然后运行: - 根据需要修改config.py来配置模型,然后运行:
```bash ```bash
python train.py 2>&1 | tee train.log python train.py 2>&1 | tee train.log
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册