Skip to content

关于序列推荐数据预处理问题 #1291

Answered by hyp1231
kuzma-long asked this question in Q&A
Discussion options

You must be logged in to vote

一方面,我们取最后一个时刻的输出时,使用了 gather_index 这个函数,保证取到的不是 0 处的 hidden state;另一方面,我个人的实验结果显示,position encoding 在对左/右补零的序列,尽管计算上不同,但是结果没有显著的差异。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kuzma-long
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants