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

Question about positional encoding #67

Closed
rena9155 opened this issue Apr 22, 2024 · 2 comments
Closed

Question about positional encoding #67

rena9155 opened this issue Apr 22, 2024 · 2 comments

Comments

@rena9155
Copy link

Can you provide some guidance on positional encoding? What should I put for 'positional_coding' in the config file, and how can I include the original ranking as part of the input data? Also can you provide some explanations on 'Fixed positional encoding' and 'Learnable positional encoding'? Many Thanks!

@kretes
Copy link
Contributor

kretes commented May 15, 2024

Hello.
Regarding overall explanation about positional encodings - please refer to our paper https://arxiv.org/pdf/2005.10084 and chapters 4.4 and 5.5 most importantly.

Technically - in the config - you need to provide:

"positional_encoding": {
 "strategy": "fixed",  # (or 'learned')
 "max_indices": 50 # or some other value - eq or larger than max length slates in the dataset
}


@rena9155
Copy link
Author

Thank you!

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