def _save_model_config(self):
    """Save only the Model configuration to disk."""
    logging.info('Saving config to: %s/model_config.json',
                 self._model_config.model_checkpoint)
    self._model_config.save(
        os.path.join(self._model_config.model_checkpoint, 'model_config.json'))
Save only the Model configuration to disk.
language/serene/training.py