提交 10591b35 编写于 作者: X xixiaoyao

fix log print

上级 d9aa1b44
......@@ -17,7 +17,7 @@ git clone https://github.com/PaddlePaddle/PALM.git
## 目录结构
- backbone: 多任务学习的主干网络表示,支持bert, ernie, xlnet等,用户可自定义添加
- backbone: 多任务学习的主干网络表示,支持bert, ernie等,用户可自定义添加
- config:存放各个任务的配置文件,用户添加任务时需在此建立该任务的配置文件
- data: 存放各个任务的数据集
- pretrain_model: 存放预训练模型、字典及其相关配置
......
......@@ -484,7 +484,8 @@ class InputFeatures(object):
def read_mrqa_examples(input_file, is_training, with_negative=False):
"""Read a MRQA json file into a list of MRQAExample."""
print("loading mrqa raw data...")
phase = 'training' if is_training else 'testing'
print("loading mrqa {} data...".format(phase))
with open(input_file, "r") as reader:
input_data = json.load(reader)["data"]
......
文件已添加
文件已添加
文件已添加
文件已添加
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册