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