Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:90000
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use redis/model-a-baseline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use redis/model-a-baseline with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("redis/model-a-baseline") sentences = [ "who is the publisher of the norton anthology american literature", "W. W. Norton & Company W. W. Norton & Company is an American publishing company based in New York City. It has been owned wholly by its employees since the early 1960s. The company is known for its \"Norton Anthologies\" (particularly The Norton Anthology of English Literature) and its texts in the Norton Critical Editions series, the latter of which are frequently assigned in university literature courses.", "New Orleans La Nouvelle-Orléans (New Orleans) was founded in Spring of 1718 (7 May has become the traditional date to mark the anniversary, but the actual day is unknown[25]) by the French Mississippi Company, under the direction of Jean-Baptiste Le Moyne de Bienville, on land inhabited by the Chitimacha. It was named for Philippe II, Duke of Orléans, who was Regent of the Kingdom of France at the time. His title came from the French city of Orléans.", "I Really Like You The music video was directed by Peter Glanz. Jepsen filmed part of the song's music video on 16 February 2015, in front of the Mondrian Hotel in Manhattan alongside Tom Hanks, Justin Bieber and a troupe of dancers. Also making cameo appearances in the video are Rudy Mancuso and Andrew B. Bachelor (A.K.A. King Bach), well-known users of the short-form video sharing application Vine. The video was released on 6 March 2015.[15] CBC Music's Nicolle Weeks described it as \"a more affable version\" of the music video for The Verve's \"Bitter Sweet Symphony\" (1997).[16] The music video has been rated as one of 10 Best Music Videos of 2015 (So Far) by the readers of Billboard.[17]" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, step 5000
Verified signature05aa77e
-
Training in progress, step 5000
Verified signature5461f22 -
Training in progress, step 12000
Verified signatureb0e9ea6 -
Training in progress, step 12000
Verified signature1644761
-
Training in progress, step 5000
Verified signature43f4b06 -
Training in progress, step 10000
Verified signature6bd6f4c -
Training in progress, step 5000
Verified signaturee66bd1f -
Training in progress, step 5000
Verified signatureaf6d93c
-
Training in progress, step 5000
Verified signature1568a2d -
Training in progress, step 2000
Verified signature664096f
-
Training in progress, step 5000
Verified signature02b082c
-
Training in progress, step 14060
Verified signature08ecbf8 -
Training in progress, step 14060
Verified signature1c170b1
-
Training in progress, step 14060
Verified signature4fdc641 -
Training in progress, step 3510
Verified signature4834bb0 -
Training in progress, step 1053
Verified signature10faf3c