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

Seq2Slate issue #716

Open
20010404 opened this issue Mar 31, 2023 · 3 comments
Open

Seq2Slate issue #716

20010404 opened this issue Mar 31, 2023 · 3 comments

Comments

@20010404
Copy link

Hi. Can you please give me the source code of seq2slate algorithm alone? I have searched the online environment but only to find it in ReAgent. It could be really kind of you as I am at the start step of reranking models. I promise I will only use it for research. My email is [email protected].

@rodrigodesalvobraz
Copy link
Contributor

@20010404
Copy link
Author

20010404 commented Apr 1, 2023

Hi, Deborah. Are you looking for https://github.com/facebookresearch/ReAgent/blob/a4070357ee2e033d281a1043a7305be172064d5e/reagent/training/ranking/seq2slate_trainer.py?

Thanks for your help. I will look at the code carefully. So difficult for me now :)

@JuiceFV
Copy link

JuiceFV commented Apr 16, 2023

Hi, Deborah

Regarding Seq2Slate - be aware that the current version doesn't implement paddings in the batch. The main problem is the last decoder layer (specifically autoregressive decoding); it requires a symmetrical decoder mask in purpose to properly form the distribution over items, excluding paddings. If your problem definition assumes sequences of different lengths, you should carefully implement this logic

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