Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:4096000
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use seanfarrell/icd11_ner_model_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use seanfarrell/icd11_ner_model_small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("seanfarrell/icd11_ner_model_small") sentences = [ "vascular disorders of the stomach", "vascular disorders of the stomach, unspecified", "ringworm of the hand", "anogenital herpes" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download 1_Pooling/config.json from seanfarrell/icd11_ner_model_small: direct link, hf CLI and curl.
- Browser
- Download file 89 Bytes
-
https://huggingface.co/seanfarrell/icd11_ner_model_small/resolve/main/1_Pooling/config.json
- Command line
-
hf download hf://seanfarrell/icd11_ner_model_small/1_Pooling/config.json
-
curl -L -o config.json https://huggingface.co/seanfarrell/icd11_ner_model_small/resolve/main/1_Pooling/config.json
89 Bytes
| { | |
| "embedding_dimension": 384, | |
| "pooling_mode": "cls", | |
| "include_prompt": true | |
| } |