before the training in Models