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

epaulson2
/
medical-gte-base-eldercare

Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
dense
Generated from Trainer
dataset_size:138875
loss:MatryoshkaLoss
loss:CachedGISTEmbedLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use epaulson2/medical-gte-base-eldercare with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use epaulson2/medical-gte-base-eldercare with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("epaulson2/medical-gte-base-eldercare")
    
    sentences = [
        "Represent this sentence for searching relevant passages: What is HERS Miconazole 3 used for?",
        "Indications For the temporary relief of skin irritations Directions Adults: Take five granules three times daily or as recommended by your healthcare practitioner. Children: Take three granules and follow adult directions.",
        "Warnings Do not use on children under 2 years of age unless directed by a doctor. For external use only avoid contact with eyes. Irritation occurs or if there is no improvement within 4 weeks (for athlete's foot and ringworm)irritation occurs or if there is no improvement within 2 weeks (for jock itch).",
        "Uses • treats vaginal yeast infections"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
medical-gte-base-eldercare
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
epaulson2's picture
epaulson2
Upload folder using huggingface_hub
b98c79a verified 4 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    31.6 kB
    Upload folder using huggingface_hub 4 months ago
  • config.json
    823 Bytes
    Upload folder using huggingface_hub 5 months ago
  • config_sentence_transformers.json
    282 Bytes
    Upload folder using huggingface_hub 5 months ago
  • model.safetensors
    438 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 5 months ago
  • sentence_bert_config.json
    56 Bytes
    Upload folder using huggingface_hub 5 months ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 5 months ago
  • tokenizer_config.json
    414 Bytes
    Upload folder using huggingface_hub 5 months ago