[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

@@ -68,11 +68,13 @@ Installieren Sie die folgenden Abhängigkeiten, falls Sie dies nicht bereits get
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```bash ```bash
pip install torch pip install torch
``` ```
</pt> </pt>
<tf> <tf>
```bash ```bash
pip install tensorflow pip install tensorflow
``` ```
@@ -226,6 +228,7 @@ Genau wie die [`pipeline`] akzeptiert der Tokenizer eine Liste von Eingaben. Dar
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> pt_batch = tokenizer( >>> pt_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -237,6 +240,7 @@ Genau wie die [`pipeline`] akzeptiert der Tokenizer eine Liste von Eingaben. Dar
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> tf_batch = tokenizer( >>> tf_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -375,6 +379,7 @@ Ein besonders cooles 🤗 Transformers-Feature ist die Möglichkeit, ein Modell
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> from transformers import AutoModel >>> from transformers import AutoModel
@@ -383,6 +388,7 @@ Ein besonders cooles 🤗 Transformers-Feature ist die Möglichkeit, ein Modell
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> from transformers import TFAutoModel >>> from transformers import TFAutoModel

View File

@@ -30,11 +30,13 @@ You'll also need to install your preferred machine learning framework:
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```bash ```bash
pip install torch pip install torch
``` ```
</pt> </pt>
<tf> <tf>
```bash ```bash
pip install tensorflow 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> <frameworkcontent>
<pt> <pt>
```py ```py
>>> pt_batch = tokenizer( >>> pt_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["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> </pt>
<tf> <tf>
```py ```py
>>> tf_batch = tokenizer( >>> tf_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["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> <frameworkcontent>
<pt> <pt>
```py ```py
>>> from transformers import AutoModel >>> from transformers import AutoModel
@@ -360,6 +365,7 @@ One particularly cool 🤗 Transformers feature is the ability to save a model a
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> from transformers import TFAutoModel >>> from transformers import TFAutoModel

View File

@@ -68,11 +68,13 @@ Instala las siguientes dependencias si aún no lo has hecho:
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```bash ```bash
pip install torch pip install torch
``` ```
</pt> </pt>
<tf> <tf>
```bash ```bash
pip install tensorflow pip install tensorflow
``` ```
@@ -224,6 +226,7 @@ Como con el [`pipeline`], el tokenizador aceptará una lista de inputs. Además,
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> pt_batch = tokenizer( >>> pt_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -235,6 +238,7 @@ Como con el [`pipeline`], el tokenizador aceptará una lista de inputs. Además,
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> tf_batch = tokenizer( >>> tf_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -377,6 +381,7 @@ Una característica particularmente interesante de 🤗 Transformers es la habil
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> from transformers import AutoModel >>> from transformers import AutoModel
@@ -385,6 +390,7 @@ Una característica particularmente interesante de 🤗 Transformers es la habil
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> from transformers import TFAutoModel >>> from transformers import TFAutoModel

View File

@@ -30,11 +30,13 @@ Vous aurez aussi besoin d'installer votre bibliothèque d'apprentissage profond
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```bash ```bash
pip install torch pip install torch
``` ```
</pt> </pt>
<tf> <tf>
```bash ```bash
pip install tensorflow pip install tensorflow
``` ```
@@ -203,6 +205,7 @@ Un tokenizer peut également accepter une liste de textes, et remplir et tronque
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> pt_batch = tokenizer( >>> pt_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -214,6 +217,7 @@ Un tokenizer peut également accepter une liste de textes, et remplir et tronque
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> tf_batch = tokenizer( >>> tf_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -346,6 +350,7 @@ Une fonctionnalité particulièrement cool 🤗 Transformers est la possibilité
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> from transformers import AutoModel >>> from transformers import AutoModel
@@ -354,6 +359,7 @@ Une fonctionnalité particulièrement cool 🤗 Transformers est la possibilité
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> from transformers import TFAutoModel >>> from transformers import TFAutoModel

View File

@@ -68,11 +68,13 @@ Installa le seguenti dipendenze se non lo hai già fatto:
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```bash ```bash
pip install torch pip install torch
``` ```
</pt> </pt>
<tf> <tf>
```bash ```bash
pip install tensorflow pip install tensorflow
``` ```
@@ -379,6 +381,7 @@ Una caratteristica particolarmente interessante di 🤗 Transformers è la sua a
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> from transformers import AutoModel >>> from transformers import AutoModel
@@ -387,6 +390,7 @@ Una caratteristica particolarmente interessante di 🤗 Transformers è la sua a
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> from transformers import TFAutoModel >>> from transformers import TFAutoModel

View File

@@ -30,11 +30,13 @@ rendered properly in your Markdown viewer.
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```bash ```bash
pip install torch pip install torch
``` ```
</pt> </pt>
<tf> <tf>
```bash ```bash
pip install tensorflow pip install tensorflow
``` ```
@@ -210,6 +212,7 @@ label: NEGATIVE, with score: 0.5309
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> pt_batch = tokenizer( >>> pt_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -221,6 +224,7 @@ label: NEGATIVE, with score: 0.5309
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> tf_batch = tokenizer( >>> tf_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -353,6 +357,7 @@ tensor([[0.0021, 0.0018, 0.0115, 0.2121, 0.7725],
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> from transformers import AutoModel >>> from transformers import AutoModel
@@ -361,6 +366,7 @@ tensor([[0.0021, 0.0018, 0.0115, 0.2121, 0.7725],
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> from transformers import TFAutoModel >>> from transformers import TFAutoModel

View File

@@ -228,6 +228,7 @@ Assim como o [`pipeline`], o tokenizer aceitará uma lista de entradas. Além di
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> pt_batch = tokenizer( >>> pt_batch = tokenizer(
... ["We are very happy to show you the 🤗 transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 transformers library.", "We hope you don't hate it."],
@@ -239,6 +240,7 @@ Assim como o [`pipeline`], o tokenizer aceitará uma lista de entradas. Além di
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> tf_batch = tokenizer( >>> tf_batch = tokenizer(
... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."], ... ["We are very happy to show you the 🤗 Transformers library.", "We hope you don't hate it."],
@@ -377,6 +379,7 @@ Um recurso particularmente interessante dos 🤗 Transformers é a capacidade de
<frameworkcontent> <frameworkcontent>
<pt> <pt>
```py ```py
>>> from transformers import AutoModel >>> from transformers import AutoModel
@@ -385,6 +388,7 @@ Um recurso particularmente interessante dos 🤗 Transformers é a capacidade de
``` ```
</pt> </pt>
<tf> <tf>
```py ```py
>>> from transformers import TFAutoModel >>> from transformers import TFAutoModel

View File

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