Sentence Similarity
sentence-transformers
PyTorch
ONNX
Safetensors
OpenVINO
Transformers
English
mpnet
fill-mask
feature-extraction
text-embeddings-inference
Eval Results
Instructions to use sentence-transformers/all-mpnet-base-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sentence-transformers/all-mpnet-base-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use sentence-transformers/all-mpnet-base-v2 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("sentence-transformers/all-mpnet-base-v2") model = AutoModelForMaskedLM.from_pretrained("sentence-transformers/all-mpnet-base-v2") - Inference
- Notebooks
- Google Colab
- Kaggle
Request: DOI
#48 opened 12 days ago
by
paperplanebandit
Add evaluation results for model sentence-transformers/all-mpnet-base-v2 revision 9a3225965996d404b775526de6dbfe85d3368642
#47 opened about 2 months ago
by
Samoed
Model download not working
#45 opened 5 months ago
by
Sara5022
`all-mpnet-base-v2` Complete On-device AI Study
1
#43 opened 7 months ago
by
yeonseok-zeticai
Minimum system configurations
#41 opened 9 months ago
by
sakshicss
Adding Neuron-optimized model files
#38 opened 11 months ago
by
badaoui
Request: DOI
🚀 1
#37 opened about 1 year ago
by
sydneyquinn11
Upload MedicalDiagnosisManuals.zip
#36 opened about 1 year ago
by
Xtomony
Request: DOI
🚀 1
#34 opened over 1 year ago
by
LTE91
Request: DOI
🔥 2
#33 opened over 1 year ago
by
samuelufp36726
onnx and openvino - huge files to download
1
#32 opened over 1 year ago
by
venkey
Request: DOI
#30 opened almost 2 years ago
by
yu9997
How does the scoring function effect similarity performance of the model?
2
#29 opened almost 2 years ago
by
luciancap001
Request: DOI
1
#28 opened almost 2 years ago
by
nbansal
Translation Task
2
#25 opened about 2 years ago
by
NairaRahim
Adding License File to Repository
#24 opened about 2 years ago
by
iamankit
I get very different comparison results for the same texts.
#23 opened about 2 years ago
by
BlTT
Showing Error "POST request failed: HTTP/1.1 503 Service Unavailable"
2
#22 opened about 2 years ago
by
Sonu101294
Change max_position_embeddings to 512
1
#21 opened about 2 years ago
by
vkehfdl1
[AUTOMATED] Model Memory Requirements
#20 opened over 2 years ago
by
model-sizer-bot
offline mode
5
#18 opened over 2 years ago
by
andreariboni
Some weights of MPNetModel were not initialized
#17 opened over 2 years ago
by
david-h
max model size / max seq length
8
#15 opened over 2 years ago
by
paulmoonraker
Adding task type to the model card
#14 opened over 2 years ago
by
Balamuruga
Correct the defunct URL of the Sentence Embeddings Benchmark
#11 opened over 2 years ago
by
sagardubey
How to compare sentences?
3
#9 opened over 2 years ago
by
yalastik
Is this model multilingual?
#8 opened almost 3 years ago
by
LeMoussel
what happens when I pass out of vocabulary word to this model?
1
#7 opened almost 3 years ago
by
Iamexperimenting
Vector Size
1
#5 opened about 3 years ago
by
zinoubm
Latency observed in Embedding computation
#4 opened about 3 years ago
by
RajaRamKankipati
Typos on Model Card
#3 opened over 3 years ago
by
michaelwechner
Add MTEB metadata
#2 opened over 3 years ago
by
Muennighoff
What should I cite if I use this model?
👍 25
3
#1 opened almost 4 years ago
by
tstandley