Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:100
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use don-unagi/finetuned_arctic_ft_naive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use don-unagi/finetuned_arctic_ft_naive with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("don-unagi/finetuned_arctic_ft_naive") sentences = [ "What did the author plan to do with the dark meat and carcass after cooking the turkey?", "Let’s say a family of four wants to spend only $365 per month on groceries, saving them $579 per month over that USDA average family in the link above. Investing this savings would compound into about $102,483.00 every ten years, which would obviously make a pretty big improvement in the financial health of the average young family.\nTo hit a monthly grocery spending target like that, you first have to understand what you are buying. There are four mouths to feed, each consuming three meals a day or 91.25 meals per month. Let’s say they all need adult levels of calories, so about 2000 per day.", "When you eat beans and rice in the same meal, you’re getting complete protein at virtually no cost. Nuts and especially peanut butter are also a good way to mix high calories with built-in protein. Eggs contain the highest quality complete protein of all (6 grams per egg), so I enjoy three of them every day.", "Turkey 101 Follow-up\nThought I’d share how my freezer “spring clean” is going. In an attempt to reduce the number of trips to the grocery store in April, I’ve taken on the challenge to use up what I have first. Here’s my first attempt at staying away from the deli-counter:\nDay 1- After anxiously awaiting the 3 day defrost, ready to cook turkey! Easy enough. Since I usually overcook meat (just to make sure it’s dead), decided to cook it breast side down; using gravity to my advantage, resulting in big, juicy breasts (just like my hubby likes). Save dark meat for later. Freeze some white meat, slice some for sandwiches, make broth from carcass." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K