Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于 linearized sequences 格式数据的生成的问题 #4

Open
ume-technology opened this issue Jun 17, 2021 · 1 comment
Open

Comments

@ume-technology
Copy link

我在处理把 train dev test .txt 三个文件数据借助 tool 包中 preprocess.py 模块处理时,得到的 vocabulary 是空,这个脚本的代码对于源文件中的每一行数据都 continue 掉了,没有加入到 vocabulary 中,是我的源数据文件错误了?我使用的 conll2003 这个数据集。
其中 train.txt 的格式如下,请大家帮我确认一下是我的数据集就是错误的吗?
image

@Bosheng2020
Copy link

你好,谢谢你的comment。NER的模型一般训练数据只需要取第一列和第四列。你可以试试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants