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") - Notebooks
- Google Colab
- Kaggle