-
Notifications
You must be signed in to change notification settings - Fork 318
Added pgml.rank docs #1514
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
Added pgml.rank docs #1514
Conversation
``` | ||
|
||
## Example | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's document the difference between these calls. Take a look at examples:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this look: f9c5ff2
Co-authored-by: Lev Kokotov <levkk@users.noreply.github.com>
|
||
By default we provide the following ranking models: | ||
|
||
* `mixedbread-ai/mxbai-rerank-base-v1` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I use other models from hugging face? There's no mention here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes you can. If you are using a serverless hosted database you can request for that model specifically. Is there a model you are interested in using that is not here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to make sure that I can use any because embedding and reranking models will get update regularly.
I currently pick:
- for embedding (multilingual) 👉 https://huggingface.co/BAAI/bge-m3
- for reranking 👉 https://huggingface.co/BAAI/bge-reranker-large
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those should work. If you are using serverless and want to use them, you will need to request access to them. Let me know if you have any problems and I'm happy to take a look!
No description provided.