SentenceTransformer based on google/embeddinggemma-300m
This is a
sentence-transformers
model finetuned from
google/embeddinggemma-300m
. 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("yasserrmd/endocrinology-gemma-300m-emb")
# Run inference
queries = [
"How does in utero exposure to excess anti-M\u00fcllerian hormone (AMH) affect the GnRH neuronal morphology and electrical activity in offspring?\n",
]
documents = [
'In utero exposure to excess AMH leads to protracted changes in GnRH neuronal morphology and electrical activity in offspring. PAMH female mice exhibit increased spine density on the soma and along the primary dendrite of GnRH neurons compared to controls during diestrus. This increased spine density is accompanied by a significant increase in the number of vesicular GABA transporter (vGaT) appositions onto GnRH cells. While there are no significant differences in the number of vesicular glutamate transporter 2 (vGluT2) appositions, it is important to note that GABA, although primarily recognized as an inhibitory neurotransmitter in the adult brain, is excitatory in adult GnRH neurons. This elevated hypothalamic excitatory apposition onto GnRH neurons in PAMH animals translates into increased neuronal activity.',
'Prophylactic thyroidectomy is recommended as early as the age of five years in confirmed RET mutation carriers in MEN2A or FMTC families with normal (stimulated) plasma calcitonin levels. However, some clinicians may prefer to wait until the pentagastrin test results are abnormal before performing thyroidectomy. This is because the test for calcitonin levels may give false negative results, and medullary thyroid carcinoma has been encountered in children with normal calcitonin levels who underwent thyroidectomy after DNA diagnosis.',
'The most common co-morbidities reported by patients with GHD are hypertension, arthritis, and diabetes mellitus. Additionally, 26% of patients had a history of fractures.',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 768] [3, 768]# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.7737, 0.0678, 0.0061]])
Training Details
Training Dataset
Unnamed Dataset
Size: 20,000 training samples
Columns:
sentence_0
and
sentence_1
Approximate statistics based on the first 1000 samples:
sentence_0
sentence_1
type
string
string
details
min: 9 tokens
mean: 21.14 tokens
max: 54 tokens
min: 15 tokens
mean: 90.48 tokens
max: 223 tokens
Samples:
sentence_0
sentence_1
What factors contribute to the development of hypoglycemia unawareness in individuals with diabetes?
Hypoglycemia unawareness, also known as HAAF (hypoglycemia-associated autonomic failure), is a known complication of insulin therapy for type 1 and type 2 diabetes. Even a single episode of antecedent hypoglycemia can alter the neuroendocrine response during subsequent hypoglycemia. While the exact mechanism of HAAF is not fully understood, improved brain glucose transport is considered a major factor. In individuals with HAAF, brain glucose concentration is higher compared to controls. Chronic and recurrent hypoglycemia can enhance blood-brain glucose transport capacity, and increased expression of glucose transporters at the blood-brain barrier has been observed in animal models. HAAF is characterized by a lack of suppression of endogenous insulin secretion and failure of glucagon and catecholamine secretion during hypoglycemia. Decreased cortisol secretion is commonly present, but adrenal medullary effects predominate. Increased CRH secretion, acting via CRH receptor 1, may be invol...
How was the baby boy with the TRβ R243W mutation diagnosed with resistance to thyroid hormone (RTH) instead of neonatal Graves' disease (GD)?
The baby boy was initially suspected of having neonatal GD due to his mother's condition. However, laboratory tests showed that his thyroid-stimulating hormone (TSH) levels were not suppressed, and he had high levels of free T4 (FT4) and free T3 (FT3) with no antibodies related to GD. Based on these findings, he was diagnosed with RTH instead of GD.
What are the risk factors for developing diabetic muscle infarction (DMI)?
The risk factors for developing diabetic muscle infarction (DMI) include poorly controlled diabetes mellitus, particularly type 1 diabetes, and the presence of late complications such as nephropathy, retinopathy, and neuropathy. Other factors that may contribute to the development of DMI include hyperglycemia and long-standing diabetes.
@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",
}
MultipleNegativesRankingLoss
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Runs of yasserrmd endocrinology-gemma-300m-emb on huggingface.co
26
Total runs
2
24-hour runs
2
3-day runs
-2
7-day runs
-19
30-day runs
More Information About endocrinology-gemma-300m-emb huggingface.co Model
endocrinology-gemma-300m-emb huggingface.co
endocrinology-gemma-300m-emb huggingface.co is an AI model on huggingface.co that provides endocrinology-gemma-300m-emb's model effect (), which can be used instantly with this yasserrmd endocrinology-gemma-300m-emb model. huggingface.co supports a free trial of the endocrinology-gemma-300m-emb model, and also provides paid use of the endocrinology-gemma-300m-emb. Support call endocrinology-gemma-300m-emb model through api, including Node.js, Python, http.
endocrinology-gemma-300m-emb huggingface.co is an online trial and call api platform, which integrates endocrinology-gemma-300m-emb's modeling effects, including api services, and provides a free online trial of endocrinology-gemma-300m-emb, you can try endocrinology-gemma-300m-emb online for free by clicking the link below.
yasserrmd endocrinology-gemma-300m-emb online free url in huggingface.co:
endocrinology-gemma-300m-emb is an open source model from GitHub that offers a free installation service, and any user can find endocrinology-gemma-300m-emb on GitHub to install. At the same time, huggingface.co provides the effect of endocrinology-gemma-300m-emb install, users can directly use endocrinology-gemma-300m-emb installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
endocrinology-gemma-300m-emb install url in huggingface.co: