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

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