Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:828486
loss:SymmetricLoss
text-embeddings-inference
Instructions to use WeihaoLi/full_icd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use WeihaoLi/full_icd with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("WeihaoLi/full_icd") sentences = [ "Infectious and parasitic diseases → Viral infection", "Diseases of the blood and blood-forming organs", "Infectious and parasitic diseases", "Diseases of the nervous system and sense organs → Central nervous system infection" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download train_triplets.csv from WeihaoLi/full_icd: direct link, hf CLI and curl.
- Browser
- Download file 539 MB
-
https://huggingface.co/WeihaoLi/full_icd/resolve/main/train_triplets.csv
- Command line
-
hf download hf://WeihaoLi/full_icd/train_triplets.csv
-
curl -L -o train_triplets.csv https://huggingface.co/WeihaoLi/full_icd/resolve/main/train_triplets.csv
539 MB
- Xet hash:
- 16813c2cc28aafbae657b6acd2b21d328f37abdfaa2b519e689c2ac806387130
- Size of remote file:
- 539 MB
- SHA256:
- 42cfcc6a3eecec1c3c67c884ae04c2d21e2ebf48f8217381ddb1579b6b3f2e98
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.