-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
update sequential reco models: add serving example #1254
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
hey @Leavingseason this is awesome, but the notebook is not loading for me, I think it might be because it has too many logs. Do you think we can clean or reduce the output of the cell:
|
Sure. I have removed the printing of graph content |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
@aidenpearce001 are you using the latest code? In this PR, I update the base model with one line of code "pred = tf.identity(pred, name='pred')" |
Thanks you for helping me. I want to ask about model output when using model.predict(), its just return a number but i want it to return probability for each items so i can recommend a list of item for user. How can i do it? |
Each line is an instance of <user, item> pair. So enumerate all the items you need to make prediction for the user. E.g., if you have 100 items to rate, you need to generate 100 lines of <user, item> pairs. SLi-Rec model is for ranking purpose, not suitable for item retrieval. |
Description
Update deeprec's sequential recommender packages. Provide an example for users how can we use the trained model for serving purpose.
Related Issues
#1233
#1068
Checklist:
staging
and notmaster
.