Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:121408
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use GPTasty/TastyRecipesEmbedder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use GPTasty/TastyRecipesEmbedder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("GPTasty/TastyRecipesEmbedder") sentences = [ "NAME: Baked Beans\n\nCATEGORY: Beans\n\nKEYWORDS: < 60 Mins, Easy, Inexpensive\n\nTOOLS: pan\n\nINGREDIENTS: ground beef, bell pepper, onion, brown sugar, lemon juice, ketchup, barbecue sauce\n\nINSTRUCTIONS: \nCook you bell pepper and onion in with your ground beef. Drain grease.\nIn a casserole mix all other ingredients.\nPut in over for 20 minutes.", "NAME: Hearty White Bean Bake\n\nCATEGORY: Beans\n\nKEYWORDS: < 60 Mins, Easy, Inexpensive, One-Pot\n\nTOOLS: pan\n\nINGREDIENTS: ground turkey, poblano pepper, shallot, maple syrup, apple cider vinegar, chili sauce, smoked paprika, cannellini beans\n\nINSTRUCTIONS:\nCook the poblano pepper and shallot with the ground turkey until the turkey is browned. Drain any excess grease.\nIn the same pan, combine the cooked turkey mixture with maple syrup, apple cider vinegar, chili sauce, smoked paprika, and cannellini beans.\nMix well and bake in the oven for 25 minutes, or until heated through and bubbly.", "NAME: Spicy Southwest Seasoning Mix\nCATEGORY: < 15 Mins\nKEYWORDS: No Cook, Easy, Spice Mix\nTOOLS: Small jar\nINGREDIENTS: onion powder, chili powder, smoked paprika, seasoning salt, cayenne pepper, black pepper\nINSTRUCTIONS: Add all ingredients into a small jar. Secure the lid tightly. Shake well until thoroughly combined.", "NAME: Rosé Sangria\n\nCATEGORY: Beverages\n\nKEYWORDS: Citrus, Berries, < 4 Hours, Easy, Refreshing\n\nTOOLS: large punch bowl, wooden spoon\n\nINGREDIENTS: limes, raspberries, sugar, rosé wine, brandy, strawberry slices\n\nINSTRUCTIONS:\nPlace lime slices and raspberries in a large punch bowl.\nPour sugar over slices and berries and with a wooden spoon lightly mash together until sugar dissolves and the fruit begins to break down.\nStir in rosé wine and brandy.\nAdd strawberry slices.\nRefrigerate at least 2 hours or up to 10.\nAdd ice cubes and sparkling water just before serving." ] 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!