How to load training_args

Hi
I wonder how I can load the training_args.bin?
thanks

it’s saved with torch so you can just do training_args = torch.load(path_to_training_args)

1 Like

is it possible to push the training_args to the hub? tried push_to_hub and got the below error:
“bool object is not callable”

push_to_hub is an argument of the TrainingArguments class, not a method. The training arguments will be automatically pushed to the Hub with everything inside the Trainer when you do Trainer.push_to_hub().

2 Likes