Skip to content

Commit

Permalink
fix: delete duplicate sentences in document_question_answering.mdx (h…
Browse files Browse the repository at this point in the history
…uggingface#23735)

fix: delete duplicate sentence
  • Loading branch information
jungnerd authored and novice03 committed Jun 23, 2023
1 parent 14a61c0 commit 24936f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/source/en/tasks/document_question_answering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ LayoutLMv2 solves the document question-answering task by adding a question-answ
states of the tokens, to predict the positions of the start and end tokens of the
answer. In other words, the problem is treated as extractive question answering: given the context, extract which piece
of information answers the question. The context comes from the output of an OCR engine, here it is Google's Tesseract.
states of the tokens, in order to predict which token is at the start of the answer and which token is at the end of the
answer. In other words, the problem is treated as extractive question answering: given the context, extract which piece
of information answers the question. The context comes from the output of an OCR engine, here it is Google's Tesseract.

Before you begin, make sure you have all the necessary libraries installed. LayoutLMv2 depends on detectron2, torchvision and tesseract.

Expand Down

0 comments on commit 24936f2

Please sign in to comment.