Unverified Commit af539d6f authored by Daniel van Strien's avatar Daniel van Strien Committed by GitHub
Browse files

fix MarkupLMProcessor option flag (#19526)

parent 5a8a532d
......@@ -178,7 +178,7 @@ processor will use the feature extractor to get all nodes and xpaths, and create
dict_keys(['input_ids', 'token_type_ids', 'attention_mask', 'xpath_tags_seq', 'xpath_subs_seq'])
```
**Use case 5: web page question answering (inference), apply_ocr=False**
**Use case 5: web page question answering (inference), parse_html=False**
For question answering tasks (such as WebSRC), you can provide a question to the processor. If you have extracted
all nodes and xpaths yourself, you can provide them directly to the processor. Make sure to set `parse_html` to `False`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment