Search & RAG/Hugging Face/Model
all-mpnet-base-v2
by sentence-transformers·Last observed 2026-10-26
♥ 1,400 likes↓ 18.5M 30d downloads
all-mpnet-base-v2 is a sentence-transformers model that encodes sentences and short paragraphs as 768-dimensional dense vectors. The model card describes it for semantic search, clustering, and sentence similarity, with examples using Sentence-Transformers or Transformers and mean pooling. Inputs longer than 384 word pieces are truncated.
Useful for
- Encode a collection of short passages and compare them with a query for semantic retrieval.
Key features
- Encodes sentences and short paragraphs into vectors for semantic search, clustering, or similarity tasks.
- Can be loaded with Sentence-Transformers, or with Transformers using attention-mask-aware mean pooling and vector normalization.
Requirements & limitations
- Inputs longer than 384 word pieces are truncated by default.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.