Skip to content

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

@kushagra-ch

Description

@kushagra-ch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions