Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:8386
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use dalek-ai/minilm-next-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dalek-ai/minilm-next-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dalek-ai/minilm-next-v1") sentences = [ "You are Aarav Lee. You want to change the luggage set in your order for a coat. You live in Phoenix, AZ 85025. Your goal is to change the order. If there is no way to do that, return the item specifically. If there are any issues, cancel the entire order.", "Retrieve information about executive policies", "Retrieves detailed information about a specific order by its ID in the Order Management System.", "Order supplies for a DIY craft party." ] 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!