Skip to content

Commit

Permalink
Fix doctest (huggingface#25031)
Browse files Browse the repository at this point in the history
fix

Co-authored-by: ydshieh <[email protected]>
  • Loading branch information
ydshieh and ydshieh authored Jul 25, 2023
1 parent 8f36ab3 commit da5ff18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/task_summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit da5ff18

Please sign in to comment.