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

请问其他属性id是如何融入广告id的? #8

Closed
256785 opened this issue Aug 11, 2020 · 5 comments
Closed

请问其他属性id是如何融入广告id的? #8

256785 opened this issue Aug 11, 2020 · 5 comments

Comments

@256785
Copy link

256785 commented Aug 11, 2020

在进行w2v的时候是分别根据序列进行embeding得到128维向量。
请教一下,后续是如何融入到同一空间的?

@guoday
Copy link
Owner

guoday commented Aug 11, 2020

在进行w2v的时候是分别根据序列进行embeding得到128维向量。

请教一下,后续是如何融入到同一空间的?

拼接起来经过全连接层,降维到512维

@256785
Copy link
Author

256785 commented Aug 11, 2020

在预训练bert的时候,是不同的id分别做成序列进行encoding吗?

@guoday
Copy link
Owner

guoday commented Aug 11, 2020

在预训练bert的时候,是不同的id分别做成序列进行encoding吗?

不是,所有id的embedding拼接起来,经过全连接层,得到512维的表示,只有一个序列

@guoday
Copy link
Owner

guoday commented Aug 12, 2020

不太理解, 能不能给段的代码呀?谢谢

请看src/data_loader.py谢谢

@guoday guoday closed this as completed Aug 15, 2020
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
@256785 @guoday and others