From 28702ce5e47d609b4e1a7f1746c0641080656b15 Mon Sep 17 00:00:00 2001 From: barrierye Date: Thu, 9 Apr 2020 11:14:27 +0800 Subject: [PATCH] update doc --- python/examples/bert/README.md | 1 + python/examples/bert/README_CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/python/examples/bert/README.md b/python/examples/bert/README.md index 96b659ae..0b9ec564 100644 --- a/python/examples/bert/README.md +++ b/python/examples/bert/README.md @@ -21,6 +21,7 @@ python prepare_model.py 128 the 128 in the command above means max_seq_len in BERT model, which is the length of sample after preprocessing. the config file and model file for server side are saved in the folder bert_seq128_model. the config file generated for client side is saved in the folder bert_seq128_client. + You can also download the above model from BOS(max_seq_len=128). After decompression, the config file and model file for server side are stored in the bert_chinese_L-12_H-768_A-12_model folder, and the config file generated for client side is stored in the bert_chinese_L-12_H-768_A-12_client folder: ```shell wget https://paddle-serving.bj.bcebos.com/paddle_hub_models/text/SemanticModel/bert_chinese_L-12_H-768_A-12.tar.gz diff --git a/python/examples/bert/README_CN.md b/python/examples/bert/README_CN.md index bba8d8d2..02a1aaa8 100644 --- a/python/examples/bert/README_CN.md +++ b/python/examples/bert/README_CN.md @@ -18,6 +18,7 @@ python prepare_model.py 128 参数128表示BERT模型中的max_seq_len,即预处理后的样本长度。 生成server端配置文件与模型文件,存放在bert_seq128_model文件夹。 生成client端配置文件,存放在bert_seq128_client文件夹。 + 您也可以从bos上直接下载上述模型(max_seq_len=128),解压后server端配置文件与模型文件存放在bert_chinese_L-12_H-768_A-12_model文件夹,client端配置文件存放在bert_chinese_L-12_H-768_A-12_client文件夹: ```shell wget https://paddle-serving.bj.bcebos.com/paddle_hub_models/text/SemanticModel/bert_chinese_L-12_H-768_A-12.tar.gz -- GitLab