[Docs] Fix backticks in inline code and documentation links (#28875)
Fix backticks in code blocks and documentation links
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -541,7 +541,6 @@ TensorFlow でモデルを微調整するには、次の手順に従います。
|
||||
|
||||
>>> pred_seg = upsampled_logits.argmax(dim=1)[0]
|
||||
```
|
||||
```
|
||||
|
||||
</pt>
|
||||
</frameworkcontent>
|
||||
|
||||
Reference in New Issue
Block a user