Instructions to use sentence-transformers/sentence-t5-xxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sentence-transformers/sentence-t5-xxl with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/sentence-t5-xxl") 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
Added License file based on the Apache 2.0 tag
#6 opened about 2 years ago
by
iamankit
Text length limitation?
#2 opened almost 3 years ago
by
dimroc
Why VRAM need almost 20GB while model files is only 10GB
#1 opened about 3 years ago
by
Shishuai