提交 d4c54775 编写于 作者: S smallv0221

fix squad dataset bug

上级 b74e1d15
......@@ -434,7 +434,7 @@ class SQuAD(Dataset):
is_impossible=is_impossible)
examples.append(example)
self.examples = examples[:1000]
self.examples = examples
def __len__(self):
return len(self.features)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册