❓ Questions & Help
I'm a beginner with Merlin Models. I'm setting up a DLRM model, with 3 types of input features:
- categorical features
- continuous features
- pre_trained embeddings for user/item
For simplicity, we can assume we have a data frame with columns user_id, item_id, categorical_1, continuous_1, embeddings_user, embeddings_item.
(1) and (2) are straightforward to add to the architecture via simply using the right tags and nvt.ops. However, I'm not sure how one could add in the embeddings_1. Is the right approach just to define a custom architecture using the merlin provided blocks? I would prefer these embeddings_1 to be trainable if possible.
Or is there a quicker way to use them with DLRM via the right nvtabular ops and tags? Thanks!
❓ Questions & Help
I'm a beginner with Merlin Models. I'm setting up a DLRM model, with 3 types of input features:
For simplicity, we can assume we have a data frame with columns
user_id, item_id, categorical_1, continuous_1, embeddings_user, embeddings_item.(1) and (2) are straightforward to add to the architecture via simply using the right tags and nvt.ops. However, I'm not sure how one could add in the
embeddings_1. Is the right approach just to define a custom architecture using the merlin provided blocks? I would prefer theseembeddings_1to be trainable if possible.Or is there a quicker way to use them with
DLRMvia the right nvtabular ops and tags? Thanks!