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
Model card: fill in the arXiv number (2511.10930)
Browse files21 unmodified lines2223242526272842 unmodified lines71727374757677142 unmodified lines22022122222322422522645 unmodified lines27227327427527627727827928020 unmodified lines30130230330430530630721 unmodified lines<div align="center">[](https://arxiv.org/abs/XXXX.XXXXX)[](https://github.com/ricyoung/CardioEmbed)[](https://opensource.org/licenses/Apache-2.0)[](https://deepneuro.ai)42 unmodified lines| **NFCorpus** | 38.7% | 34.2% | +4.5% || **Avg MRR** | 66.8% | 61.7% | **+5.1%** |*MRR@10 on biomedical retrieval tasks. See [paper](https://arxiv.org/abs/XXXX.XXXXX) for full results.*### Performance Visualization142 unmodified lines- **General biomedical queries**: 61.7% (+5.1% over base model)- **Zero-shot transfer**: Strong performance on unseen medical domainsSee the [full paper](https://arxiv.org/abs/XXXX.XXXXX) for comprehensive evaluation results.---45 unmodified lines@article{young2025cardioembed,title={CardioEmbed: Domain-Specialized Text Embeddings for Clinical Cardiology},author={Young, Richard J. and Matthews, Alice M.},journal={arXiv preprint arXiv:XXXX.XXXXX},year={2025},url={https://arxiv.org/abs/XXXX.XXXXX}}```20 unmodified lines## Contact & Resources- π **Paper**: [arXiv:XXXX.XXXXX](https://arxiv.org/abs/XXXX.XXXXX)- π» **Code**: [github.com/ricyoung/CardioEmbed](https://github.com/ricyoung/CardioEmbed)- π€ **Model**: [huggingface.co/richardyoung/CardioEmbed](https://huggingface.co/richardyoung/CardioEmbed)- π **Website**: [DeepNeuro.AI](https://deepneuro.ai)21 unmodified lines2223242526272842 unmodified lines71727374757677142 unmodified lines22022122222322422522645 unmodified lines27227327427527627727827928020 unmodified lines30130230330430530630721 unmodified lines<div align="center">[](https://arxiv.org/abs/2511.10930)[](https://github.com/ricyoung/CardioEmbed)[](https://opensource.org/licenses/Apache-2.0)[](https://deepneuro.ai)42 unmodified lines| **NFCorpus** | 38.7% | 34.2% | +4.5% || **Avg MRR** | 66.8% | 61.7% | **+5.1%** |*MRR@10 on biomedical retrieval tasks. See [paper](https://arxiv.org/abs/2511.10930) for full results.*### Performance Visualization142 unmodified lines- **General biomedical queries**: 61.7% (+5.1% over base model)- **Zero-shot transfer**: Strong performance on unseen medical domainsSee the [full paper](https://arxiv.org/abs/2511.10930) for comprehensive evaluation results.---45 unmodified lines@article{young2025cardioembed,title={CardioEmbed: Domain-Specialized Text Embeddings for Clinical Cardiology},author={Young, Richard J. and Matthews, Alice M.},journal={arXiv preprint arXiv:2511.10930},year={2025},url={https://arxiv.org/abs/2511.10930}}```20 unmodified lines## Contact & Resources- π **Paper**: [arXiv:2511.10930](https://arxiv.org/abs/2511.10930)- π» **Code**: [github.com/ricyoung/CardioEmbed](https://github.com/ricyoung/CardioEmbed)- π€ **Model**: [huggingface.co/richardyoung/CardioEmbed](https://huggingface.co/richardyoung/CardioEmbed)- π **Website**: [DeepNeuro.AI](https://deepneuro.ai)
README.md+6-6