Token Classification
Transformers
PyTorch
TensorBoard
Safetensors
layoutlmv3
Generated from Trainer
Eval Results (legacy)
Instructions to use nielsr/layoutlmv3-finetuned-funsd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/layoutlmv3-finetuned-funsd with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="nielsr/layoutlmv3-finetuned-funsd")# Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("nielsr/layoutlmv3-finetuned-funsd") model = AutoModelForTokenClassification.from_pretrained("nielsr/layoutlmv3-finetuned-funsd", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Upload preprocessor_config.json
Browse files- preprocessor_config.json +19 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"apply_ocr": true,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_resize": true,
|
| 5 |
+
"feature_extractor_type": "LayoutLMv3FeatureExtractor",
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.5,
|
| 8 |
+
0.5,
|
| 9 |
+
0.5
|
| 10 |
+
],
|
| 11 |
+
"image_std": [
|
| 12 |
+
0.5,
|
| 13 |
+
0.5,
|
| 14 |
+
0.5
|
| 15 |
+
],
|
| 16 |
+
"ocr_lang": null,
|
| 17 |
+
"resample": 2,
|
| 18 |
+
"size": 224
|
| 19 |
+
}
|