Downloads · 30 days
27
46% of all-time downloads
richardyoung/CardioEmbed-Gemma-2-2B
CardioEmbed-Gemma-2-2B is a sentence similarity model from richardyoung. Use it when you need a score for how close two texts are. It is set up for peft. The card lists the license as apache-2.0.
Domain-specialized cardiology text embeddings using LoRA-adapted Gemma-2-2B
Downloads · 30 days
27
46% of all-time downloads
All-time downloads
59
Public
Repo size
59.9 MB
Likes
0
Public
Click a slice to open those files.
.json34.4 MB · 57%
From the Hugging Face model README
Domain-specialized cardiology text embeddings using LoRA-adapted Gemma-2-2B
Part of a comparative study of 10 embedding architectures for clinical cardiology.
| Metric | Score |
|---|---|
| Separation Score | 0.455 |
from transformers import AutoModel, AutoTokenizer
from peft import PeftModel
base_model = AutoModel.from_pretrained("google/gemma-2-2b-it")
tokenizer = AutoTokenizer.from_pretrained("google/gemma-2-2b-it")
model = PeftModel.from_pretrained(base_model, "richardyoung/CardioEmbed-Gemma-2-2B")
@article{young2024comparative,
title={Comparative Analysis of LoRA-Adapted Embedding Models for Clinical Cardiology Text Representation},
author={Young, Richard J and Matthews, Alice M},
journal={arXiv preprint},
year={2024}
}
Built & maintained by Richard Young · DeepNeuro