You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uber Book rides with ease for quick and reliable transportation.
Google Maps Navigate with real-time maps, directions, and traffic updates.
Spotify Stream millions of songs and create playlists for any mood or occasion.
Expedia Plan your trip with hotel bookings, flight reservations, and vacation packages.
source_sentence
sentences
Booking.com Find and book hotels, apartments, and vacation rentals with real-time availability.
Uber Book rides with ease for quick and reliable transportation.
Hotel.com Search and reserve hotels globally with competitive prices and user reviews.
Spotify Stream millions of songs and create playlists for any mood or occasion.
source_sentence
sentences
Uber Book rides with ease for quick and reliable transportation.
Hotel.com Search and reserve hotels globally with competitive prices and user reviews.
Expedia Plan your trip with hotel bookings, flight reservations, and vacation packages.
Agoda Book hotels and accommodations worldwide with great deals and discounts.
source_sentence
sentences
Booking.com Find and book hotels, apartments, and vacation rentals with real-time availability.
Kayak Compare hotel prices, book flights, and find travel deals in one place.
Agoda Book hotels and accommodations worldwide with great deals and discounts.
Netflix Watch movies, TV shows, and original series on-demand.
source_sentence
sentences
Booking.com Find and book hotels, apartments, and vacation rentals with real-time availability.
Uber Book rides with ease for quick and reliable transportation.
Kayak Compare hotel prices, book flights, and find travel deals in one place.
Expedia Plan your trip with hotel bookings, flight reservations, and vacation packages.
pipeline_tag
sentence-similarity
library_name
sentence-transformers
metrics
pearson_cosine
spearman_cosine
model-index
name
results
SentenceTransformer
task
dataset
metrics
type
name
semantic-similarity
Semantic Similarity
name
type
playstore eval
playstore-eval
type
value
name
pearson_cosine
NaN
Pearson Cosine
type
value
name
spearman_cosine
NaN
Spearman Cosine
SentenceTransformer
This is a sentence-transformers model trained. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
fromsentence_transformersimportSentenceTransformer# Download from the 🤗 Hubmodel=SentenceTransformer("sentence_transformers_model_id")
# Run inferencesentences= [
'Booking.com Find and book hotels, apartments, and vacation rentals with real-time availability.',
'Uber Book rides with ease for quick and reliable transportation.',
'Expedia Plan your trip with hotel bookings, flight reservations, and vacation packages.',
]
embeddings=model.encode(sentences)
print(embeddings.shape)
# [3, 384]# Get the similarity scores for the embeddingssimilarities=model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
MultipleNegativesRankingLoss
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}