How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoProcessor, LayoutLMv2ForRelationExtraction

processor = AutoProcessor.from_pretrained("imenrebhi/LayoutLMv2-model-pfe2")
model = LayoutLMv2ForRelationExtraction.from_pretrained("imenrebhi/LayoutLMv2-model-pfe2")
Quick Links

No model card

Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support