SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
This is a sentence-transformers model finetuned from sentence-transformers/all-MiniLM-L6-v2. 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.
1from sentence_transformers import SentenceTransformer
23# Download from the 🤗 Hub4model = SentenceTransformer("sentence_transformers_model_id")5# Run inference6sentences =[7'Explain ZMOT, also known as Zero Moment of Truth. And then tell me the difference between that & the 3-step model marketing, whatever was prevalent back in the day',8'The traditional 3-step model of marketing, introduced by P&G, consists of the consumer discovering a product, followed by the first moment of truth (FMOT) where the consumer evaluates the product, and finally the second moment of truth (SMOT) where the consumer purchases and uses the product. ZMOT, or Zero Moment of Truth, refers to the period between the initial discovery and FMOT, where the consumer researches and learns more about the product',9"The 3-step model of marketing, which was widely used until the introduction of ZMOT, involves the consumer becoming aware of a product's features, then experiencing the first moment of truth (FMOT) at the point of product demonstration, and finally the second moment of truth (SMOT) when they decide to recommend the product to friends. ZMOT, on the other hand, occurs between the initial awareness and FMOT, and involves the consumer seeking out more information about the product's accessories.",10]11embeddings = model.encode(sentences)12print(embeddings.shape)13# [3, 384]1415# Get the similarity scores for the embeddings16similarities = model.similarity(embeddings, embeddings)17print(similarities.shape)18# [3, 3]
Training Details
Training Dataset
Unnamed Dataset
Size: 306,636 training samples
Columns: anchor, positive, and negative
Approximate statistics based on the first 1000 samples:
anchor
positive
negative
type
string
string
string
details
min: 6 tokens
mean: 22.27 tokens
max: 100 tokens
min: 3 tokens
mean: 64.64 tokens
max: 256 tokens
min: 4 tokens
mean: 36.54 tokens
max: 189 tokens
Samples:
anchor
positive
negative
How is cryogenics used in the study and treatment of viruses in virology?
Certain vaccines must be only stored at cryogenic temperature (ultra low temperatures of order -90 to -60 degree celcius / -130 F to -76 F)
Certain vaccines must be stored at refrigerated temperatures, ranging from 2 to 8 degrees Celsius, to maintain their potency.
I would like to know the domestication status of these animals: cats, dogs, sheep, whales, bats, and bald eagles.
Among the listed animals, cats, dogs, and sheep have undergone domestication, while bald eagles, whales, and bats have not.
Among the listed animals, cats, dogs, and bats have undergone domestication, while bald eagles, whales, and sheep have not.
I need to know who was winner of mens 2022 fifa world cup and where did it happen
The men's 2022 FIFA world cup was located in Qatar. Argentina won the world cup, beating France on penalties after drawing 3-3 during the game.
France won the men's 2022 FIFA World Cup, which was held in Qatar.
Approximate statistics based on the first 1000 samples:
anchor
positive
negative
type
string
string
string
details
min: 5 tokens
mean: 20.67 tokens
max: 107 tokens
min: 3 tokens
mean: 64.41 tokens
max: 256 tokens
min: 5 tokens
mean: 34.83 tokens
max: 168 tokens
Samples:
anchor
positive
negative
I dont know anything about ironman can you tell me how many miles is the triathlon?
The total distance of an Ironman triathlon is 140.6 miles, consisting of a 2.4-mile swim, a 112-mile bike ride, and a 26.2-mile run.
An Ironman triathlon covers a total distance of around 160 miles, broken down into a 3.8-mile swim, a 120-mile bike segment, and a 36-mile run.
what is this meetup group business all about
Meetup events are real-life gatherings where members and organizers get together to connect, discuss, and practice activities related to their shared interests.
Meetup events are online gatherings where members and organizers connect, discuss, and practice activities related to their shared interests.
what exactly is gettysburg college? i need to know about it
Gettysburg College is a privately funded liberal arts institution in Gettysburg, Pennsylvania, known for its historical significance in the Battle of Gettysburg during the American Civil War.
Gettysburg College is a privately funded university in Gettysburg, Pennsylvania, known for its historical significance in the Battle of Gettysburg during World War I.
1@inproceedings{reimers-2019-sentence-bert,
2 title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
3 author = "Reimers, Nils and Gurevych, Iryna",
4 booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
5 month = "11",
6 year = "2019",
7 publisher = "Association for Computational Linguistics",
8 url = "https://arxiv.org/abs/1908.10084",
9}
TripletLoss
bibtex
1@misc{hermans2017defense,
2 title={In Defense of the Triplet Loss for Person Re-Identification},
3 author={Alexander Hermans and Lucas Beyer and Bastian Leibe},
4 year={2017},
5 eprint={1703.07737},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV}
8}