Skip to content

Commit 7b84f72

Browse files
authored
Update link to generation strategies documentation (#42252)
* Update link to generation strategies documentation * Make generation strategies link relative Updated the link to the generation strategies guide in the docstring.
1 parent 26785ae commit 7b84f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/models/whisper/generation_whisper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def generate(
423423
parameters to generate(), e.g. `.generate(inputs, num_beams=4, do_sample=True)`.
424424
425425
For an overview of generation strategies and code examples, check out the [following
426-
guide](./generation_strategies).
426+
guide](../generation_strategies).
427427
428428
</Tip>
429429

0 commit comments

Comments
 (0)