tensorflow / tensorflow/recommenders
Example on how to pass candidate_ids and candidate_sampling_probability in Retrieval
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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