🤖 sentence-similarity

e5-base-v2

intfloat/e5-base-v2

Get AI Model →
2.2M
Downloads
❤️
156
Likes
🏷️
18
Tags
📦
sentence-transformers
Library
Model Details
Full Model IDintfloat/e5-base-v2
Pipeline / Tasksentence-similarity
Librarysentence-transformers
Downloads (all-time)2.2M
Likes156
Last Modified2/17/2025
Author / Orgintfloat
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("sentence-similarity", model="intfloat/e5-base-v2")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
sentence-transformerspytorchonnxsafetensorsopenvinobertmtebSentence Transformerssentence-similarityenarxiv:2212.03533arxiv:2104.08663arxiv:2210.07316license:mitmodel-indextext-embeddings-inferenceendpoints_compatibleregion:us
More sentence-similarity Models
See all →
all-MiniLM-L6-v2

sentence-transformers/all-MiniLM-L6-v2

245.3M❤️ 5.0K
Get AI Model →
bge-small-en-v1.5

BAAI/bge-small-en-v1.5

61.8M❤️ 497
Get AI Model →
paraphrase-multilingual-MiniLM-L12-v2

sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2

50.8M❤️ 1.3K
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🤖 Task: sentence-similarity

This model is designed for the sentence-similarity task. Explore more models for this use case.

All sentence-similarity Models →
📊 Popularity
Downloads2.2M
❤️ Community Likes156
🛠️ Requirements
  • Install: pip install sentence-transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?