Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
**InvoiceReceiptClassifier** is a fine-tuned LayoutLMv2 model that classifies a document to an invoice or receipt.
|
2 |
|
3 |
## Quick start: using the raw model
|
@@ -27,4 +34,5 @@ logits = outputs.logits
|
|
27 |
predicted_class_idx = logits.argmax(-1).item()
|
28 |
id2label = {0: "invoice", 1: "receipt"}
|
29 |
print(id2label[predicted_class_idx])
|
30 |
-
```
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- spa
|
4 |
+
license: "other"
|
5 |
+
datasets:
|
6 |
+
- Custom dataset
|
7 |
+
---
|
8 |
**InvoiceReceiptClassifier** is a fine-tuned LayoutLMv2 model that classifies a document to an invoice or receipt.
|
9 |
|
10 |
## Quick start: using the raw model
|
|
|
34 |
predicted_class_idx = logits.argmax(-1).item()
|
35 |
id2label = {0: "invoice", 1: "receipt"}
|
36 |
print(id2label[predicted_class_idx])
|
37 |
+
```
|
38 |
+
|