The Multilingual-E5 models, initialized from XLM-RoBERTa, support up to 512 tokens per input — any longer text will be silently truncated. To ensure optimal performance, always prefix inputs with “query:” or “passage:”, as the model was explicitly trained with this format.
https://api.deepinfra.com/v1/openai/v1/embeddings| Model | Context | Max out |
|---|---|---|
| e5-base-v2 | — | — |
| e5-large-v2 | — | — |
| multilingual-e5-large-instruct | — | — |
| multilingual-e5-large | — | — |
/v1/models/deepinfra/intfloat/multilingual-e5-large-instructThe Multilingual-E5 models, initialized from XLM-RoBERTa, support up to 512 tokens per input — any longer text will be silently truncated. To ensure optimal performance, always prefix inputs with “query:” or “passage:”, as the model was explicitly trained with this format.