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

@@ -388,7 +388,7 @@ TensorFlow でモデルを微調整するには、オプティマイザー関数
>>> inputs = tokenizer(prompt, return_tensors="pt").input_ids
```
[`~transformers.generation_utils.GenerationMixin.generate`] メソッドを使用してテキストを生成します。
[`~generation.GenerationMixin.generate`] メソッドを使用してテキストを生成します。
さまざまなテキスト生成戦略と生成を制御するためのパラメーターの詳細については、[テキスト生成戦略](../generation_strategies) ページを参照してください。
```py