Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:223
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use dhruvsangani/semantic-search with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dhruvsangani/semantic-search with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dhruvsangani/semantic-search") sentences = [ "What is AI?", "Mobile Phones have become an integral part of a person's life. He spends 80% of his mobile surfing time on Apps. Hence, with Enterprise Mobility, you can connect with your customers better, engage them, and build loyalty with them.", "AI is that part of Computer Science which replicates the human intelligence and automates this behavior. By making use of artificial artifacts simulations, AI executes its software programs on a computer.", "1) Security Training 2) Data Privacy 3) Infrastructure 4) Security Audits" ] 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!