style: fix typo in the README (#7882)

This commit is contained in:
Terencio Agozzino
2020-10-19 14:43:25 +02:00
committed by GitHub
parent 805a202e1a
commit 7e6b6fbec9

View File

@@ -81,7 +81,7 @@ This is another example of pipeline used for that can extract question answers f
On top of the answer, the pretrained model used here returned its confidence score, along with the start position and its end position in the tokenized sentence. You can learn more about the tasks supported by the `pipeline` API in [this tutorial](https://huggingface.co/transformers/task_summary.html). On top of the answer, the pretrained model used here returned its confidence score, along with the start position and its end position in the tokenized sentence. You can learn more about the tasks supported by the `pipeline` API in [this tutorial](https://huggingface.co/transformers/task_summary.html).
To download and use any of the pretrained models on your given task, you just need to use those three lines of codes (PyTorch verison): To download and use any of the pretrained models on your given task, you just need to use those three lines of codes (PyTorch version):
```python ```python
>>> from transformers import AutoTokenizer, AutoModel >>> from transformers import AutoTokenizer, AutoModel