The Text Generation problem uses the bAbi dataset, of which an excerpt can be downloaded here (training set) and here (test set). Use this script for loading and manipulating the dataset. Save the dataset in a folder and let’s start coding.
Check also here for a presentation on this problem.