code: def _after_n_epoch(self, epoch_id: int, **_) -> None:
          
          SaveEvery.save_model(model=self._model, name_suffix=str(epoch_id), on_failure=self._on_save_failure)
docs: Save the model every ``n_epochs`` epoch.
  
          :param epoch_id: number of the processed epoch