Saving trained number of epochs in config.json // Custom fields in config.json
HiI have a custom model that is a subclass from transformers.PreTrainedModel. I save the model with model.save_pretrained after every epoch.Is it possible to save the number of trained epochs in config.json? Or is it in general possible to add custom fields to config.json?Thanks for your help!
2022-11-07T16:34:50Z
Up. Has somebody an answer to my question?