My model is based on the model linked here on Kaggle.
Specifically, the following lines of code to generate an uploadable table to make my submission: