[TYPO] fix typo/format in quicktour.md (#25519)

* fix_all_language_quicktour

* give up ! before bash command

---------

Co-authored-by: lishukan <lishukan@dxy.cn>
This commit is contained in:
lishukan
2023-08-16 14:03:23 +08:00
committed by GitHub
parent eec5841e9f
commit c385de2441
8 changed files with 44 additions and 0 deletions

View File

@@ -30,11 +30,13 @@ You'll also need to install your preferred machine learning framework:
<frameworkcontent>
<pt>
```bash
pip install torch
```
</pt>
<tf>
```bash
pip install tensorflow
```
@@ -208,6 +210,7 @@ A tokenizer can also accept a list of inputs, and pad and truncate the text to r
<frameworkcontent>
<pt>
```py
>>> pt_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -219,6 +222,7 @@ A tokenizer can also accept a list of inputs, and pad and truncate the text to r
```
</pt>
<tf>
```py
>>> tf_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -352,6 +356,7 @@ One particularly cool 🤗 Transformers feature is the ability to save a model a
<frameworkcontent>
<pt>
```py
>>> from transformers import AutoModel
@@ -360,6 +365,7 @@ One particularly cool 🤗 Transformers feature is the ability to save a model a
```
</pt>
<tf>
```py
>>> from transformers import TFAutoModel