Sentence Similarity
sentence-transformers
Safetensors
distilbert
feature-extraction
Generated from Trainer
dataset_size:14400
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use michelerondinelli01/mnlp-hw1-biencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use michelerondinelli01/mnlp-hw1-biencoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("michelerondinelli01/mnlp-hw1-biencoder") sentences = [ "how is the weather in atlanta georgia all year round", "Southern and southeast areas of the state experience snow much less frequently than other parts of Georgia. The Georgia Piedmont, sometimes referred to as the Blue Ridge province, is somewhat cooler in winter than the coastal areas. The Southern areas of the Piedmont may receive snow every other year, while areas close to the foothills get snow a couple times a year averaging anywhere from a trace up 2\" of annual snowfall. The biggest winter threat to the northern piedmont is freezing rain which is rain that freezes on contact. The mountains of Georgia have the coolest climate and most frequent snowfall in the state, although snowfall is less than any other part of the Appalachian Mountains. The exception to this is the mountain areas of Fannin, Gilmer, Pickens, Union, White and Rabun Counties, and surrounding counties which average 3 to 8 inches of snow annually. Mountains, however, can average anywhere from 4-18 inches annually. Elevations over 4000 feet, can have some brutal winters with some storms blanketing the mountains with over a foot of snow. Heavy snow in the extreme northern counties is considered 5 inches (13 cm) or more of snow in a 12-hour period or 7 inches (18 cm) or more of snow in a 24-hour period\". Watches for heavy snow are issued when a 50 percent or greater chance of 2 inches (5.1 cm) or more of snow falling in a 12-hour period, or 4 inches (10 cm) or more in a 24-hour period is expected.The Deceptive Killers], Accessed December 11, 2007", "National Lampoon's Christmas Vacation is a 1989 American Christmas comedy film directed by Jeremiah S. Chechik. It is the third installment in National Lampoon's Vacation film series, and was written by John Hughes, based on his short story in National Lampoon magazine, \"Christmas '59\". The film stars Chevy Chase, Beverly D'Angelo and Randy Quaid, with Juliette Lewis and Johnny Galecki as the Griswold children Audrey and Rusty, respectively.", "The climate of Georgia is a humid subtropical climate with most of the state having short, mild winters and long, hot summers. The Atlantic Ocean on the east coast of Georgia and the hill country in the north impact the state's climate. Also, the Chattahoochee River divides Georgia into separate climatic regions with the mountain region to the northwest being cooler than the rest of the state, the average temperatures for that region in January and July being 39 °F (4 °C) and 78 °F (26 °C) respectively. Winter in Georgia is characterized by mild temperatures and little snowfall around the state, with the potential for snow and ice increasing in the northern parts of the state. Summer daytime temperatures in Georgia often exceed 95 °F (35 °C). The state experiences widespread precipitation. Tornadoes and tropical cyclones are common." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!