Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:8
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use jesse-adanac/sykes-embedder2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use jesse-adanac/sykes-embedder2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("jesse-adanac/sykes-embedder2") sentences = [ "\"One-bedroom pet-free holiday cottage with sea view near RSPB Titchwell Marsh reserve\"", "May Cottage + In Focus is a luxury coastal cottage rental located in the village of Titchwell. It offers stunning views of the coastline and rolling fields, an upside-down living design with luxurious bedrooms on the ground floor, and a well-appointed kitchen and dining area on the first floor. The property features a private hot tub area accessible from the second bedroom, perfect for enjoying sunsets after a day on the coast. The cottage combines bespoke furnishing with superb facilities, ensuring an excellent, boutique hotel-style experience.", "In Focus is a one-bedroom holiday cottage that fits your criteria. It is pet-free and offers glimpses of the sea from the courtyard garden. It is also conveniently located within a 10-minute walk of the RSPB Titchwell Marsh reserve.", "Seagate House is a luxury coastal holiday cottage in Brancaster that features a sauna and offers pet-friendly accommodations. It allows two dogs with a small additional fee." ] 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!