Downloads · 30 days
19
20% of all-time downloads
richardyoung/CardioEmbed-Qwen3-8B
CardioEmbed-Qwen3-8B is a feature extraction model from richardyoung. Use it when you need embeddings to search or compare text. It is set up for peft. The card lists the license as apache-2.0.
A LoRA fine-tuned version of Qwen/Qwen3-Embedding-8B optimized for cardiology and medical text embeddings.
Downloads · 30 days
19
20% of all-time downloads
All-time downloads
96
Public
Repo size
502 MB
Likes
0
Public
Click a slice to open those files.
.safetensors491 MB · 89%
From the Hugging Face model README
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:
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