Skip to content

Commit

Permalink
Fix typo in documentation (huggingface#33805)
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
qgallouedec authored Sep 30, 2024
1 parent 4bb49d4 commit 4d5b458
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/transformers/configuration_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def from_pretrained(
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/feature_extraction_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def from_pretrained(
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/generation/configuration_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ def from_pretrained(
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/image_processing_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def from_pretrained(
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/integrations/peft.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def load_adapter(
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/modeling_flax_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ def from_pretrained(
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/modeling_tf_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2627,7 +2627,7 @@ def from_pretrained(
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/modeling_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3095,7 +3095,7 @@ def from_pretrained(
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/models/wav2vec2/modeling_wav2vec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ def load_adapter(self, target_lang: str, force_load=True, **kwargs):
<Tip>
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>".
To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.
</Tip>
Expand Down

0 comments on commit 4d5b458

Please sign in to comment.