def _after_n_epoch(self, epoch_id: int, **_) -> None:
        """
        Save the model every ``n_epochs`` epoch.

        :param epoch_id: number of the processed epoch
        """
        SaveEvery.save_model(model=self._model, name_suffix=str(epoch_id), on_failure=self._on_save_failure)
Save the model every ``n_epochs`` epoch.

        :param epoch_id: number of the processed epoch