Sentence Similarity
PEFT
Safetensors
sentence-transformers
English
medical
cardiology
embeddings
domain-adaptation
lora
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:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("Qwen/Qwen3-Embedding-8B") model = PeftModel.from_pretrained(base_model, "richardyoung/CardioEmbed") - 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
Commit History
-
Upload README.md with huggingface_hub
Verified signature57020f5 -
Upload README.md with huggingface_hub
Verified signature7b4dd3b -
Upload README.md with huggingface_hub
Verified signature1c0f4fd -
Upload README.md with huggingface_hub
Verified signatureb28e115 -
Upload README.md with huggingface_hub
Verified signaturef251b4d -
Upload folder using huggingface_hub
Verified signaturefabf094 -
initial commit
Verified signature2aecdfc