Sentence Similarity
sentence-transformers
PyTorch
distilbert
feature-extraction
text-embeddings-inference
Instructions to use sembeddings/model_gpt_trained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sembeddings/model_gpt_trained with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sembeddings/model_gpt_trained") 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] - Notebooks
- Google Colab
- Kaggle
Download 2_Dense/pytorch_model.bin from sembeddings/model_gpt_trained: direct link, hf CLI and curl.
- Browser
- Download file 2.36 MB
-
https://huggingface.co/sembeddings/model_gpt_trained/resolve/main/2_Dense/pytorch_model.bin
- Command line
-
hf download hf://sembeddings/model_gpt_trained/2_Dense/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/sembeddings/model_gpt_trained/resolve/main/2_Dense/pytorch_model.bin
2.36 MB
- Xet hash:
- 3a11ad581ceebc014ecb83123f5b3cc750f14ed85544572c9d366aafcb5c3dcd
- Size of remote file:
- 2.36 MB
- SHA256:
- 9ecd51a979f14dfa251b2dd6e565da36512befb6d8bdbfc9777e44a9e00f361e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.