提交 5693e9e5 编写于 作者: misite_J's avatar misite_J

dataloader altering

上级 ccee4fa1
......@@ -79,7 +79,7 @@ class NERDataset(Dataset):
def read_file(self):
with open(self.config.test_file, "r", encoding="utf-8") as f:
with open(self.file_path, "r", encoding="utf-8") as f:
lines, words, labels = [], [], []
for line in f.readlines():
contends = line.strip()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册