Instructions to use sentence-transformers/sentence-t5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sentence-transformers/sentence-t5-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/sentence-t5-base") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
rust_weights
#1
by guillaume-be - opened
No description provided.
@nreimers For info this is part of a sample of models I'd like to include in integration tests at https://github.com/guillaume-be/rust-bert/pull/250
@nreimers please let me know if any additional information would be needed for this change request
nreimers changed pull request status to merged