Generating New Recipes using GPT-2

4.4
stars
21 ratings
Offered By
Coursera Project Network
2,405 already enrolled
In this Guided Project, you will:

Clean and preprocess text data for modeling

Create datasets for large-scale language generation

Fine-tune large-scale language model on small and niche task of generating recipes

Clock90-120 minutes
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this 2 hour long project, you will learn how to preprocess a text dataset comprising recipes, and split it into a training and validation set. You will learn how to use the HuggingFace library to fine-tune a deep, generative model, and specifically how to train such a model on Google Colab. Finally, you will learn how to use GPT-2 effectively to create realistic and unique recipes from lists of ingredients based on the aforementioned dataset. This project aims to teach you how to fine-tune a large-scale model, and the sheer magnitude of resources it takes for these models to learn. You will also learn about knowledge distillation and its efficacy in use cases such as this one. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Python ProgrammingMachine LearningNatural Language Processing

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction to the task and demo

  2. Exploratory data analysis and visualizations

  3. Dataset preparation

  4. GPT-2 theory and related machine learning concepts

  5. Model training on Google Colab

  6. Evaluating model performance empirically

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Reviews

TOP REVIEWS FROM GENERATING NEW RECIPES USING GPT-2

View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.