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
Add exported onnx model 'model.onnx'
#10 opened 12 months ago
by
Denon717
The example doesn't work at all.
#7 opened over 1 year ago
by
newjacob19
Training Datasets
#4 opened almost 3 years ago
by
ghbacct
help, how to converted from the Tensorflow model st5-base-1 to PyTorch
#3 opened over 3 years ago
by
earl
Add MTEB
👍 2
#2 opened over 3 years ago
by
Muennighoff