Model description
Currently mixedbread-ai/mxbai-rerank-large-v2 does not support rerank. Reason: the loaded model cannot fullfill rerank. Options are 'embed'.
infinity_emb v2 --port 7997 \
--model-id mixedbread-ai/mxbai-rerank-large-v2 --batch-size 8 --revision "refs/heads/main"
curl --location 'http://localhost:7997/v1/rerank' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "mixedbread-ai/mxbai-rerank-large-v2",
"query": "What is the capital of the United States?",
"documents": [
"Carson City is the capital city of the American state of Nevada.",
"The Commonwealth of the Northern Mariana Islands is a group of islands in the Pacific Ocean. Its capital is Saipan.",
"Washington, D.C. is the capital of the United States.",
"Capital punishment has existed in the United States since before it was a country."
],
"top_n": 3
}'
{"error":{"message":"ModelNotDeployedError: model=`mixedbread-ai/mxbai-rerank-large-v2` does not support `rerank`. Reason: the loaded moded cannot fullyfill `rerank`. Options are {'embed'}.","type":null,"param":null,"code":400}}
Open source status & huggingface transformers.
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"{"error":{"message":"ModelNotDeployedError: model=`mixedbread-ai/mxbai-rerank-large-v2` does not support `rerank`. Reason: the loaded moded cannot fullyfill `rerank`. Options are {'embed'}.","type":null,"param":null,"code":400}}Open source status & huggingface transformers.
pip install infinity_emb[all] --upgrade