NVIDIA-Merlin / NVIDIA-Merlin/Merlin

[QST]Follow the example 'getting started movies' to execute an error.

Open
#1,077 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
907
Forks
129
PR merge metrics
No merged PRs in 30d

Description

❓ Questions & Help

Details

Merlin-PyTorch

batch : ({'userId': tensor([13849, 1743, 35896, ..., 339, 79530, 88722], device='cuda:0'), 'movieId': tensor([ 890, 2922, 780, ..., 9143, 2444, 813], device='cuda:0'), 'genres__values': tensor([ 4, 3, 10, ..., 17, 15, 12], device='cuda:0'), 'genres__offsets': tensor([ 0, 2, 6, ..., 89550, 89555, 89557], device='cuda:0',
dtype=torch.int32)}, tensor([1., 1., 0., ..., 1., 1., 1.], device='cuda:0'))

target_columns : ['userId', 'movieId', 'genres']

Why are ‘genres_values‘ and ’genres_offsets‘ in batch instead of ’genres‘?

image

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 by reproducing the batch output from the getting started movies example using the details in this issue. Inspect how target_columns and the genres feature are represented in the returned batch, then document the observed reason for the genres_values and genres_offsets fields; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.