Skip to content

salwadin/cooking-AI

 
 

Repository files navigation

Installation before running the program

  1. Python 3.7
  2. Flask
  3. Tensorflow for GPT-2 You have to run it on a local environment.

GPT-2

We used a pretrained model developed by Max Woolf in a google colab. We trained this model with 50+ recipes taken from Epicurious and other recipe sites.

Adjust the temperature

The value of the temperature determines how "crazy" the sentences are. The higher the temperature, the crazier the recipes get. Usually temperature is between 0.7 and 1.0 (we used 0.7 for our project). We experimented with a very high temperature, 10 to be exact, and the results are fun to read.

Useful resources

  1. GPT-2 Text Generating model
  2. Woolf's personal blog to explain how to use GPT-2
  3. Flask Web App
  4. Transformers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 96.4%
  • HTML 2.0%
  • Other 1.6%