Sentence Similarity
PEFT
Safetensors
sentence-transformers
English
medical
cardiology
embeddings
domain-adaptation
lora
Run this model with HF Jobs
Run richardyoung/CardioEmbed on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/richardyoung/CardioEmbed. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/richardyoung/CardioEmbed on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Upload README.md with huggingface_hub
Browse files46 unmodified lines47484950515212 unmodified lines656667686970227 unmodified lines29829930030130230330446 unmodified lines**CardioEmbed** is a domain-specialized embedding model fine-tuned on comprehensive cardiology textbooks for clinical applications. Built on [Qwen3-Embedding-8B](https://huggingface.co/Qwen/Qwen3-Embedding-8B) using LoRA adapters, this model achieves **state-of-the-art performance** on biomedical retrieval tasks while maintaining efficiency through 8-bit quantization.### Key Features- 🏥 **Medical Domain Expertise**: Trained on 106,432 cardiology-specific sentence pairs from authoritative textbooks12 unmodified lines*MRR@10 on biomedical retrieval tasks. See [paper](https://arxiv.org/abs/XXXX.XXXXX) for full results.*---## Quick Start227 unmodified lines**Built with ❤️ for advancing medical AI research***Research by [Richard J. Young](https://huggingface.co/richardyoung) & Alice M. Matthews | [DeepNeuro.AI](https://deepneuro.ai)*</div>46 unmodified lines474849505152535455565758596012 unmodified lines7374757677787980818283848586227 unmodified lines31431531631731831932032132246 unmodified lines**CardioEmbed** is a domain-specialized embedding model fine-tuned on comprehensive cardiology textbooks for clinical applications. Built on [Qwen3-Embedding-8B](https://huggingface.co/Qwen/Qwen3-Embedding-8B) using LoRA adapters, this model achieves **state-of-the-art performance** on biomedical retrieval tasks while maintaining efficiency through 8-bit quantization.### Why CardioEmbed?Cardiovascular disease remains the **leading cause of death globally**, accounting for approximately **18 million deaths annually** and representing nearly one-third of all mortality worldwide. In the United States alone, cardiovascular disease imposes an estimated annual economic burden exceeding **$400 billion** in direct medical costs and lost productivity.As machine learning systems increasingly support clinical decision-making in cardiology—from risk stratification and diagnostic assistance to treatment optimization—the quality of semantic text representations becomes critical. However, existing biomedical embedding models trained primarily on PubMed research literature may not fully capture the **procedural knowledge and specialized terminology** found in clinical cardiology textbooks that practitioners actually use.**CardioEmbed bridges this research-practice gap** by training on comprehensive cardiology textbooks, achieving near-perfect retrieval accuracy on cardiac-specific tasks while maintaining strong performance on general biomedical benchmarks.### Key Features- 🏥 **Medical Domain Expertise**: Trained on 106,432 cardiology-specific sentence pairs from authoritative textbooks12 unmodified lines*MRR@10 on biomedical retrieval tasks. See [paper](https://arxiv.org/abs/XXXX.XXXXX) for full results.*### Performance VisualizationCardioEmbed achieves **99.60% Acc@1** on cardiac-specific retrieval, outperforming MedTE (current SOTA medical embedding) by **+15.94 percentage points**:*Figure: Comparison of CardioEmbed against state-of-the-art medical and general-purpose embedding models on cardiology retrieval tasks.*---## Quick Start227 unmodified lines**Built with ❤️ for advancing medical AI research***By [Richard J. Young](https://deepneuro.ai) & Alice M. Matthews*[](https://deepneuro.ai)</div>
README.md+19-1