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
File size: 443 Bytes
4927cad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"backend": "tokenizers",
"clean_up_tokenization_spaces": true,
"cls_token": "[CLS]",
"do_basic_tokenize": true,
"do_lower_case": true,
"is_local": false,
"local_files_only": false,
"mask_token": "[MASK]",
"model_max_length": 128,
"never_split": null,
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"strip_accents": null,
"tokenize_chinese_chars": true,
"tokenizer_class": "BertTokenizer",
"unk_token": "[UNK]"
}
|