<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def initialize_training(self, training_info: TrainingInfo, model_state=None, hidden_state=None):
 """ Prepare for training """

        if model_state is None:
            self.model.reset_weights()
        else:
            self.model.load_state_dict(model_state)