tensorflow / tensorflow/recommenders

Example on how to pass candidate_ids and candidate_sampling_probability in Retrieval

Open
#453 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm having problems trying to pass candidate_ids and candidate_sampling_probability

Can someone please share some code on how to create these two tensors?

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 at the Retrieval API and determine how candidate_ids and candidate_sampling_probability are expected to be provided. The issue does not name a file, test, or specific sampling setup, so clarify the intended inputs before documenting an example; done means showing code that creates both tensors and passes them to Retrieval.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.