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/nephrology-gemma-300m-emb")
# Run inference
queries = [
"How do some participants believe that reimbursement or compensation for living kidney donors can help minimize disadvantage?",
]
documents = [
'Some participants believe that reimbursement or compensation can effectively help donors and recipients who are socioeconomically disadvantaged by removing financial barriers to donation. They advocate for government subsidies or special paid leave to support potential donors who may not be able to take leave or afford donation-related expenses. The goal is to ensure that financial constraints do not penalize individuals who are willing to donate.',
'The time in therapeutic range (TTR) of INR (International Normalized Ratio) is an important factor in determining the risk of hemorrhagic and ischemic events in hemodialysis patients. If the INR is below 1.5, there is an increased risk of hemorrhagic events, while an INR above 5 increases the risk of ischemic events. Maintaining the INR within the therapeutic range is challenging but crucial in minimizing these risks.',
'Urinary L-PGDS excretions have been found to be superior to other markers, including urinary excretions of type-IV collagen, beta-2 microglobulin, and NAG, as well as serum creatinine levels, in predicting renal injury in type-2 diabetes. Studies have shown that urinary L-PGDS excretions better predict ≥30 mg/gCr albuminuria in type-2 diabetes. The use of urinary L-PGDS excretions as a marker for renal injury in type-2 diabetes is supported by its ability to reflect a slight change in glomerular permeability and its positive correlation with albuminuria.',
]
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.6341, 0.0019, 0.0465]])
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: 10 tokens
mean: 22.05 tokens
max: 56 tokens
min: 20 tokens
mean: 91.9 tokens
max: 281 tokens
Samples:
sentence_0
sentence_1
How do the CKD-EPI and Japanese equations compare to Ccr and CGF in estimating renal function in cancer patients?
The CKD-EPI and Japanese equations provide more accurate estimates of renal function compared to 24-hour Ccr and CGF in cancer patients before and after chemotherapy with cisplatin. These new equations have lower bias and higher precision values, indicating better estimation of glomerular filtration rate (GFR). The CKD-EPI and Japanese equations were developed as better estimates of GFR than Ccr and CGF, which were mostly developed in chronic kidney disease (CKD) patients without cancer. The accuracy of the CKD-EPI and Japanese equations in estimating GFR in cancer patients is consistent with previous studies. Therefore, it is recommended to replace Ccr and CGF with these new equations for the evaluation of renal function in cancer patients undergoing cisplatin-containing chemotherapy.
What are the clinical phenotypes of Bartter-like syndrome?
Bartter-like syndrome can be divided into at least three different clinical phenotypes: classic Bartter syndrome, Gitelman syndrome, and antenatal (neonatal) Bartter syndrome. Classic Bartter syndrome and Gitelman syndrome have renal tubular hypokalemic alkalosis, while antenatal Bartter syndrome also has profound systemic manifestations such as polyhydramnios, premature delivery, severe water and salt wasting, hypokalemic metabolic alkalosis, severe hypercalciuria, and marked growth retardation.
What is granulomatous interstitial nephritis (GIN), and how frequently does it occur in patients with sarcoidosis?
Granulomatous interstitial nephritis (GIN) is a form of renal inflammation characterized by the presence of granulomas in the interstitial tissue of the kidneys. In patients with sarcoidosis, GIN is reportedly present in approximately one-third of patients with clinical evidence of renal disease. Post-mortem series have shown that between 7 and 27% of all patients with sarcoidosis may have GIN. It is important to note that GIN can occur in sarcoidosis patients even in the absence of obvious clinical renal disease.
@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 nephrology-gemma-300m-emb on huggingface.co
68
Total runs
0
24-hour runs
0
3-day runs
18
7-day runs
19
30-day runs
More Information About nephrology-gemma-300m-emb huggingface.co Model
nephrology-gemma-300m-emb huggingface.co
nephrology-gemma-300m-emb huggingface.co is an AI model on huggingface.co that provides nephrology-gemma-300m-emb's model effect (), which can be used instantly with this yasserrmd nephrology-gemma-300m-emb model. huggingface.co supports a free trial of the nephrology-gemma-300m-emb model, and also provides paid use of the nephrology-gemma-300m-emb. Support call nephrology-gemma-300m-emb model through api, including Node.js, Python, http.
nephrology-gemma-300m-emb huggingface.co is an online trial and call api platform, which integrates nephrology-gemma-300m-emb's modeling effects, including api services, and provides a free online trial of nephrology-gemma-300m-emb, you can try nephrology-gemma-300m-emb online for free by clicking the link below.
yasserrmd nephrology-gemma-300m-emb online free url in huggingface.co:
nephrology-gemma-300m-emb is an open source model from GitHub that offers a free installation service, and any user can find nephrology-gemma-300m-emb on GitHub to install. At the same time, huggingface.co provides the effect of nephrology-gemma-300m-emb install, users can directly use nephrology-gemma-300m-emb installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
nephrology-gemma-300m-emb install url in huggingface.co: