Medical & Healthcare AI
Collection
Models and datasets for medical AI research. Includes CardioEmbed embeddings for cardiology, medical LLMs, and synthetic patient datasets. • 9 items • Updated
Run richardyoung/CardioEmbed-Qwen3-8B 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:
Use HF Jobs to fine-tune https://huggingface.co/richardyoung/CardioEmbed-Qwen3-8B. 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.
Use HF Jobs to run batch inference with https://huggingface.co/richardyoung/CardioEmbed-Qwen3-8B 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.
How to use richardyoung/CardioEmbed-Qwen3-8B 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-Qwen3-8B")A LoRA fine-tuned version of Qwen/Qwen3-Embedding-8B optimized for cardiology and medical text embeddings.
This model is part of the CardioEmbed series, which includes embeddings models of various sizes optimized for cardiology text. Paper: CardioEmbed: Domain-Specialized Text Embeddings for Clinical Cardiology.
The series:
from peft import PeftModel
from transformers import AutoModel, AutoTokenizer
base_model = AutoModel.from_pretrained("Qwen/Qwen3-Embedding-8B")
model = PeftModel.from_pretrained(base_model, "richardyoung/CardioEmbed-Qwen3-8B")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-Embedding-8B")
text = "Patient presents with chest pain and shortness of breath"
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True)
outputs = model(**inputs)
embeddings = outputs.last_hidden_state.mean(dim=1)
Built & maintained by Richard Young · DeepNeuro