NVIDIA-Merlin / NVIDIA-Merlin/Transformers4Rec

Génerating predictions

Open
#759 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status/needs-triage
Dominant language
Python
Stars
1.3k
Forks
165
Avg merge
1m
Merged PRs (30d)
2

Description

❓ Questions & Help

Details

Hello! I'm working on an e-commerce dataset to predict items. I successfully run the training of the model in the tutorial and now i want to try to generate some results. For example, i want to give him an item and he returns the top_k suggested items from the dataset. How to do that?

I tried to use the nextitempredictiontask.forward() but didn't work for me. I would be glad if someone could guide through this

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tutorial's training example and the NextItemPredictionTask.forward() entry point; reproduce the reported call and inspect its expected inputs and outputs. Done would be a documented, working path for supplying an item and receiving top-k suggestions, with the question's failure clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.