SentenceTransformer based on sentence-transformers/all-mpnet-base-v2
This is a
sentence-transformers
model finetuned from
sentence-transformers/all-mpnet-base-v2
. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("mpnet-base-all-mqp-binary")
# Run inference
sentences = [
'My bm aren\'t solid but not quite loose. Looks more like for lack of better word "shredded" the why is this?',
'What causes stringy and shredded stools?',
'I have been taking treatment for anxiety and depression. I was given a new medication and have experienced heart flutters, can this medication cause it?',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Approximate statistics based on the first 610 samples:
text1
text2
label
type
string
string
int
details
min: 8 tokens
mean: 27.56 tokens
max: 70 tokens
min: 8 tokens
mean: 27.88 tokens
max: 91 tokens
0: ~48.85%
1: ~51.15%
Samples:
text1
text2
label
Okay so i'm on bc and I have had sex (it hurts) i'm bleeding brown and my vagina hurts almost itchy but it hurts?
I noticed a brown discharge and itching in my vaginal area to the point that it hurts. I am also on birth control and have sexual intercourse. What do you think is causing this?
1
I've had body aches, blocked stuffy nose, headaches, pressure in my face and throat tightness and it feels dry for 6 months is it a bad cold?
For the last 6 months, I've noticed symptoms like body aches, stuffy nose, headaches, pressure sensation in the face, throat tightness and feels dry. Can a cold last this long or should I be looking for something else?
1
Is there any way to stop my period for a little while without a prescription?
Are there any natural ways to stop my period without having to visit a local doctor?
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
ContrastiveLoss
@inproceedings{hadsell2006dimensionality,
author={Hadsell, R. and Chopra, S. and LeCun, Y.},
booktitle={2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'06)},
title={Dimensionality Reduction by Learning an Invariant Mapping},
year={2006},
volume={2},
number={},
pages={1735-1742},
doi={10.1109/CVPR.2006.100}
}
Runs of ayaat mpnet-base-all-mqp-binary on huggingface.co
104
Total runs
-1
24-hour runs
15
3-day runs
33
7-day runs
21
30-day runs
More Information About mpnet-base-all-mqp-binary huggingface.co Model
mpnet-base-all-mqp-binary huggingface.co
mpnet-base-all-mqp-binary huggingface.co is an AI model on huggingface.co that provides mpnet-base-all-mqp-binary's model effect (), which can be used instantly with this ayaat mpnet-base-all-mqp-binary model. huggingface.co supports a free trial of the mpnet-base-all-mqp-binary model, and also provides paid use of the mpnet-base-all-mqp-binary. Support call mpnet-base-all-mqp-binary model through api, including Node.js, Python, http.
mpnet-base-all-mqp-binary huggingface.co is an online trial and call api platform, which integrates mpnet-base-all-mqp-binary's modeling effects, including api services, and provides a free online trial of mpnet-base-all-mqp-binary, you can try mpnet-base-all-mqp-binary online for free by clicking the link below.
ayaat mpnet-base-all-mqp-binary online free url in huggingface.co:
mpnet-base-all-mqp-binary is an open source model from GitHub that offers a free installation service, and any user can find mpnet-base-all-mqp-binary on GitHub to install. At the same time, huggingface.co provides the effect of mpnet-base-all-mqp-binary install, users can directly use mpnet-base-all-mqp-binary installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mpnet-base-all-mqp-binary install url in huggingface.co: