tensorflow / tensorflow/recommenders
Candidate tower multiple features
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2k
- Forks
- 300
- PR merge metrics
- No merged PRs in 30d
Description
Hi
Im trying to add a new feature to the candidate tower (product title) as well as the ID of the product. I followed the same process as the user tower however i get a error from this line
self.task = tfrs.tasks.Retrieval(
metrics=tfrs.metrics.FactorizedTopK(
candidates=products.batch(2048*4).map(self.candidate_model),
),
)
I think its because I have multiple features in the cadidate model but I dont know how to solve
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 with the candidate tower setup and the Retrieval/FactorizedTopK construction shown in the issue, then compare it with the user tower process. Reproduce the failure using multiple candidate features and record the missing error details. Done means the candidate tower can include the product title and product ID without the retrieval task failing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100