Model reference · open weights

e5-large

e5-large is an open-weight embedding model from intfloat, 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.

Embeddings intfloat 1 variants 2M downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What e5-large is

E5-large-v2 Text Embeddings by Weakly-Supervised Contrastive Pre-training. Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, Furu Wei, arXiv 2022 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. Training Details Please refer to our paper at https://arxiv.org/pdf/2212.03533.pdf. Benchmark Evaluation Check out unilm/e5 to reproduce evaluation results on the BEIR and MTEB benchmark. Support for Sentence Transformers Below is an example for usage with sentencetransformers. Package requirements pip install sentencetransformers~=2.2.2 Contributors: michaelfeil FAQ 1. Do I need to add the prefix "query: " and "passage: " to input texts? Yes, this is how the model is trained, otherwise you will see a performance degradation. Here are some rules of thumb: - Use "query: " and "passage: " correspondingly for asymmetric tasks such as passage retrieval in open QA, ad-hoc information retrieval. - Use "query: " prefix for symmetric tasks such as semantic similarity, paraphrase retrieval. - Use "query: " prefix if you want to use embeddings as features, such as linear probing classification, clustering. 2. Why are my reproduced results slightly different from reported in the model card? Different versions of transformers and pytorch could cause negligible but non-zero performance differences. 3. Why does the cosine similarity scores distribute around 0.7 to 1.0? This is a known and expected behavior as we use a low temperature 0.01 for InfoNCE contrastive loss. For text embedding tasks like text retrieval or semantic similarity, what matters is the relative order of the scores instead of the absolute values, so this should not be an issue. Citation If you find our paper or models helpful, please consider cite as follows: Limitations This model only works for English texts. Long texts will be truncated to at most 512 tokens.

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makerintfloat
TypeEmbedding models
Parameters (lead)335M
Context512 tokens
Variants1
Runs withsentence-transformers
Released2023-05-19
Popularity2M downloads / month
Likes282
LicenceOpen weights

How it works

How embedding models work

Your textsentence / documentEncodermaps meaningVectorlist of numbersAn embedding model turns text into a vector, so similar meanings sit close together — the basis of search and RAG.

Variants

Sizes & precisions

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.

VariantParamsPrecisionVRAMFits 16 GBWeights
e5-large-v2335MBF16~0.8 GBWeights ↗

Benchmarks

Reported results

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

TaskDatasetMetricScore
ClassificationMTEB AmazonCounterfactualClassification (en)accuracy79.224
ClassificationMTEB AmazonCounterfactualClassification (en)ap43.208
ClassificationMTEB AmazonCounterfactualClassification (en)f173.278
ClassificationMTEB AmazonPolarityClassificationaccuracy93.748
ClassificationMTEB AmazonPolarityClassificationap90.725
ClassificationMTEB AmazonPolarityClassificationf193.739
ClassificationMTEB AmazonReviewsClassification (en)accuracy48.612
ClassificationMTEB AmazonReviewsClassification (en)f147.612
RetrievalMTEB ArguAnamap_at_123.542
RetrievalMTEB ArguAnamap_at_1038.208
RetrievalMTEB ArguAnamap_at_10039.417
RetrievalMTEB ArguAnamap_at_100039.429
RetrievalMTEB ArguAnamap_at_333.95
RetrievalMTEB ArguAnamap_at_536.329
RetrievalMTEB ArguAnamrr_at_123.755
RetrievalMTEB ArguAnamrr_at_1038.288
RetrievalMTEB ArguAnamrr_at_10039.511
RetrievalMTEB ArguAnamrr_at_100039.523
RetrievalMTEB ArguAnamrr_at_334.009
RetrievalMTEB ArguAnamrr_at_536.434
RetrievalMTEB ArguAnandcg_at_123.542
RetrievalMTEB ArguAnandcg_at_1046.417
RetrievalMTEB ArguAnandcg_at_10051.812
RetrievalMTEB ArguAnandcg_at_100052.137

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys e5-large for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (e5-large 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":"e5-large","input":"text to embed"}'

Details

Languages, data & research

Languages

en

Tags

sentence-transformers pytorch onnx safetensors openvino bert mteb Sentence Transformers sentence-similarity en model-index text-embeddings-inference endpoints_compatible deploy:sagemaker

Papers

Licence

Open weights

Open weights under mit — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want e5-large on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More embedding models

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms