From 51239d91479f60e64e11ca5d1ceb472b8a90827b Mon Sep 17 00:00:00 2001 From: dingsiyu Date: Thu, 20 May 2021 10:37:35 +0800 Subject: [PATCH] add ernie-doc to ernie-doc --- ernie-doc/README.md | 4 ++-- ernie-doc/README_zh.md | 4 ++-- ernie-doc/data/imdb/README.md | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ernie-doc/README.md b/ernie-doc/README.md index c9beb1c..dc9b184 100644 --- a/ernie-doc/README.md +++ b/ernie-doc/README.md @@ -179,7 +179,7 @@ We compare the performance of [ERNIE-Doc](https://arxiv.org/abs/2012.15688) with ### Install PaddlePaddle -This code base has been tested with Paddle (version>=1.8) with Python3. Other dependency of ERNIE-GEN is listed in `requirements.txt`, you can install it by +This code base has been tested with Paddle (version>=2.0) with Python3. Other dependency of ERNIE-Doc is listed in `requirements.txt`, you can install it by ```script pip install -r requirements.txt ``` @@ -191,7 +191,7 @@ sh script/run_imdb.sh sh script/run_iflytek.sh sh script/run_dureader.sh ``` -[Preprocessing code for IMDB dataset](./ernie_doc/data/imdb/README.md) +[Preprocessing code for IMDB dataset](./data/imdb/README.md) The log of training and the evaluation results are in `log/job.log.0`. diff --git a/ernie-doc/README_zh.md b/ernie-doc/README_zh.md index 96a151e..05dd170 100644 --- a/ernie-doc/README_zh.md +++ b/ernie-doc/README_zh.md @@ -178,7 +178,7 @@ ### 安装飞桨 -我们的代码基于 Paddle(version>=1.8),推荐使用python3运行。 ERNIE-Doc 依赖的其他模块也列举在 `requirements.txt`,可以通过下面的指令安装: +我们的代码基于 Paddle(version>=2.0),推荐使用python3运行。 ERNIE-Doc 依赖的其他模块也列举在 `requirements.txt`,可以通过下面的指令安装: ```script pip install -r requirements.txt ``` @@ -190,7 +190,7 @@ sh script/run_imdb.sh # 英文分类任务 sh script/run_iflytek.sh # 中文分类任务 sh script/run_dureader.sh # 中文阅读理解任务 ``` -[imdb数据处理说明](./ernie_doc/data/imdb/README.md) +[imdb数据处理说明](./data/imdb/README.md) 具体微调参数均可在上述脚本中进行修改,训练和评估的日志在 `log/job.log.0`。 diff --git a/ernie-doc/data/imdb/README.md b/ernie-doc/data/imdb/README.md index 1c24be3..b58aff9 100644 --- a/ernie-doc/data/imdb/README.md +++ b/ernie-doc/data/imdb/README.md @@ -1,10 +1,10 @@ -## 下载官方数据 +## 下载官方数据 (Download data) http://ai.stanford.edu/~amaas/data/sentiment/index.html -## 运行预处理脚本 +## 运行预处理脚本 (Run preprocessing code) ```python -python multi_files_to_one.py +python multi_files_to_one.py # this will generate train/test txt ``` -生成train.txt与test.txt文件至该文件夹下 \ No newline at end of file +生成train.txt与test.txt文件至该文件夹下 -- GitLab