Why did we open-source our inference engine? Read the post

← Catalog

intfloat/multilingual-e5-large

Open comparison →

Primitive: /encode · Encode · XLM-RoBERTa

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

MultilingualDense

Overview

Hardware: — drives latency, throughput & cost

Size560M params
Tasks /encode
Licensemit
Languagesmultilingual, af, am, ar, as, az, be, bg, bn, br, bs, ca, cs, cy, da, de, el, en, eo, es, et, eu, fa, fi, fr, fy, ga, gd, gl, gu, ha, he, hi, hr, hu, hy, id, is, it, ja, jv, ka, kk, km, kn, ko, ku, ky, la, lo, lt, lv, mg, mk, ml, mn, mr, ms, my, ne, nl, no, om, or, pa, pl, ps, pt, ro, ru, sa, sd, si, sk, sl, so, sq, sr, su, sv, sw, ta, te, th, tl, tr, ug, uk, ur, uz, vi, xh, yi, zh
Latency109 ms
Throughput29.8K tok/s
Cost$0.0074 /1M tok

Cost is approximate — computed from list GPU prices; your actual price depends on the provider you deploy SIE with.

Embedding

Output typesDense
Dimensionsdense: 1,024
Max sequence length512
Inputstext

Benchmarks

CQADupstackPhysicsRetrieval

scientific retrieval en

Duplicate question retrieval from StackExchange Physics

Corpus: 38,314 Queries: 1,039
default
Quality
ndcg at 10 0.3723
map at 10 0.3172
mrr at 10 0.3689
Performance L4 b1 c16
Corpus 23.7K tok/s
Corpus p50 85.2ms
Query 2.9K tok/s
Query p50 58.0ms
sentence_transformer
Quality
ndcg at 10 0.4367
map at 10 0.3783
mrr at 10 0.4371
Reference →

CosQA

technology retrieval en

Code search with natural language queries

Corpus: 6,267 Queries: 500
default
Quality
ndcg at 10 0.3378
map at 10 0.2575
mrr at 10 0.2840
Performance L4 b1 c16
Corpus 14.2K tok/s
Corpus p50 60.8ms
Query 1.8K tok/s
Query p50 54.9ms
sentence_transformer
Quality
ndcg at 10 0.3378
map at 10 0.2575
mrr at 10 0.2840
Reference →

FiQA2018

finance retrieval en

Financial opinion mining and question answering

Corpus: 57,599 Queries: 648
default
Quality
ndcg at 10 0.3532
map at 10 0.2814
mrr at 10 0.4376
Performance L4 b1 c16
Corpus 29.8K tok/s
Corpus p50 89.9ms
Query 2.8K tok/s
Query p50 63.0ms
sentence_transformer
Quality
ndcg at 10 0.4380
map at 10 0.3557
mrr at 10 0.5156
Reference →

LegalBenchConsumerContractsQA

legal retrieval en

Question answering on consumer contracts

Corpus: 153 Queries: 396
default
Quality
ndcg at 10 0.7256
map at 10 0.6691
mrr at 10 0.6684
Performance L4 b1 c16
Corpus 46.3K tok/s
Corpus p50 173.9ms
Query 3.9K tok/s
Query p50 62.7ms
sentence_transformer
Quality
ndcg at 10 0.7332
map at 10 0.6751
mrr at 10 0.6743
Reference →

NFCorpus

medical retrieval en

Biomedical literature search from NutritionFacts.org

Corpus: 3,593 Queries: 323
default
Quality
ndcg at 10 0.3213
map at 10 0.1159
mrr at 10 0.5212
Performance L4 b1 c16
Corpus 33.8K tok/s
Corpus p50 142.5ms
Query 1.4K tok/s
Query p50 55.6ms
sentence_transformer
Quality
ndcg at 10 0.3399
map at 10 0.1265
mrr at 10 0.5211
Reference →

NanoFiQA2018Retrieval

finance retrieval en

Smaller subset of the FiQA financial QA dataset

default
Quality
ndcg at 10 0.5035
map at 10 0.4111
mrr at 10 0.5364
Performance L4 b1 c16
Corpus 27.7K tok/s
Corpus p50 91.9ms
Query 3.1K tok/s
Query p50 55.7ms
sentence_transformer
Quality
ndcg at 10 0.5037
map at 10 0.4113
mrr at 10 0.5364
Reference →

SCIDOCS

scientific retrieval en

Citation prediction, document classification, and recommendation for scientific papers

Corpus: 25,656 Queries: 1,000
default
Quality
ndcg at 10 0.1562
map at 10 0.0896
mrr at 10 0.2789
Performance L4 b1 c16
Corpus 27.5K tok/s
Corpus p50 108.6ms
Query 3.1K tok/s
Query p50 56.9ms
sentence_transformer
Quality
ndcg at 10 0.1744
map at 10 0.1004
mrr at 10 0.3042
Reference →

SciFact

scientific retrieval en

Scientific claim verification using research literature

Corpus: 5,183 Queries: 300
default
Quality
ndcg at 10 0.7039
map at 10 0.6650
mrr at 10 0.6784
Performance L4 b1 c16
Corpus 33.6K tok/s
Corpus p50 134.7ms
Query 4.3K tok/s
Query p50 60.0ms
sentence_transformer
Quality
ndcg at 10 0.7041
map at 10 0.6626
mrr at 10 0.6750
Reference →

StackOverflowQA

technology retrieval en

Programming question answering from Stack Overflow

Corpus: 19,931 Queries: 1,994
default
Quality
ndcg at 10 0.8774
map at 10 0.8606
mrr at 10 0.8606
Performance L4 b1 c16
Corpus 33.7K tok/s
Corpus p50 112.0ms
Query 38.8K tok/s
Query p50 121.7ms
sentence_transformer
Quality
ndcg at 10 0.8889
map at 10 0.8719
mrr at 10 0.8719
Reference →

Open source inference for agents

Open-source inference for the models behind your agents. Run it yourself, or let us run it for you.

Github 3.3K

Contact us

Tell us about your use case and we'll get back to you shortly.

Apply for an inference grant

Free capacity on our hosted cluster for selected projects. Tell us what you run and we reply by email.