We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
curl -X 'POST' 'https://localhost:8080/embeddings' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{ "model": "mixedbread-ai/mxbai-embed-large-v1", "encoding_format": "float", "dimensions": 512, "input": [ "test 123" ], "modality": "text" }' { "error": { "message": "<class 'infinity_emb.primitives.MatryoshkaDimError'> -> matryoshka_dim=512 is not in a valid range. Select between 1 and 128.", "type": null, "param": null, "code": 400 } }
The text was updated successfully, but these errors were encountered:
Binary quantization (packed) and matryoshka does not pair well. In binary, 1 output will be packed into ~8/16 floats.
Sorry, something went wrong.
Interesting. I had picked the option based on this Mixedbread blog post:
https://www.mixedbread.ai/blog/binary-mrl#using-it-in-action
I might be missing some nuance here.
No branches or pull requests
System Info
curl -X 'POST' 'https://localhost:8080/embeddings' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{
"model": "mixedbread-ai/mxbai-embed-large-v1",
"encoding_format": "float",
"dimensions": 512,
"input": [
"test 123"
],
"modality": "text"
}'
{
"error": {
"message": "<class 'infinity_emb.primitives.MatryoshkaDimError'> -> matryoshka_dim=512 is not in a valid range. Select between 1 and 128.",
"type": null,
"param": null,
"code": 400
}
}
Information
Tasks
Reproduction
The text was updated successfully, but these errors were encountered: