Unverified Commit f911287c authored by Aisuko's avatar Aisuko Committed by GitHub
Browse files

fix/doc-code: Updating to the latest version parameters (#3924)



fix/doc-code: update to use the new parameter
Signed-off-by: default avatarGitHub <noreply@github.com>
parent 62825064
......@@ -313,7 +313,7 @@ Now you can wrap all these components together in a training loop with 🤗 Acce
... mixed_precision=config.mixed_precision,
... gradient_accumulation_steps=config.gradient_accumulation_steps,
... log_with="tensorboard",
... logging_dir=os.path.join(config.output_dir, "logs"),
... project_dir=os.path.join(config.output_dir, "logs"),
... )
... if accelerator.is_main_process:
... if config.push_to_hub:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment