[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 @@ rendered properly in your Markdown viewer.
<frameworkcontent>
<pt>
```bash
pip install torch
```
</pt>
<tf>
```bash
pip install tensorflow
```
@@ -203,6 +205,7 @@ label: NEGATIVE, with score: 0.5309
<frameworkcontent>
<pt>
```py
>>> pt_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -214,6 +217,7 @@ label: NEGATIVE, with score: 0.5309
```
</pt>
<tf>
```py
>>> tf_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -347,6 +351,7 @@ tensor([[0.0021, 0.0018, 0.0115, 0.2121, 0.7725],
<frameworkcontent>
<pt>
```py
>>> from transformers import AutoModel
@@ -355,6 +360,7 @@ tensor([[0.0021, 0.0018, 0.0115, 0.2121, 0.7725],
```
</pt>
<tf>
```py
>>> from transformers import TFAutoModel