How to log Trainer's training progress bars into a file
I need to log the training progress of the Trainer into a file (I know we can use thereport_toargument to send the logs to the supported integrations, but I don’t want to send info to those integrations.) The progress bar I’m referring to is shown in the figure below (which gets updated real-time as the model is being trained/fine-tuned):Screenshot 2023-06-28 at 2.58.27 PM1993×578 67.9 KBHow should I do this in the Trainer? When I set theloggingfromfrom transformers.utils import loggingI can logtransformers’s info, but for some reason, the exact progress bar that shows the percentage in the console doesn’t get logged into the file and only gets printed in the console.
2024-05-06T19:39:15Z
phosseini:I have the same problem, were you able to find a solution?