Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:115928
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Gswrtz/finetuned-cos-rag-embedder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Gswrtz/finetuned-cos-rag-embedder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Gswrtz/finetuned-cos-rag-embedder") sentences = [ "Most Common enzyme deficient in galactosemics: A. Galactose-1-phosphate uridyl transferase/GALT. B. Galactosidase. C. UDP galactose epimerase. D. Galactokinase.", "Solve the following expression and give your answer as a decimal. $ 50\\% \\times \\dfrac{2}{8} = {?} $\n\nHints:\nFirst get all of the numbers in decimal form. $ 50\\% = \\dfrac{50}{100} = 0.5 $ $ \\dfrac{2}{8} = 0.25$ Now we have: $ 0.5 \\times 0.25 = {?} $ $ 0.5 \\times 0.25 = 0.125 $", "**Galactose-1-phosphate uridylyltransferase**\n\nGalactose-1-phosphate uridylyltransferase:\nGalactose-1-phosphate uridylyltransferase (or GALT, G1PUT) is an enzyme (EC 2.7.7.12) responsible for converting ingested galactose to glucose.Galactose-1-phosphate uridylyltransferase (GALT) catalyzes the second step of the Leloir pathway of galactose metabolism, namely: UDP-glucose + galactose 1-phosphate ⇌ glucose 1-phosphate + UDP-galactoseThe expression of GALT is controlled by the actions of the FOXO3 gene. The absence of this enzyme results in classic galactosemia in humans and can be fatal in the newborn period if lactose is not removed from the diet. The pathophysiology of galactosemia has not been clearly defined.", "**Galactose 1-phosphate**\n\nGalactose 1-phosphate:\nD-Galactose-1-phosphate is an intermediate in the intraconversion of glucose and uridine diphosphate galactose. It is formed from galactose by galactokinase.The improper metabolism of galactose-1-phosphate is a characteristic of galactosemia. The Leloir pathway is responsible for such metabolism of galactose and its intermediate, galactose-1-phosphate. Deficiency of enzymes found in this pathway can result in galactosemia; therefore, diagnosis of this genetic disorder occasionally involves measuring the concentration of these enzymes. One of such enzymes is galactose-1-phosphate uridylytransferase (GALT). The enzyme catalyzes the transfer of a UDP-activator group from UDP-glucose to galactose-1-phosphate. Although the cause of enzyme deficiency in the Leloir pathway is still disputed amongst researchers, some studies suggest that protein misfolding of GALT, which may lead to an unfavorable conformational change that impacts its thermal stability and substrate-binding affinity, may play a role in the deficiency of GALT in Type 1 galactosemia. Increase in galactitol concentration can be seen in patients with galactosemia; putting patients at higher risk for presenile cataract." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!