Replies: 6 comments 1 reply
-
https://huggingface.co/michaelfeil/mxbai-rerank-large-v2-seq The prompt for classification and background in this script: https://github.com/michaelfeil/infinity/blob/main/docs/lm_head_to_classifier/convert_lm.py I'd recommend running this model as a "classifier" and applying the chat template similar to the mixedbread v2 reference implementation locally (client side!) |
Beta Was this translation helpful? Give feedback.
-
Something like this? |
Beta Was this translation helpful? Give feedback.
-
Your prompt is incorrect, use this once, together with chat template. Edit: I added the template here: https://huggingface.co/michaelfeil/mxbai-rerank-large-v2-seq |
Beta Was this translation helpful? Give feedback.
-
Thanks, that worked! |
Beta Was this translation helpful? Give feedback.
-
@michaelfeil dumb question, where did you find the instruct prompt? feel like they had a list of example instructions for different tasks on release but I can't find the list |
Beta Was this translation helpful? Give feedback.
-
Also - seeing
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Model description
Currently mixedbread-ai/mxbai-rerank-large-v2 does not support
rerank
. Reason: the loaded model cannot fullfillrerank
. Options are 'embed'.infinity_emb v2 --port 7997 \ --model-id mixedbread-ai/mxbai-rerank-large-v2 --batch-size 8 --revision "refs/heads/main"
Open source status & huggingface transformers.
pip install infinity_emb[all] --upgrade
Beta Was this translation helpful? Give feedback.
All reactions