def save_model(self) -> None:
    '\n        Save the pretrained model and create a Tensorflow saved model.\n        '
    logger.info('Saving model in {}'.format(self.args.output_dir))
    path = os.path.join(self.args.output_dir, 'saved_model')
    logger.info('Saving model in {}'.format(path))
    os.makedirs(path, exist_ok=True)
    self.model.save_pretrained(self.args.output_dir)
Save the pretrained model and create a Tensorflow saved model.
def save_model(self) -> None:
    '\n        \n        '
    logger.info('Saving model in {}'.format(self.args.output_dir))
    path = os.path.join(self.args.output_dir, 'saved_model')
    logger.info('Saving model in {}'.format(path))
    os.makedirs(path, exist_ok=True)
    self.model.save_pretrained(self.args.output_dir)