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

lsy9874205
/
heal-protocol-embeddings

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

Instructions to use lsy9874205/heal-protocol-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use lsy9874205/heal-protocol-embeddings with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("lsy9874205/heal-protocol-embeddings")
    
    sentences = [
        "**Intervention costs**, including:\n   - Medication costs\n   - Provider time\n   - Peer navigator time and expenses\n   - Program administration",
        "4.2 Inclusion Criteria\n\nPatients must meet all of the following inclusion criteria to be eligible for the study:",
        "**MOUD Type**:\n   - Methadone\n   - Buprenorphine\n   - Naltrexone",
        "Pregnancy (pregnant patients will be referred to specialized obstetric addiction services)"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
heal-protocol-embeddings
91.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
lsy9874205's picture
lsy9874205
Update README.md
07c9e13 verified over 1 year ago
  • 1_Pooling
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    21.7 kB
    Update README.md over 1 year ago
  • config.json
    678 Bytes
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • config_sentence_transformers.json
    199 Bytes
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • model.safetensors
    90.9 MB
    xet
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • modules.json
    349 Bytes
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • tokenizer.json
    712 kB
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • tokenizer_config.json
    1.46 kB
    Add fine-tuned HEAL protocol embeddings model over 1 year ago
  • vocab.txt
    232 kB
    Add fine-tuned HEAL protocol embeddings model over 1 year ago