Instructions to use sentence-transformers/sentence-t5-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sentence-transformers/sentence-t5-xl with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/sentence-t5-xl") 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
- Xet hash:
- e62a43032662931dd640dbb8eccb429fd13265290f22791ca1f95993079a5417
- Size of remote file:
- 2.48 GB
- SHA256:
- 1d1e502ba3d976b224178d25937b348642553805af7bcef5fb910927922cc524
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.