Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

richardyoung
/
CardioEmbed

Sentence Similarity
PEFT
Safetensors
sentence-transformers
English
medical
cardiology
embeddings
domain-adaptation
lora
Model card Files Files and versions
xet
Community

Instructions to use richardyoung/CardioEmbed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use richardyoung/CardioEmbed with PEFT:

    Task type is invalid.
  • sentence-transformers

    How to use richardyoung/CardioEmbed with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("richardyoung/CardioEmbed")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
CardioEmbed
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
richardyoung's picture
richardyoung
Upload README.md with huggingface_hub
57020f5 verified 6 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 6 months ago
  • README.md
    10.7 kB
    Upload README.md with huggingface_hub 6 months ago
  • adapter_config.json
    894 Bytes
    Upload folder using huggingface_hub 6 months ago
  • adapter_model.safetensors
    123 MB
    xet
    Upload folder using huggingface_hub 6 months ago
  • added_tokens.json
    605 Bytes
    Upload folder using huggingface_hub 6 months ago
  • chat_template.jinja
    2.43 kB
    Upload folder using huggingface_hub 6 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 6 months ago
  • results.json
    590 Bytes
    Upload folder using huggingface_hub 6 months ago
  • special_tokens_map.json
    613 Bytes
    Upload folder using huggingface_hub 6 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 6 months ago
  • tokenizer_config.json
    4.69 kB
    Upload folder using huggingface_hub 6 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 6 months ago