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

fastNLP如何将index映射回去 #7

Closed
s1162276945 opened this issue Dec 15, 2019 · 1 comment
Closed

fastNLP如何将index映射回去 #7

s1162276945 opened this issue Dec 15, 2019 · 1 comment

Comments

@s1162276945
Copy link

作者你好,这两天在阅读代码,看到将character和tag转换为index这里,我在想如果我想得到预测的BIO标签,那我怎么把index映射回去呢。

@LeeSureman
Copy link

vocabulary有to_word方法将index映射为原token

@yhcc yhcc closed this as completed Dec 17, 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

3 participants