Fix doctest (#25031)

fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2023-07-25 22:10:06 +02:00
committed by GitHub
parent 8f36ab3e22
commit da5ff18a4a

View File

@@ -335,7 +335,7 @@ Document question answering is a task that answers natural language questions fr
... image=image, ... image=image,
... ) ... )
>>> preds >>> preds
[{'score': 0.8531239628791809, 'answer': '17,000', 'start': 4, 'end': 4}] [{'score': 0.8531, 'answer': '17,000', 'start': 4, 'end': 4}]
``` ```
Hopefully, this page has given you some more background information about all the types of tasks in each modality and the practical importance of each one. In the next [section](tasks_explained), you'll learn **how** 🤗 Transformers work to solve these tasks. Hopefully, this page has given you some more background information about all the types of tasks in each modality and the practical importance of each one. In the next [section](tasks_explained), you'll learn **how** 🤗 Transformers work to solve these tasks.