Sentence Similarity
sentence-transformers
Safetensors
t5
feature-extraction
Generated from Trainer
dataset_size:7106
loss:MultipleNegativesRankingLoss
Instructions to use KasuleTrevor/Sentence-t5-large-QQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use KasuleTrevor/Sentence-t5-large-QQ with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KasuleTrevor/Sentence-t5-large-QQ") sentences = [ "why should a farmer castrate his/her animals", "In what situations should farmers consider castrating their animals?", "How can I prevent annual parasite attacks on my chickens?", "In what ways can a farmer ascertain the viability of coffee berries?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K