Sentence Similarity
sentence-transformers
Safetensors
t5
feature-extraction
Generated from Trainer
dataset_size:2620
loss:MultipleNegativesRankingLoss
loss:CosineSimilarityLoss
custom_code
Eval Results (legacy)
Instructions to use 1shoomun/semant-cache-updated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use 1shoomun/semant-cache-updated with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("1shoomun/semant-cache-updated", trust_remote_code=True) sentences = [ "What sector am I most heavily invested in?", "Show me how to switch my stock portfolio to mutual funds\n", "What percentage of my portfolio is in X", "Which sector do I invest most in?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!