-
Notifications
You must be signed in to change notification settings - Fork 114
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
Which loss functions are suitable for sentence ordering? #45
Comments
If I understood your setup correctly I think all implemented loss functions should work. Depending if you choose pointwise/ pairwise or listwise loss you predict the normalised ranking directly / compare two sentences and learn to order them correctly / learn to order the entire list at once, respectively |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given the features are tokenized sentences, and the targets
y_pred
are normalized rankings. A typical model accepts tokenized sentences as inputs and outputs their order/ranks.Which of the loss function implementations is suitable for this kind of data?
The text was updated successfully, but these errors were encountered: