Yiheng Xu
commited on
Commit
•
91acf0f
1
Parent(s):
4678df1
Update README.md
Browse files
README.md
CHANGED
@@ -10,12 +10,14 @@ LayoutLM is a simple but effective pre-training method of text and layout for do
|
|
10 |
[LayoutLM: Pre-training of Text and Layout for Document Image Understanding](https://arxiv.org/abs/1912.13318)
|
11 |
Yiheng Xu, Minghao Li, Lei Cui, Shaohan Huang, Furu Wei, Ming Zhou, [KDD 2020](https://www.kdd.org/kdd2020/accepted-papers)
|
12 |
|
13 |
-
##
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
19 |
|
20 |
## Citation
|
21 |
|
|
|
10 |
[LayoutLM: Pre-training of Text and Layout for Document Image Understanding](https://arxiv.org/abs/1912.13318)
|
11 |
Yiheng Xu, Minghao Li, Lei Cui, Shaohan Huang, Furu Wei, Ming Zhou, [KDD 2020](https://www.kdd.org/kdd2020/accepted-papers)
|
12 |
|
13 |
+
## Different Tokenizer
|
14 |
+
Note that LayoutLM-Cased requires a different tokenizer, based on RobertaTokenizer. You can
|
15 |
+
initialize it as follows:
|
16 |
+
|
17 |
+
~~~
|
18 |
+
from transformers import AutoTokenizer
|
19 |
+
tokenizer = AutoTokenizer.from_pretrained('microsoft/layoutlm-base-cased')
|
20 |
+
~~~
|
21 |
|
22 |
## Citation
|
23 |
|