Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:113450
loss:ContrastiveTensionLoss
text-embeddings-inference
Instructions to use Stergios-Konstantinidis/MNLP_M3_tokenizer_tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Stergios-Konstantinidis/MNLP_M3_tokenizer_tuned with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Stergios-Konstantinidis/MNLP_M3_tokenizer_tuned") sentences = [ "Question: what channel is nj news 12 on fios, Answer: News 12 Networks The networks are carried by Altice's Optimum systems throughout the region (except for certain systems in Dutchess, Orange, and Putnam counties in New York, and Litchfield Count in Connecticut); these systems were originally owned by Dolan-owned Cablevision before being spun off to Altice. Since the sale, News 12 networks are also available on most Charter Communications, Comcast, and Service Electric systems in the Tri-State area (in the case of Charter, this is part of a cross-provider agreement that also allows Charter's 24-hour local news channel, NY1, to be seen on Altice providers). However, none of the channels are available on Verizon FiOS (which offers a competing FiOS 1 service) or satellite providers DirecTV or Dish Network; this is referenced in the slogan used by the networks, \"Only on cable. Never on FiOS. Never on satellite.\" Although the seven channels have individual and unique news operations, they share the same mission, graphics, and music packages.", "Question: who won the hockey game between usa and russia, Answer: Miracle on Ice For the first game in the medal round, the United States played the Soviets. Finishing the first period tied at 2–2, and the Soviets leading 3–2 following the second, the U.S. team scored two more goals to take their first lead during the third and final period, winning the game 4–3 in a major upset against the Cold War rival. Following the game, the U.S. went on to clinch the gold medal by beating Finland in their final match of the tournament. Likewise, the Soviet Union took the silver medal by beating Sweden.", "Question: when did the vietnam war start for the us, Answer: Vietnam War Beginning in 1950, American military advisors arrived in what was then French Indochina.[86][A 3] Most of the funding for the French war effort was provided by the U.S.[87] The Việt Cộng, also known as Front national de libération du Sud-Viêt Nam or FNL (the National Liberation Front), a South Vietnamese communist common front aided by the North, fought a guerrilla war against anti-communist forces in the region, while the People's Army of Vietnam, also known as the North Vietnamese Army (NVA), engaged in more conventional warfare, and had launched armed struggles from 1959 onward. U.S. involvement escalated in 1960 under President John F. Kennedy, with troop levels gradually surging under the MAAG program from just under a thousand in 1959 to 16,000 in 1963.[88][89]", "Question: how many medals did gb win at the winter olympics, Answer: Great Britain at the 2018 Winter Olympics Great Britain competed at the 2018 Winter Olympics in Pyeongchang, South Korea, from 9 to 25 February 2018, with 58 competitors in 11 sports. They won five medals in total, one gold and four bronze, ranking 19th in the medal table." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.models.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.models.Pooling" | |
| }, | |
| { | |
| "idx": 2, | |
| "name": "2", | |
| "path": "2_Normalize", | |
| "type": "sentence_transformers.models.Normalize" | |
| } | |
| ] |