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

请教:如果想训练其他实体类别,需要在data_utils里增加tag_map吗?还是只要在训练数据里增加就可以? #14

Closed
muzier opened this issue Sep 18, 2019 · 1 comment

Comments

@muzier
Copy link

muzier commented Sep 18, 2019

请教大神:如果想训练其他实体类别,需要在data_utils里增加tag_map吗?还是只要在训练数据里增加就可以?
我看在 data_utils 的 DataBatch 类下面有一行 tag_map 被注掉了,是不是需要在这里增加其他实体的类别才能识别出来呢?
先谢过啦

@yanwii
Copy link
Owner

yanwii commented Sep 18, 2019

在语料里添加就行了,读取时会自动加到tag_map里面

@yanwii yanwii closed this as completed Sep 19, 2019
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