code: def initialize_training(self, training_info: TrainingInfo, model_state=None, hidden_state=None):
          
          if model_state is None:
              self.model.reset_weights()
          else:
              self.model.load_state_dict(model_state)
docs: Prepare for training