Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Latest commit

 

History

History
66 lines (52 loc) · 3.94 KB

File metadata and controls

66 lines (52 loc) · 3.94 KB

Training an RNN model

Session A: Data Collection and Python Environment

Objectives

  • Learn about preparing a text dataset
  • Learn how to setup a native TensorFlow Python local environment

Local Python Environment

Running p5.js sketches locally

ml5.js examples

Assignment:

  1. Collect a text dataset minimum 5 MB of text. We'll use this dataset in class on Wednesday.

Session B: Deploying the Model

Objectives

  • Review and continue to learn about training a charRNN model.
  • Understand how “temperature” affects the charRNN’s generated text.
  • Understand the distinction between “stateful” and “stateless” generation.

Cloud Computing

Text Data Sources

GitHub Pages

Assignment (Due Sunday Oct 27, 6pm):

Reading / Viewing

Instructions

We didn't get as far as I would have liked in class so some of the steps below may prove difficult for you. Please reach out if you are having trouble. At a minimum, complete steps 1 and 2 and make an attempt at Step 3. If you run into trouble, document the process in your post.

  1. Collect a text dataset. Try to achieve a minimum of 5 MB of text.
  2. Reflect on the readings above. How did they inform your choice of text data and collection process?
  3. Set up a local or cloud environment and train a model with your own data.
  4. Create an interactive sketch with your model and ml5.js. (Note that you will not be able to run your p5.js sketch in the editor since it does not support uploading of charRNN models. You can run your sketch locally and document the results on your blog. Include your code (an easy way is to link to a GitHub Gist. If you are feeling ambitious I would suggest hosting your sketch via GitHub Pages.)
  5. Link your blog post and any related materials on the Assignment 8 Wiki.