Unverified Commit b6401030 authored by Jonathan Rahn's avatar Jonathan Rahn Committed by GitHub
Browse files

fix broken link in docs (#32491)

`https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.TextGenerationPipeline.__call__`

`generate_kwargs (dict, optional) — Additional keyword arguments to pass along to the generate method of the model (see the generate method corresponding to your framework here).`

link in "here" doesnt work
parent e0d82534
...@@ -239,7 +239,7 @@ class TextGenerationPipeline(Pipeline): ...@@ -239,7 +239,7 @@ class TextGenerationPipeline(Pipeline):
truncate a lot of the prompt and not suitable when generation exceed the model capacity) truncate a lot of the prompt and not suitable when generation exceed the model capacity)
generate_kwargs (`dict`, *optional*): generate_kwargs (`dict`, *optional*):
Additional keyword arguments to pass along to the generate method of the model (see the generate method Additional keyword arguments to pass along to the generate method of the model (see the generate method
corresponding to your framework [here](./main_classes/text_generation)). corresponding to your framework [here](./text_generation)).
Return: Return:
A list or a list of lists of `dict`: Returns one of the following dictionaries (cannot return a combination A list or a list of lists of `dict`: Returns one of the following dictionaries (cannot return a combination
......
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