8. TRAINING PROCESS
• Cloudformation Stack
• Pull down source
• Setup Webserver
• Start Training
• Save Model
• Write progress to file, go back to Training
• Upload model file to S3
16. TIPS
• Code pipeline
• Setup separate cloudformation template for training and chatbot
• Use pre-baked images
• Use nvdia-docker
• Torch7 faster performance
• Use Jenkins to build souce code, fetch training data
• Set the variable in pipeline template, pass it as environment variable for codebuild
• Use lambda function to get progress
• Use serverless.js to build code pipeline