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
Upload atc_embedding.csv
Browse files- .gitattributes +1 -0
- atc_embedding.csv +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
icd_embedding.csv filter=lfs diff=lfs merge=lfs -text
|
| 37 |
icd9_nodes_emb.csv filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
icd_embedding.csv filter=lfs diff=lfs merge=lfs -text
|
| 37 |
icd9_nodes_emb.csv filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
atc_embedding.csv filter=lfs diff=lfs merge=lfs -text
|
atc_embedding.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74ca4abc626a63b61dca3996209b349c4391d2fa1ef6f297c42d0c6363822f90
|
| 3 |
+
size 58456888
|