[Docs] Fix backticks in inline code and documentation links (#28875)

Fix backticks in code blocks and documentation links
This commit is contained in:
Klaus Hipp
2024-02-06 20:15:44 +01:00
committed by GitHub
parent a1afec9e17
commit 4830f26965
21 changed files with 35 additions and 36 deletions

View File

@@ -46,7 +46,7 @@ rendered properly in your Markdown viewer.
| | | `tokenizer(batch_sentences, padding='longest')` |
| | padding to max model input length | `tokenizer(batch_sentences, padding='max_length')` |
| | padding to specific length | `tokenizer(batch_sentences, padding='max_length', max_length=42)` |
| | padding to a multiple of a value | `tokenizer(batch_sentences, padding=True, pad_to_multiple_of=8) |
| | padding to a multiple of a value | `tokenizer(batch_sentences, padding=True, pad_to_multiple_of=8)` |
| truncation to max model input length | no padding | `tokenizer(batch_sentences, truncation=True)` or |
| | | `tokenizer(batch_sentences, truncation=STRATEGY)` |
| | padding to max sequence in batch | `tokenizer(batch_sentences, padding=True, truncation=True)` or |

View File

@@ -70,7 +70,7 @@ DatasetDict({
</Tip>
[~datasets.Dataset.train_test_split] メソッドを使用して、データセットのトレイン スプリットをトレイン セットとテスト セットに分割します。
[`~datasets.Dataset.train_test_split`] メソッドを使用して、データセットのトレイン スプリットをトレイン セットとテスト セットに分割します。
```python
ds = ds["train"].train_test_split(test_size=0.1)

View File

@@ -541,7 +541,6 @@ TensorFlow でモデルを微調整するには、次の手順に従います。
>>> pred_seg = upsampled_logits.argmax(dim=1)[0]
```
```
</pt>
</frameworkcontent>