Sentence Similarity
sentence-transformers
PyTorch
mpnet
feature-extraction
text-embeddings-inference
Instructions to use Watwat100/gpu1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Watwat100/gpu1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Watwat100/gpu1") 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 model_head.pkl from Watwat100/gpu1: direct link, hf CLI and curl.
- Browser
- Download file 7.12 kB
-
https://huggingface.co/Watwat100/gpu1/resolve/main/model_head.pkl
- Command line
-
hf download hf://Watwat100/gpu1/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/Watwat100/gpu1/resolve/main/model_head.pkl
7.12 kB
- Xet hash:
- 27a451a281308b69391bdb3ff028ac1e74e79ff4ddd8392401908fcb57756ee4
- Size of remote file:
- 7.12 kB
- SHA256:
- 6f42f6de22ac60f0462392a62e17821a76725d024f1cf4b3f96869e56cd0996a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.