Instructions to use imenrebhi/LayoutLMv2-model-pfe2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use imenrebhi/LayoutLMv2-model-pfe2 with Transformers:
# Load model directly from transformers import AutoProcessor, LayoutLMv2ForRelationExtraction processor = AutoProcessor.from_pretrained("imenrebhi/LayoutLMv2-model-pfe2") model = LayoutLMv2ForRelationExtraction.from_pretrained("imenrebhi/LayoutLMv2-model-pfe2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
392660a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bbcbc06c000e649130652a661cf2b53d6aa8b1c84858d72aaed491344bf0ddb5
size 3375
|