From da5ff18a4acde15b92cc5907c17f8cc0d2437797 Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Tue, 25 Jul 2023 22:10:06 +0200 Subject: [PATCH] Fix doctest (#25031) fix Co-authored-by: ydshieh --- docs/source/en/task_summary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/task_summary.md b/docs/source/en/task_summary.md index 46e73297bb..6cb49f88ba 100644 --- a/docs/source/en/task_summary.md +++ b/docs/source/en/task_summary.md @@ -335,7 +335,7 @@ Document question answering is a task that answers natural language questions fr ... image=image, ... ) >>> 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. \ No newline at end of file