-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
How to load a fine-tuned model? #211
Comments
@bclavie Any comments on how to resolve this? |
Ok, fixed this. It was an issue with the |
Hi @shubham526 ! |
I just used the code given in this repository. Look at examples here: |
Thank you so much for your reply @shubham526 ! I have a few more questions. I would be happy if you answer when you are available. Here is my FineTuning Code:
When I use my code, my model with a structure like the one below is recorded in checkpoints.
I need to fine-tune the intfloat/e5-base or intfloat/multilingual-e5-base model with my own data and Colbert. Do you know any changes I need to make to the code or its internal library code? Also, how can I try my model with the structure I shared above, which I fine-tuned using my code? Do you have a code we can "load" and try? Thanks again for your interest |
@bclavie Hi. So I was finally able to fine-tune ColBERT using your library. But how do I load this model for inference? I assumed I needed to use
RAGPretrainedModel
but apparently not. I gives me an error. What am I missing?Below is the stack trace:
The text was updated successfully, but these errors were encountered: