Somebody asked it previously and got it solved.
The following line should follow before trainer.train() to save the configuration processor.save_pretrained(training_args.output_dir) One wonders why the original post has not been updated with the missing info?!
processor.save_pretrained(training_args.output_dir)