-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requesting Guidance on Extracting User and Item Embeddings #19
Comments
Hi, sorry for the late reply! 1. Loading existing checkpointsBelow is an example of loading UniSRec models (either pretrained or fine-tuned). Lines 37 to 40 in 05aa5cb
2. Mapping external IDs to internal IDsHere is an example of mapping the external user/item IDs (str, stored in 3. Extracting representationsPlease refer to the following code: Lines 174 to 187 in 05aa5cb
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!
The text was updated successfully, but these errors were encountered: