未验证 提交 64817d36 编写于 作者: 0 0YuanZhang0 提交者: GitHub

fix_bug_server (#3445)

* fix_bug_server

* fix_readme
上级 8bee6f61
...@@ -30,7 +30,7 @@ models: ...@@ -30,7 +30,7 @@ models:
./data/pretrain_model/squad2_model: pretrain model(google squad2.0 model as pretrain model [Model Link](https://worksheets.codalab.org/worksheets/0x3852e60a51d2444680606556d404c657)). ./data/pretrain_model/squad2_model: pretrain model(google squad2.0 model as pretrain model [Model Link](https://worksheets.codalab.org/worksheets/0x3852e60a51d2444680606556d404c657)).
./saved_models/knowledge_distillation_model: baidu trained knowledge distillation model. ./data/saved_models/knowledge_distillation_model: baidu trained knowledge distillation model.
## 3、Train and Predict ## 3、Train and Predict
Train and predict knowledge distillation model Train and predict knowledge distillation model
......
...@@ -9,6 +9,8 @@ We use PaddlePaddle PALM(multi-task Learning Library) to train MRQA2019 MRC mult ...@@ -9,6 +9,8 @@ We use PaddlePaddle PALM(multi-task Learning Library) to train MRQA2019 MRC mult
git clone https://github.com/PaddlePaddle/PALM.git git clone https://github.com/PaddlePaddle/PALM.git
``` ```
PALM user guide: [README.md](https://github.com/PaddlePaddle/PALM/blob/master/README.md)
### Environment ### Environment
- Python >= 2.7 - Python >= 2.7
- cuda >= 9.0 - cuda >= 9.0
......
...@@ -22,8 +22,8 @@ import json ...@@ -22,8 +22,8 @@ import json
import numpy as np import numpy as np
import paddle.fluid as fluid import paddle.fluid as fluid
from palm.nets.transformer_encoder import encoder as encoder from pdnlp.nets.transformer_encoder import encoder as encoder
from palm.nets.transformer_encoder import pre_process_layer as pre_process_layer from pdnlp.nets.transformer_encoder import pre_process_layer as pre_process_layer
class BertModel(object): class BertModel(object):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册