docs: public void saveWithTrainingConfig(OutputStream outputStream) throws IOException {
          if(this.trainingConfig == null) {
              throw new IllegalStateException("No training configuration found!");
          }
  
          saveWithTrainingConfig(this.trainingConfig,outputStream);
      }