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

[QST] Cross-entropy and pairwise losses are supported in Next Item Prediction #751

Open
ralgond opened this issue Oct 16, 2023 · 0 comments

Comments

@ralgond
Copy link

ralgond commented Oct 16, 2023

❓ Cross-entropy and pairwise losses are supported in Next Item Prediction

I found the text as following on page https://nvidia-merlin.github.io/Transformers4Rec/stable/model_definition.html?highlight=pairwise%20loss

Next Item Prediction: Predicts next items for a given sequence of interactions. During training, the prediction can be the next item or randomly selected items depending on the masking scheme. For inference, the intended purpose is to always predict the next interacted item. Cross-entropy and pairwise losses are supported.

Could you please tell me how to use pairwise losses instead of Cross-entorpy please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant