[Docs] Fix backticks in inline code and documentation links (#28875)
Fix backticks in code blocks and documentation links
This commit is contained in:
@@ -51,7 +51,7 @@ rendered properly in your Markdown viewer.
|
||||
| | | `tokenizer(batch_sentences, padding='longest')` |
|
||||
| | 모델의 최대 입력 길이로 패딩 | `tokenizer(batch_sentences, padding='max_length')` |
|
||||
| | 특정 길이로 패딩 | `tokenizer(batch_sentences, padding='max_length', max_length=42)` |
|
||||
| | 다양한 길이로 패딩 | `tokenizer(batch_sentences, padding=True, pad_to_multiple_of=8) |
|
||||
| | 다양한 길이로 패딩 | `tokenizer(batch_sentences, padding=True, pad_to_multiple_of=8)` |
|
||||
| 모델의 최대 입력 길이로 잘라내기 | 패딩 없음 | `tokenizer(batch_sentences, truncation=True)` 또는 |
|
||||
| | | `tokenizer(batch_sentences, truncation=STRATEGY)` |
|
||||
| | 배치 내 최대 길이로 패딩 | `tokenizer(batch_sentences, padding=True, truncation=True)` 또는 |
|
||||
|
||||
@@ -75,7 +75,7 @@ DatasetDict({
|
||||
|
||||
</Tip>
|
||||
|
||||
[~datasets.Dataset.train_test_split] 메소드를 사용하여 데이터세트의 학습 분할을 학습 및 테스트 세트로 나눕니다:
|
||||
[`~datasets.Dataset.train_test_split`] 메소드를 사용하여 데이터세트의 학습 분할을 학습 및 테스트 세트로 나눕니다:
|
||||
|
||||
|
||||
```python
|
||||
|
||||
@@ -232,7 +232,7 @@ pip install transformers datasets evaluate sacrebleu
|
||||
... )
|
||||
|
||||
>>> trainer.train()
|
||||
````
|
||||
```
|
||||
|
||||
학습이 완료되면 [`~transformers.Trainer.push_to_hub`] 메서드로 모델을 Hub에 공유하세요. 이러면 누구나 모델을 사용할 수 있게 됩니다:
|
||||
|
||||
|
||||
@@ -260,7 +260,7 @@ pip install pytest-xdist
|
||||
looponfailroots = transformers tests
|
||||
```
|
||||
|
||||
또는 `pytest.ini`/``tox.ini`` 파일:
|
||||
또는 `pytest.ini`/`tox.ini`` 파일:
|
||||
|
||||
```ini
|
||||
[pytest]
|
||||
|
||||
Reference in New Issue
Block a user