Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

erichuber
/
finetuned-medical-model

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:2000
loss:CosineSimilarityLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
finetuned-medical-model
91.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
erichuber's picture
erichuber
Fine-tuned medical model for semantic search
41344c1 verified about 1 year ago
  • 1_Pooling
    Fine-tuned medical model for semantic search about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    33.3 kB
    Fine-tuned medical model for semantic search about 1 year ago
  • config.json
    642 Bytes
    Fine-tuned medical model for semantic search about 1 year ago
  • config_sentence_transformers.json
    212 Bytes
    Fine-tuned medical model for semantic search about 1 year ago
  • model.safetensors
    90.9 MB
    xet
    Fine-tuned medical model for semantic search about 1 year ago
  • modules.json
    368 Bytes
    Fine-tuned medical model for semantic search about 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Fine-tuned medical model for semantic search about 1 year ago
  • special_tokens_map.json
    732 Bytes
    Fine-tuned medical model for semantic search about 1 year ago
  • tokenizer.json
    712 kB
    Fine-tuned medical model for semantic search about 1 year ago
  • tokenizer_config.json
    1.53 kB
    Fine-tuned medical model for semantic search about 1 year ago
  • vocab.txt
    232 kB
    Fine-tuned medical model for semantic search about 1 year ago