Token Classification
Transformers
Safetensors
English
layoutlmv3
document-ai
invoice
sroie
BIO-tagging
NER
named-entity-recognition
multimodel
Instructions to use devashish-pisal/layoutlmv3-sroie-token-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devashish-pisal/layoutlmv3-sroie-token-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="devashish-pisal/layoutlmv3-sroie-token-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("devashish-pisal/layoutlmv3-sroie-token-classification") model = AutoModelForTokenClassification.from_pretrained("devashish-pisal/layoutlmv3-sroie-token-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from devashish-pisal/layoutlmv3-sroie-token-classification: direct link, hf CLI and curl.
- Browser
- Download file 564 Bytes
-
https://huggingface.co/devashish-pisal/layoutlmv3-sroie-token-classification/resolve/main/processor_config.json
- Command line
-
hf download hf://devashish-pisal/layoutlmv3-sroie-token-classification/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/devashish-pisal/layoutlmv3-sroie-token-classification/resolve/main/processor_config.json
564 Bytes
| { | |
| "image_processor": { | |
| "apply_ocr": false, | |
| "data_format": "channels_first", | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "LayoutLMv3ImageProcessorFast", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 224, | |
| "width": 224 | |
| }, | |
| "tesseract_config": "" | |
| }, | |
| "processor_class": "LayoutLMv3Processor" | |
| } | |