Docs: fix generate-related rendering issues (#30600)

* does this work?

* like this?

* fix the other generate links

* missing these
This commit is contained in:
Joao Gante
2024-05-02 14:42:25 +01:00
committed by GitHub
parent 801894e08c
commit aa55ff44a2
13 changed files with 31 additions and 37 deletions

View File

@@ -21,7 +21,7 @@ more. It also plays a role in a variety of mixed-modality applications that have
and vision-to-text. Some of the models that can generate text include
GPT2, XLNet, OpenAI GPT, CTRL, TransformerXL, XLM, Bart, T5, GIT, Whisper.
Check out a few examples that use [`~transformers.generation_utils.GenerationMixin.generate`] method to produce
Check out a few examples that use [`~generation.GenerationMixin.generate`] method to produce
text outputs for different tasks:
* [Text summarization](./tasks/summarization#inference)
* [Image captioning](./model_doc/git#transformers.GitForCausalLM.forward.example)