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 History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.32a19c5
-
Delete state.json
7312601 -
Delete dataset_info.json
0cf3cc4 -
Delete data-00000-of-00001.arrow
2ba2c2d -
Delete train_data.csv
7486e91
-
Rename train_data .csv to train_data.csv
9d99463 -
Upload 3 files
ed6061b
-
Upload train_data .csv
c06a223 -
Delete preprocessor_config.json
f421fc4 -
Create preprocessor_config.json
34e8438
-
Upload 2 files
2588b95 -
Create README.md
52839a5
-
Upload 2 files
080e48c -
Delete pytorch_model.bin
94bd732 -
Delete config.json
e957f64 -
Upload config.json
2f718f0 -
Delete config.json
6f0b857 -
Upload 2 files
4236094
-
Upload 2 files
455fe10 -
initial commit
9693cf7