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

分词器使用的BertTokenizer,bert是基于字符的,那么words和chars的embedding不就是一样的嘛 #43

Open
hyybuaa opened this issue Sep 15, 2021 · 0 comments

Comments

@hyybuaa
Copy link

hyybuaa commented Sep 15, 2021

这一行代码有什么意义呢?? ,哪里能得到word的embeddng
for char in word:
self.char_alphabet.add(char)

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

1 participant