Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:132037
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Phora68/rapha-embed-clinical-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Phora68/rapha-embed-clinical-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Phora68/rapha-embed-clinical-v1") sentences = [ "back pain. I'm not sure what to make of it.", "Observed: back pain — musculoskeletal system", "Patient is frustrated with the medical system", "OPQRST — Severity: fever rated 7/10 by patient" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download 1_Pooling/config.json from Phora68/rapha-embed-clinical-v1: direct link, hf CLI and curl.
- Browser
- Download file 89 Bytes
-
https://huggingface.co/Phora68/rapha-embed-clinical-v1/resolve/main/1_Pooling/config.json
- Command line
-
hf download hf://Phora68/rapha-embed-clinical-v1/1_Pooling/config.json
-
curl -L -o config.json https://huggingface.co/Phora68/rapha-embed-clinical-v1/resolve/main/1_Pooling/config.json
89 Bytes
| { | |
| "embedding_dimension": 384, | |
| "pooling_mode": "cls", | |
| "include_prompt": true | |
| } |