Model reference · open weights
multilingual-e5-small is an open-weight embedding model from Xenova, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
https://huggingface.co/intfloat/multilingual-e5-small with ONNX weights to be compatible with Transformers.js. Usage (Transformers.js) If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Example: Run feature extraction. Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | Xenova |
|---|---|
| Type | Embedding models |
| Context | 512 tokens |
| Variants | 1 |
| Runs with | transformers.js |
| Based on | intfloat/multilingual-e5-small |
| Released | 2023-07-01 |
| Popularity | 150k downloads / month |
| Likes | 18 |
| Licence | Commercial licence needed |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| multilingual-e5-small | — | BF16 | — | — | Weights ↗ |
Using it via the API
Once AxForge deploys xenova-multilingual-e5-small for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (xenova-multilingual-e5-small below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/embeddings \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"xenova-multilingual-e5-small","input":"text to embed"}'
Details
Tags
Licence
The weights are open but its licence needs a commercial agreement for business use. AxForge can arrange that licence and host the model for you — you pay AxForge, we settle with the model’s maker. Ask us for a quote. Read the licence ↗
Explore