We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I feel realy confused about the grads of alphas in hard attention. The source code is in line 1199:
known_grads={alphas:opt_outs['masked_cost'][:,:,None]/10.* (alphas_sample/alphas) + alpha_entropy_c*(tensor.log(alphas) + 1)})
Can anyone explain this to me, please?
The text was updated successfully, but these errors were encountered:
@denglixi I am also confused by this. Did you find the answer?
Sorry, something went wrong.
@denglixi @ysjakking Did you figure out the answer? I am also confused. Can anyone help me?
Me too...
@denglixi @ysjakking @shaoxuan92 @SijieSong Any solution did you get? I also come across this problem.
No branches or pull requests
Hello, I feel realy confused about the grads of alphas in hard attention. The source code is in line 1199:
known_grads={alphas:opt_outs['masked_cost'][:,:,None]/10.*
(alphas_sample/alphas) + alpha_entropy_c*(tensor.log(alphas) + 1)})
Can anyone explain this to me, please?
The text was updated successfully, but these errors were encountered: