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

← Catalog

intfloat/e5-mistral-7b-instruct

Open comparison →

Primitive: /encode · Encode · Mistral

Improving Text Embeddings with Large Language Models. Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, Furu Wei, arXiv 2024

Dense

Overview

Hardware: — drives latency, throughput & cost

Size7.1B params
Tasks /encode
Licensemit
Languagesen
Latency915 ms
Throughput3.0K tok/s
Cost$0.074 /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: 4,096
Max sequence length4,096
Inputstext

Benchmarks

CQADupstackPhysicsRetrieval

scientific retrieval en

Duplicate question retrieval from StackExchange Physics

Corpus: 38,314 Queries: 1,039
Quality
ndcg at 10 0.2525
map at 10 0.2154
mrr at 10 0.2419
Reference →

CosQA

technology retrieval en

Code search with natural language queries

Corpus: 6,267 Queries: 500
Quality
ndcg at 10 0.2931
map at 10 0.2171
mrr at 10 0.2203
Reference →

FiQA2018

finance retrieval en

Financial opinion mining and question answering

Corpus: 57,599 Queries: 648
Quality
ndcg at 10 0.5681
map at 10 0.4874
mrr at 10 0.6473
Reference →

LegalBenchConsumerContractsQA

legal retrieval en

Question answering on consumer contracts

Corpus: 153 Queries: 396
Quality
ndcg at 10 0.7569
map at 10 0.6962
mrr at 10 0.6962
Reference →

NFCorpus

medical retrieval en

Biomedical literature search from NutritionFacts.org

Corpus: 3,593 Queries: 323
Quality
ndcg at 10 0.3890
map at 10 0.1425
mrr at 10 0.5920
Performance L4 b1 c16
Corpus 3.1K tok/s
Corpus p50 1.2s
Query 212 tok/s
Query p50 230.4ms
Reference →

NanoFiQA2018Retrieval

finance retrieval en

Smaller subset of the FiQA financial QA dataset

Quality
ndcg at 10 0.5960
map at 10 0.5317
mrr at 10 0.6404
Performance L4 b1 c16
Corpus 2.9K tok/s
Corpus p50 670.1ms
Query 466 tok/s
Query p50 224.6ms
Reference →

SCIDOCS

scientific retrieval en

Citation prediction, document classification, and recommendation for scientific papers

Corpus: 25,656 Queries: 1,000
Quality
ndcg at 10 0.1539
map at 10 0.0869
mrr at 10 0.2757
Reference →

SciFact

scientific retrieval en

Scientific claim verification using research literature

Corpus: 5,183 Queries: 300
Quality
ndcg at 10 0.7732
map at 10 0.7282
mrr at 10 0.7400
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.