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

Attention 中为什么用 softmax 把权重归一? 和原论文的表述不一致 #91

Open
wenmin-wu opened this issue Jun 23, 2022 · 1 comment

Comments

@wenmin-wu
Copy link

wenmin-wu commented Jun 23, 2022

image

原论文中说不要求权重和为1,从来保留用户兴趣的强烈程度,但是 [代码实现中用了softmax](https://github.com/zhougr1993/DeepInterestNetwork/blob/master/din/model.py#L225) ,这样就归一了
@xu-song
Copy link

xu-song commented Aug 2, 2022

+1

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