Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:148295
loss:SymmetricLoss
text-embeddings-inference
Instructions to use WeihaoLi/icd9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use WeihaoLi/icd9 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("WeihaoLi/icd9") sentences = [ "Complications of pregnancy; childbirth; and the puerperium → Complications during labor → Forceps delivery", "Complications of pregnancy; childbirth; and the puerperium → Complications during labor", "Complications of pregnancy; childbirth; and the puerperium → Other complications of birth; puerperium affecting management of mother", "Complications of pregnancy; childbirth; and the puerperium → Normal pregnancy and/or delivery → Other pregnancy and delivery including normal" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download atc_embedding.csv from WeihaoLi/icd9: direct link, hf CLI and curl.
- Browser
- Download file 58.5 MB
-
https://huggingface.co/WeihaoLi/icd9/resolve/main/atc_embedding.csv
- Command line
-
hf download hf://WeihaoLi/icd9/atc_embedding.csv
-
curl -L -o atc_embedding.csv https://huggingface.co/WeihaoLi/icd9/resolve/main/atc_embedding.csv
58.5 MB
- Xet hash:
- 65b299fbbc35dbf8d731fc835041f1ab6ae565001db8e66509d3b2ee4202ac3e
- Size of remote file:
- 58.5 MB
- SHA256:
- 74ca4abc626a63b61dca3996209b349c4391d2fa1ef6f297c42d0c6363822f90
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.