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

数据处理的时候代码是否有问题? #141

Open
JustinPeanut opened this issue Sep 6, 2023 · 0 comments
Open

数据处理的时候代码是否有问题? #141

JustinPeanut opened this issue Sep 6, 2023 · 0 comments

Comments

@JustinPeanut
Copy link

根据词汇表初始化预训练向量的时候,是否没有初始化到index=0的位置?最后一个位置应该会覆盖倒数第二个位置吧?
也可能是我理解有问题,请大佬解答!!感激不尽
还有双词预训练表是否需要自己生成呢?如果需要的话,可以使用什么工具?我用demo训练集跑了一遍,f1和recall值好低。

在main.py 构建预训练词向量的时候data.build_word_pretrain_emb(char_emb)--->build_pretrain_embedding----->

image

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