Instructions to use seungwon12/layoutlm-document-extract with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use seungwon12/layoutlm-document-extract with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="seungwon12/layoutlm-document-extract")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("seungwon12/layoutlm-document-extract") model = AutoModelForTokenClassification.from_pretrained("seungwon12/layoutlm-document-extract", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f421fc4
1
Parent(s): 34e8438
Delete preprocessor_config.json
Browse files- preprocessor_config.json +0 -7
preprocessor_config.json
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"apply_ocr": false,
|
| 3 |
-
"do_resize": true,
|
| 4 |
-
"feature_extractor_type": "LayoutLMv2FeatureExtractor",
|
| 5 |
-
"resample": 2,
|
| 6 |
-
"size": 224
|
| 7 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|