Instructions to use impira/layoutlm-invoices with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use impira/layoutlm-invoices with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="impira/layoutlm-invoices")# Load model directly from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-invoices") model = AutoModelForDocumentQuestionAnswering.from_pretrained("impira/layoutlm-invoices", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
fdf5676
1
Parent(s): 416427d
Adding `safetensors` variant of this model (#4)
Browse files- Adding `safetensors` variant of this model (a08762fbaa2ec4d1d19e5195263d2536a79e30de)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- .gitattributes +1 -0
- model.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -30,3 +30,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 30 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 31 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 32 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 30 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 31 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 32 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8dc46b2ce5ff0890eb4d3941fa0e33167b4666abcc751a5298209c071950eece
|
| 3 |
+
size 511206968
|