Instructions to use adit94/sentenceTest1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use adit94/sentenceTest1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("adit94/sentenceTest1") 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
File size: 134 Bytes
572dafe | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a582d24a370e2e21bde93e4655b6b5a8ef98a730c687a1e2559c8432e0693b09
size 437998385
|