Skip to content

Commit

Permalink
[Examples] Follow up of huggingface#5393 (huggingface#5420)
Browse files Browse the repository at this point in the history
* fix: create_repo()

* Empty-Commit
  • Loading branch information
sayakpaul authored and Jimmy committed Apr 26, 2024
1 parent 91cb1c5 commit bcdcc63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/en/tutorials/basic_training.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Now you can wrap all these components together in a training loop with 🤗 Acce
... if config.push_to_hub:
... repo_id = create_repo(
... repo_id=config.hub_model_id or Path(config.output_dir).name, exist_ok=True
... )
... ).repo_id
... accelerator.init_trackers("train_example")

... # Prepare everything
Expand Down
2 changes: 1 addition & 1 deletion docs/source/ko/tutorials/basic_training.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ TensorBoard에 로깅, 그래디언트 누적 및 혼합 정밀도 학습을 쉽
... if config.push_to_hub:
... repo_id = create_repo(
... repo_id=config.hub_model_id or Path(config.output_dir).name, exist_ok=True
... )
... ).repo_id
... accelerator.init_trackers("train_example")

... # 모든 것이 준비되었습니다.
Expand Down

0 comments on commit bcdcc63

Please sign in to comment.