Open niluminous opened 7 months ago
Hi, sorry for the late reply!
Below is an example of loading UniSRec models (either pretrained or fine-tuned).
Here is an example of mapping the external user/item IDs (str, stored in .inter
files) to internal IDs (int, remapped IDs stored in RecBole framework).
Please refer to the following code:
Hello,
I am currently working on predicting ratings by calculating the dot product of user embeddings and item embeddings. I am considering using the Universal Sequence Representation module for user sequences and the MOE-enhanced adaptor for item embeddings.
However, I am unsure about how to properly extract these embeddings in UniSREC code. Could anyone provide some guidance or sample code on how to access these embeddings from the mentioned modules?
Thank you in advance for your help!