Instructions to use impira/layoutlm-document-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use impira/layoutlm-document-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="impira/layoutlm-document-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-classifier") model = AutoModelForSequenceClassification.from_pretrained("impira/layoutlm-document-classifier") - Notebooks
- Google Colab
- Kaggle
Commit ·
c3e07d3
1
Parent(s): 3f2dc7e
Adding `safetensors` variant of this model
Browse files- .gitattributes +1 -0
- model.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -7,3 +7,4 @@
|
|
| 7 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 8 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 9 |
tf_model.h5 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 7 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 8 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 9 |
tf_model.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
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:ce4010cde27b9fe01beb2c318e95d18979f1474541897d61cdc5b7d0007f53e5
|
| 3 |
+
size 450599316
|