Skip to content

vishnux/Ratatouille

Repository files navigation

Ratatouille - Recipe Generation using GPT2

Welcome to the Ratatouille, an innovative solution that aims to reduce food wastage while inspiring creativity in the kitchen. Powered by GPT-2, a powerful deep generative model, this tool generates five realistic and enticing recipes by utilizing leftover ingredients from your pantry.

About

This project leverages the capabilities of GPT-2 to tackle the issue of food waste by encouraging users to make use of leftover ingredients at home. By inputting a list of available ingredients, the Recipe Generator generates unique and exciting recipes that incorporate these ingredients, resulting in reduced food wastage and sustainable cooking practices.

Key Features

  • Leftover Ingredient Utilization: Make the most of your pantry by creatively incorporating leftover ingredients into delicious recipes.
  • Five Recipe Suggestions: Receive a selection of five realistic and enticing recipe ideas tailored to your available ingredients.
  • Sustainable Cooking Practices: Promote sustainability by reducing food waste and adopting resourceful cooking habits.
  • AI-Powered Recipe Generation: Leverage the power of GPT-2, a deep generative model, to generate creative and unique recipe suggestions.
  • Inspire Culinary Creativity: Unleash your imagination in the kitchen and discover new ways to utilize leftover ingredients.

Dataset

This is the dataset used, and it is collated by Ryan Lee, sourced from Food Network, Epicurious, and Allrecipes.

Requirements

  • Python 3.x
  • TensorFlow 2.x
  • OpenAI GPT-2

Getting Started

  1. Clone this repository.
  2. Install the required packages.
  3. Download the OpenAI GPT-2 model from HuggingFace.
  4. Run the notebooks and provide the list of ingredients.

Contribute

Contributions to the Ratatouille project are welcome! If you have any ideas, bug fixes, or enhancements, feel free to submit a pull request.

You can open an issue or pull request.

Here are some ideas on How to Contribute.

Please adhere to this project's Code of Conduct.

Note

This project is for educational purposes only. The generated recipes may not always be perfect or entirely sensible. Please use your judgment before trying them out. You can modify the code and experiment with different ingredients to generate new recipes.

License

This project is licensed under the MIT License.

Acknowledgments

OpenAI provides the GPT-2 model used in this project. We thank them for their contributions to the AI community.

About

Recipe Generator using leftover ingredients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published