-
Notifications
You must be signed in to change notification settings - Fork 19
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
GoldenRetriever example from README does not work #12
Comments
Getting the same error, related to this: cannot import name 'GoldenRetriever' from relik.retriever.pytorch_modules.model import GoldenRetriever It seems that the class is missing, while GoldenRetrieverModel is there. |
Getting the same error when trying to run this on my fine-tuned model : retriever.retrieve("Michael Jordan was one of the best players in the NBA.", top_k=100) |
We just updated ReLiK to
@csaiedu I can't replicate this problem in a fresh local environment. Let me know if the problem persists. |
Thank you Riccorl, Fixed with installation on a Linux machine and new envirnoment. Could be a corrupt conda env on windows |
Thank you @Riccorl, it works just fine now |
Thank you @Riccorl , it's also working for my fine-tuned model ! |
@csaiedu Can you share the full error stack? |
When running the snippet on the README file
the code breaks with error
here's the full stacktrace
running everything on Python 3.10.12 with torch 2.1.2+cu121.
The text was updated successfully, but these errors were encountered: