args = TrainingArguments(
How to read the training and validation losses?
I am getting logs like this /content/logs/events.out.tfevents.1677075882.2041f82e97b0.219.0
logging_dir is where Tensorboard files are stored. Since you’re not specifying
--logging_steps, the Trainer is logging every 500 steps by default. You can visualize the data in a web browser with the following command:
tensorboard --logdir content/logs
This will output some text in the terminal, which should contain a localhost address (something like “http://localhost:6006/”). Copy&paste that to a web browser (or do ctrl+cllick) and you should see a bunch of tensorboard plots.