model documentation
#2
by
nazneen
- opened
README.md
CHANGED
@@ -1,14 +1,15 @@
|
|
|
|
1 |
---
|
2 |
language: en
|
3 |
license: cc-by-nc-sa-4.0
|
4 |
tags:
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
---
|
10 |
|
11 |
-
# Model Card for LayoutLM for Document Classification
|
12 |
|
13 |
# Model Details
|
14 |
|
@@ -162,6 +163,12 @@ Use the code below to get started with the model.
|
|
162 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
163 |
|
164 |
tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-classifier")
|
|
|
165 |
model = AutoModelForSequenceClassification.from_pretrained("impira/layoutlm-document-classifier")
|
166 |
-
|
167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
---
|
3 |
language: en
|
4 |
license: cc-by-nc-sa-4.0
|
5 |
tags:
|
6 |
+
- layoutlm
|
7 |
+
- document-classification
|
8 |
+
- pdf
|
9 |
+
- invoices
|
10 |
---
|
11 |
|
12 |
+
# Model Card for LayoutLM for Document Classification
|
13 |
|
14 |
# Model Details
|
15 |
|
|
|
163 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
164 |
|
165 |
tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-classifier")
|
166 |
+
|
167 |
model = AutoModelForSequenceClassification.from_pretrained("impira/layoutlm-document-classifier")
|
168 |
+
|
169 |
+
```
|
170 |
+
</details>
|
171 |
+
|
172 |
+
|
173 |
+
|
174 |
+
|