SentenceTransformer based on llm-semantic-router/mmbert-embed-32k-2d-matryoshka
This is a
sentence-transformers
model finetuned from
llm-semantic-router/mmbert-embed-32k-2d-matryoshka
. 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("sentence_transformers_model_id")
# Run inference
sentences = [
'What is (are) Turner Syndrome ?',
'Assisted reproduction techniques can help some women with Turner syndrome get pregnant. NIH: National Institute of Child Health and Human Development',
"What are the signs and symptoms of Turner syndrome?There are various signs and symptoms of Turner syndrome, which can range from very mild to more severe.Short stature is the most common feature and usually becomes apparent by age 5.In early childhood, frequent middle ear infections are common and can lead to hearing loss in some cases.Most affected girls do not produce the necessary sex hormones for puberty, so they don't have a pubertal growth spurt, start their periods or develop breasts without hormone treatment.While most affected women are infertile, pregnancy is possible with egg donation and assisted reproductive technology.Intelligence is usually normal, but developmental delay, learning disabilities, and/or behavioral problems are sometimes present.",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.7383, 0.4883],# [0.7383, 1.0000, 0.5508],# [0.4883, 0.5508, 1.0000]], dtype=torch.bfloat16)
Training Details
Training Dataset
Unnamed Dataset
Size: 21,344 training samples
Columns:
sentence_0
,
sentence_1
, and
sentence_2
Approximate statistics based on the first 1000 samples:
sentence_0
sentence_1
sentence_2
type
string
string
string
details
min: 6 tokens
mean: 13.33 tokens
max: 27 tokens
min: 12 tokens
mean: 148.31 tokens
max: 439 tokens
min: 9 tokens
mean: 141.22 tokens
max: 523 tokens
Samples:
sentence_0
sentence_1
sentence_2
What is the outlook for Coffin Lowry Syndrome ?
The prognosis for individuals with Coffin-Lowry syndrome varies depending on the severity of symptoms. Early intervention may improve the outlook for patients. Life span is reduced in some individuals with Coffin-Lowry syndrome.
How might Coffin-Siris syndrome be treated? People with Coffin-Siris syndrome may benefit from occupational, physical, and speech therapy. Developmental pediatricians may be helpful in recommending and coordinating therapeutic and educational interventions. Additional specialty care may be needed depending on the symptoms in the individual, such as by gastrointestinal, eye, kidney, heart, and hearing specialists.
What is (are) Sarcoidosis ?
Sarcoidosis is an inflammatory disease characterized by the development and growth of tiny lumps of cells called granulomas. If these tiny granulomas grow and clump together in an organ, they can affect how the organ works, leading to the symptoms of sarcoidosis. The granulomas can be found in almost any part of the body, but occur more commonly in the lungs, lymph nodes, eyes, skin, and liver. Although no one is sure what causes sarcoidosis, it is thought by most scientists to be a disorder of the immune system. The course of the disease varies from person to person. It often goes away on its own, but in some people symptoms of sarcoidosis may last a lifetime. For those who need treatment, anti-inflammatory medications and immunosuppressants can help.
Sarcoidosis is a disease that leads to inflammation, usually in your lungs, skin, or lymph nodes. It starts as tiny, grain-like lumps, called granulomas. Sarcoidosis can affect any organ in your body. No one is sure what causes sarcoidosis. It affects men and women of all ages and races. It occurs mostly in people ages 20 to 50, African Americans, especially women, and people of Northern European origin. Many people have no symptoms. If you have symptoms, they may include - Cough - Shortness of breath - Weight loss - Night sweats - Fatigue Tests to diagnose sarcoidosis include chest x-rays, lung function tests, and a biopsy. Not everyone who has the disease needs treatment. If you do, prednisone, a type of steroid, is the main treatment. NIH: National Heart, Lung, and Blood Institute
What are the symptoms of High Blood Pressure ?
Because diagnosis is based on blood pressure readings, this condition can go undetected for years, as symptoms do not usually appear until the body is damaged from chronic high blood pressure.
Complications of High Blood Pressure
When blood pressure stays high over time, it can damage the body and cause complications.Some common complications and their signs and symptoms include:
Aneurysms:When an abnormal bulge forms in the wall of an artery.Aneurysms develop and grow for years without causing signs or symptoms until they rupture, grow large enough to press on nearby body parts, or block blood flow.The signs and symptoms that develop depend on the location of the aneurysm.
Chronic Kidney Disease: When blood vessels narrow in the kidneys, possibly causing kidney failure.
Cognitive Changes: Research shows that over time, higher blood pressure numbers can lead to cognitive changes.
High blood pressure is a common disease in which blood flows through blood vessels (arteries) at higher than normal pressures. There are two main types of high blood pressure: primary and secondary high blood pressure. Primary, or essential, high blood pressure is the most common type of high blood pressure. This type of high blood pressure tends to develop over years as a person ages. Secondary high blood pressure is caused by another medical condition or use of certain medicines. This type usually resolves after the cause is treated or removed.
@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",
}
TripletLoss
@misc{hermans2017defense,
title={In Defense of the Triplet Loss for Person Re-Identification},
author={Alexander Hermans and Lucas Beyer and Bastian Leibe},
year={2017},
eprint={1703.07737},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
Runs of llm-semantic-router mmbert-embed-medical on huggingface.co
9
Total runs
0
24-hour runs
2
3-day runs
2
7-day runs
5
30-day runs
More Information About mmbert-embed-medical huggingface.co Model
mmbert-embed-medical huggingface.co
mmbert-embed-medical huggingface.co is an AI model on huggingface.co that provides mmbert-embed-medical's model effect (), which can be used instantly with this llm-semantic-router mmbert-embed-medical model. huggingface.co supports a free trial of the mmbert-embed-medical model, and also provides paid use of the mmbert-embed-medical. Support call mmbert-embed-medical model through api, including Node.js, Python, http.
mmbert-embed-medical huggingface.co is an online trial and call api platform, which integrates mmbert-embed-medical's modeling effects, including api services, and provides a free online trial of mmbert-embed-medical, you can try mmbert-embed-medical online for free by clicking the link below.
llm-semantic-router mmbert-embed-medical online free url in huggingface.co:
mmbert-embed-medical is an open source model from GitHub that offers a free installation service, and any user can find mmbert-embed-medical on GitHub to install. At the same time, huggingface.co provides the effect of mmbert-embed-medical install, users can directly use mmbert-embed-medical installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mmbert-embed-medical install url in huggingface.co: