Using Trainer with do_train + do_eval
Hi, I’m currently training a T5 model using the HF Trainer and looking through the TrainingArguments documentation as well as example scripts.At the moment I am trying to understand the use of the the two optional arguments within TrainingArguments ‘do_train’ and ‘do_eval’. Some examples notebooks don’t specify these, and therefore default these to false.From experimenting, you can run trainer.evaluate() without ‘do_eval’, and I can’t figure out what ‘do_train’ would do if it defaults to FalseThanks,
2020-09-16T17:24:27Z
Those arguments are only used by the scripts, not theTraineritself.
2024-06-20T15:51:02Z
Hi!Which scripts? I also was unable to understand it from examples. The link in the function description does not point to a specific example.