Model reference · open weights

multilingual-e5-large

Embeddings intfloat Embeddings 2 builds Open weights 7.2M dl/mo

multilingual-e5-large is an open-weight embedding model from intfloat. multilingual-e5-large-instruct (FP16) weighs 1.1 GB; the smallest configuration that runs it is RTX 3060 12 GB.

  • multilingual-e5-large is a 560M parameter feature extraction model developed by intfloat for text embedding tasks.
  • It supports 100 languages and has a context length of 514 tokens, with an embedding size of 1024.
  • The model is released under the MIT license.

Summary of the intfloat/multilingual-e5-large model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released byintfloat
Released2023-06-30
Parameters560M
VRAM1.1 GB for the weights

What it runs on

Memory and cards for multilingual-e5-large-instruct (FP16)

1.1 GBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
multilingual-e5-large ↗ 560MFP32 1.1 GBRTX 3060 12 GB
multilingual-e5-large-instruct (above) ↗ 560MFP16 1.1 GBRTX 3060 12 GB

From the model card

What intfloat says about multilingual-e5-large

Read the model card

Multilingual-E5-large

Multilingual E5 Text Embeddings: A Technical Report. Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, Furu Wei, arXiv 2024

This model has 24 layers and the embedding size is 1024.

Usage

Below is an example to encode queries and passages from the MS-MARCO passage ranking dataset.

import torch.nn.functional as F

from torch import Tensor
from transformers import AutoTokenizer, AutoModel

def average_pool(last_hidden_states: Tensor,
                 attention_mask: Tensor) -> Tensor:
    last_hidden = last_hidden_states.masked_fill(~attention_mask[..., None].bool(), 0.0)
    return last_hidden.sum(dim=1) / attention_mask.sum(dim=1)[..., None]

# Each input text should start with "query: " or "passage: ", even for non-English texts.
# For tasks other than retrieval, you can simply use the "query: " prefix.
input_texts = ['query: how much protein should a female eat',
               'query: 南瓜的家常做法',
               "passage: As a general guideline, the CDC's average requirement of protein for women ages 19 to 70 is 46 grams per day. But, as you can see from this chart, you'll need to increase that if you're expecting or training for a marathon. Check out the chart below to see how much protein you should be eating each day.",
               "passage: 1.清炒南瓜丝 原料:嫩南瓜半个 调料:葱、盐、白糖、鸡精 做法: 1、南瓜用刀薄薄的削去表面一层皮,用勺子刮去瓤 2、擦成细丝(没有擦菜板就用刀慢慢切成细丝) 3、锅烧热放油,入葱花煸出香味 4、入南瓜丝快速翻炒一分钟左右,放盐、一点白糖和鸡精调味出锅 2.香葱炒南瓜 原料:南瓜1只 调料:香葱、蒜末、橄榄油、盐 做法: 1、将南瓜去皮,切成片 2、油锅8成热后,将蒜末放入爆香 3、爆香后,将南瓜片放入,翻炒 4、在翻炒的同时,可以不时地往锅里加水,但不要太多 5、放入盐,炒匀 6、南瓜差不多软和绵了之后,就可以关火 7、撒入香葱,即可出锅"]

tokenizer = AutoTokenizer.from_pretrained('intfloat/multilingual-e5-large')
model = AutoModel.from_pretrained('intfloat/multilingual-e5-large')

# Tokenize the input texts
batch_dict = tokenizer(input_texts, max_length=512, padding=True, truncation=True, return_tensors='pt')

outputs = model(**batch_dict)
embeddings = average_pool(outputs.last_hidden_state, batch_dict['attention_mask'])

# normalize embeddings
embeddings = F.normalize(embeddings, p=2, dim=1)
scores = (embeddings[:2] @ embeddings[2:].T) * 100
print(scores.tolist())

Supported Languages

This model is initialized from xlm-roberta-large and continually trained on a mixture of multilingual datasets. It supports 100 languages from xlm-roberta, but low-resource languages may see performance degradation.

Training Details

Initialization: xlm-roberta-large

First stage: contrastive pre-training with weak supervision

DatasetWeak supervision# of text pairs
Filtered mC4(title, page content)1B
CC News(title, news content)400M
NLLBtranslation pairs2.4B
Wikipedia(hierarchical section title, passage)150M
Filtered Reddit(comment, response)800M
S2ORC(title, abstract) and citation pairs100M
Stackexchange(question, answer)50M
xP3(input prompt, response)80M
Miscellaneous unsupervised SBERT data-10M

Second stage: supervised fine-tuning

DatasetLanguage# of text pairs
MS MARCOEnglish500k
NQEnglish70k
Trivia QAEnglish60k
NLI from SimCSEEnglish<300k
ELI5English500k
DuReader RetrievalChinese86k
KILT FeverEnglish70k
KILT HotpotQAEnglish70k
SQuADEnglish87k
QuoraEnglish150k
[Mr. TyDi](htt

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

Benchmarks

Reported results

As published on the model card: the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
ClassificationMTEB AmazonCounterfactualClassification (en)accuracy79.060
ClassificationMTEB AmazonCounterfactualClassification (en)ap43.487
ClassificationMTEB AmazonCounterfactualClassification (en)f173.327
ClassificationMTEB AmazonCounterfactualClassification (de)accuracy71.221
ClassificationMTEB AmazonCounterfactualClassification (de)ap81.558
ClassificationMTEB AmazonCounterfactualClassification (de)f169.283
ClassificationMTEB AmazonCounterfactualClassification (en-ext)accuracy80.420
ClassificationMTEB AmazonCounterfactualClassification (en-ext)ap29.349
ClassificationMTEB AmazonCounterfactualClassification (en-ext)f167.625
ClassificationMTEB AmazonCounterfactualClassification (ja)accuracy77.837
ClassificationMTEB AmazonCounterfactualClassification (ja)ap26.558
ClassificationMTEB AmazonCounterfactualClassification (ja)f164.966
ClassificationMTEB AmazonPolarityClassificationaccuracy93.490
ClassificationMTEB AmazonPolarityClassificationap90.988
ClassificationMTEB AmazonPolarityClassificationf193.486
ClassificationMTEB AmazonReviewsClassification (en)accuracy47.564
ClassificationMTEB AmazonReviewsClassification (en)f146.751
ClassificationMTEB AmazonReviewsClassification (de)accuracy45.400
ClassificationMTEB AmazonReviewsClassification (de)f144.172
ClassificationMTEB AmazonReviewsClassification (es)accuracy43.068
ClassificationMTEB AmazonReviewsClassification (es)f142.382
ClassificationMTEB AmazonReviewsClassification (fr)accuracy41.890
ClassificationMTEB AmazonReviewsClassification (fr)f140.844
ClassificationMTEB AmazonReviewsClassification (ja)accuracy40.120
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms