"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "50acfc87175bc9aa00db4ec31e6fc4c6fac361f7"
Unverified Commit 072ed01c authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Fix doctest for `MarkupLM` (#19845)


Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 1f7e40d0
...@@ -95,10 +95,8 @@ This is the simplest case, in which the processor will use the feature extractor ...@@ -95,10 +95,8 @@ This is the simplest case, in which the processor will use the feature extractor
... <title>Hello world</title> ... <title>Hello world</title>
... </head> ... </head>
... <body> ... <body>
... <h1>Welcome</h1> ... <h1>Welcome</h1>
... <p>Here is my website.</p> ... <p>Here is my website.</p>
... </body> ... </body>
... </html>""" ... </html>"""
...@@ -165,10 +163,8 @@ processor will use the feature extractor to get all nodes and xpaths, and create ...@@ -165,10 +163,8 @@ processor will use the feature extractor to get all nodes and xpaths, and create
... <title>Hello world</title> ... <title>Hello world</title>
... </head> ... </head>
... <body> ... <body>
... <h1>Welcome</h1> ... <h1>Welcome</h1>
... <p>My name is Niels.</p> ... <p>My name is Niels.</p>
... </body> ... </body>
... </html>""" ... </html>"""
......
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