提交 4c28246e 编写于 作者: S Steffy-zxf 提交者: wuzewu

fix nlp reader bug (#83)

上级 281575bd
...@@ -252,7 +252,7 @@ class BaseReader(object): ...@@ -252,7 +252,7 @@ class BaseReader(object):
for item in data: for item in data:
# set label in order to run the program # set label in order to run the program
label = "0" label = list(self.label_map.keys())[0]
if len(item) == 1: if len(item) == 1:
item_i = InputExample( item_i = InputExample(
guid=seq_id, text_a=item[0], label=label) guid=seq_id, text_a=item[0], label=label)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册