Instructions to use fedihch/InvoiceReceiptClassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fedihch/InvoiceReceiptClassifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="fedihch/InvoiceReceiptClassifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("fedihch/InvoiceReceiptClassifier") model = AutoModelForSequenceClassification.from_pretrained("fedihch/InvoiceReceiptClassifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,6 +11,7 @@ widget:
|
|
| 11 |
- src: https://templates.invoicehome.com/invoice-template-us-neat-750px.png
|
| 12 |
example_title: invoice
|
| 13 |
---
|
|
|
|
| 14 |
**InvoiceReceiptClassifier** is a fine-tuned LayoutLMv2 model that classifies a document to an invoice or receipt.
|
| 15 |
|
| 16 |
## Quick start: using the raw model
|
|
|
|
| 11 |
- src: https://templates.invoicehome.com/invoice-template-us-neat-750px.png
|
| 12 |
example_title: invoice
|
| 13 |
---
|
| 14 |
+
|
| 15 |
**InvoiceReceiptClassifier** is a fine-tuned LayoutLMv2 model that classifies a document to an invoice or receipt.
|
| 16 |
|
| 17 |
## Quick start: using the raw model
|