Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:2000
loss:CosineSimilarityLoss
text-embeddings-inference
Instructions to use erichuber/finetuned-medical-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use erichuber/finetuned-medical-model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("erichuber/finetuned-medical-model") sentences = [ "What is (are) Spondylocostal dysostosis 1 ?", "How is Brody disease diagnosed? Brody disease is suspected in people with the characteristic symptoms of this disorder (e.g., peudomyotonia, myoglobinuria etc...). In addition, people with this disease may have normal or slightly elevated creatine kinase levels. Click here to learn more about creatine kinase testing. A careful evaluation of muscle tissue samples obtained from muscle biopsy shows type 2 A and B atrophy with angulated fibers. Also, biochemical and immunological testing of the activity of certain proteins in the cell (i.e., sarcoplasmic reticulum Ca ATPase) can also help confirm the diagnosis.", "Research supported by the NINDS includes studies to understand how the brain and nervous system normally develop. These studies contribute to a greater understanding of neural tube disorders, such as anencephaly, and open promising new avenues to treat and prevent neurological birth defects.", "Spondylocostal dysostosis is a group of conditions characterized by abnormal development of the bones in the spine and ribs. In the spine, the vertebrae are misshapen and fused. Many people with this condition have an abnormal side-to-side curvature of the spine (scoliosis). The ribs may be fused together or missing. These bone malformations lead to short, rigid necks and short midsections. Infants with spondylocostal dysostosis have small, narrow chests that cannot fully expand. This can lead to life-threatening breathing problems. Males with this condition are at an increased risk for inguinal hernia, where the diaphragm is pushed down, causing the abdomen to bulge out. There are several types of spondylocostal dysostosis. These types have similar features and are distinguished by their genetic cause and how they are inherited. Spondylocostal dysostosis 1 is caused by mutations in the DLL3 gene. It is inherited in an autosomal recessive manner. Treatment is symptomatic and supportive and may include respiratory support and surgery to correct inguinal hernia and scoliosis." ] 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!