Skip to content

Commit

Permalink
Docs: _from_pretrained -> push_to_hub (#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen authored Nov 28, 2023
1 parent f59692b commit 8aec94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huggingface_hub/hub_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def save_pretrained(
ID of your repository on the Hub. Used only if `push_to_hub=True`. Will default to the folder name if
not provided.
kwargs:
Additional key word arguments passed along to the [`~ModelHubMixin._from_pretrained`] method.
Additional key word arguments passed along to the [`~ModelHubMixin.push_to_hub`] method.
"""
save_directory = Path(save_directory)
save_directory.mkdir(parents=True, exist_ok=True)
Expand Down

0 comments on commit 8aec94b

Please sign in to comment.