Skip to main content
This assignment is due before 02:00PM on Monday, February 10, 2020.

Learning ParlAi : Assignment 2

The point of the first assignment is to get to acquainted with PyTorch. The second step is to be able to train a seq2seq model. This involves installing PyTorch and ParlAi and then training the first models. This homework will get you acquanted with ParlAi.

You should be excited about this assignment! You will be able to chat with your own bot!

Be creative and have fun.

  1. Make a fork of ParlAi and install it on your computer, or somewhere where you have FREE personal access.
  2. Start a AWS or Google Cloud GPU instance with PyTorch installed.
  3. Train the seq2seq model in ParlAi on the Twitter dataset which is automatically downloaded using ParlAi. (You may want to use Google Colab, which allows for several hours of free GPU training). Here’s an example for chatting.
  4. Record 5 chat logs with your chatbot and also 5 conversations from one of the ParlAi models in their model zoo. Please save the conversations in the Forever chat json format.
  5. Submit homework via gradescope.
  • Please check in the code that you used (i.e. your fork of ParlAI. Even if you used the code from the tutorial, please add this. Also, please check in your last checkpoint as well as the final perplexity number. The conversations should be in Forever chat json format.