Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:828486
loss:SymmetricLoss
text-embeddings-inference
Run this model with HF Jobs
Run WeihaoLi/full_icd on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/WeihaoLi/full_icd. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/WeihaoLi/full_icd on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Upload 3 files
Browse filesFiles changed (4)
- .gitattributes+1
- pairs_test.csvAdded+3
- pairs_val.csv+2-2
- train_triplets.csv+2-2
34 unmodified lines35363734 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -textpairs_val.csv filter=lfs diff=lfs merge=lfs -texttrain_triplets.csv filter=lfs diff=lfs merge=lfs -text34 unmodified lines3536373834 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -textpairs_val.csv filter=lfs diff=lfs merge=lfs -texttrain_triplets.csv filter=lfs diff=lfs merge=lfs -textpairs_test.csv filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:553234d6989e967525b76c8fc32c786ab7ab1b1d857cf304aececd8805079c01size 17911600123version https://git-lfs.github.com/spec/v1oid sha256:401d5b5e2ee71bed12f0abe4390d1c48dddecdba91d8895d5c2f5076d5440e46size 224035262123version https://git-lfs.github.com/spec/v1oid sha256:45e7d10278da29b4885959faef0d6f75101f8e10dabf2c3978d35e65335f7a2asize 6442246
123version https://git-lfs.github.com/spec/v1oid sha256:e2834070ec22b7a5585e72d5148a31dba6c85251fa2f96f7fa1732533b09627esize 433959349123version https://git-lfs.github.com/spec/v1oid sha256:05569275235baed8027d2cc5eb81b6de7b1b90dadc2ecede1591a93d45441847size 434045933
.gitattributes+1
pairs_test.csvAdded+3
pairs_val.csv+2-2
train_triplets.csv+2-2