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] Uniform query size for Listwise Ranking? #740

Open
kushagra-ch opened this issue Nov 4, 2024 · 0 comments
Open

[Question] Uniform query size for Listwise Ranking? #740

kushagra-ch opened this issue Nov 4, 2024 · 0 comments

Comments

@kushagra-ch
Copy link

kushagra-ch commented Nov 4, 2024

I was using the Listwise ranking section in the documentation as reference for a ranking task I'm working on.

In the documentation, the training data comprises of a list of 5 movies per training datapoint. For context, the data I'm working with has different sizes for each query, with some queries having 10 candidates to be ranked and others having >100 candidates to be ranked.

My question is, is it mandatory to fix the query size across all of the training datapoints, leading to each training sample in the dataset having a fixed query size or or can we train the model in such a way that each training sample has different query size, say by batching the training data based on the size of the query or using ragged tensors?

Thanks

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

1 participant