"made a training model, and functions to train such models"