Sentence Similarity
sentence-transformers
PyTorch
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use LinYuting/sentence_transformer_128_dim_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use LinYuting/sentence_transformer_128_dim_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("LinYuting/sentence_transformer_128_dim_model") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use LinYuting/sentence_transformer_128_dim_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("LinYuting/sentence_transformer_128_dim_model") model = AutoModel.from_pretrained("LinYuting/sentence_transformer_128_dim_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload folder using huggingface_hub
314d5be -
Upload folder using huggingface_hub
90b13f1 -
Pushing icd 128 model
Model trained with icd10c953ca9 -
Pushing icd 128 model
Model trained with icd10f8c67e7 -
Pushing icd 128 model
Model trained with icd1051462df -
Pushing icd 128 model
Model trained with icd10761143c -
Pushing icd 128 model
Model trained with icd1051cde75 -
Pushing icd 128 model
Model trained with icd108de6401 -
Pushing icd 128 model
Model trained with icd108e5ed47 -
Pushing icd 128 model
Model trained with icd10112bd65 -
Pushing icd 128 model
Model trained with icd10dfc4724 -
Pushing icd 128 model
Model trained with icd10d29886b -
initial commit
5c84af8