Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:3362
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Marco127/Base_Test1_ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Marco127/Base_Test1_ with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Marco127/Base_Test1_") sentences = [ "\nGuests are responsible for damages caused to hotel property according to the valid legal\nprescriptions of Hungary.", "\nGuests are responsible for damages caused to hotel property according to the valid legal\nprescriptions of Hungary.", "\nWe request that guests report any complaints and defects to the hotel reception or hotel\nmanagement in person. Your complaints shall be attended to immediately.", "\nWe do not guarantee that any special requests will be met, but we will use our best endeavours to do so as\nwell as using our best endeavours to advise you if that is not the case." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K