notesum.ai
Published at December 6Large Language Models for Ingredient Substitution in Food Recipes using Supervised Fine-tuning and Direct Preference Optimization
cs.CL
Released Date: December 6, 2024
Authors: Thevin Senath1, Kumuthu Athukorala1, Ransika Costa2, Surangika Ranathunga2, Rishemjit Kaur3
Aff.: 1University of Moratuwa; 2Massey University; 3CSIR-Central Scientific Instruments Organisation

| Prompt | Chosen | Rejected |
| [INST] As a master chef, your culinary prowess knows no bounds. Your ability to flawlessly cook any dish is unparalleled. Even when faced with a missing ingredient, you effortlessly identify the perfect substitute, maintaining the dish’s flavor integrity. Follow the instructions below and suggest the best substitute for the given ingredient according to the given dish. Instructions: - Do not provide the same ingredient as above as a substitute. - Provide only one substitute. - Avoid giving explanations. - Give the output as a bulletpoint. - Substitutes should not change the flavour or texture of the dish. Dish: Cool ’n Easy Creamy Watermelon Pie Ingredient: seedless watermelon [/INST] | lime | strawberry |