Transformers How to use ghaith1997/layoutlmv3-text-extraction-test-2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ghaith1997/layoutlmv3-text-extraction-test-2") # Load model directly
from transformers import AutoProcessor, AutoModelForSequenceClassification
processor = AutoProcessor.from_pretrained("ghaith1997/layoutlmv3-text-extraction-test-2")
model = AutoModelForSequenceClassification.from_pretrained("ghaith1997/layoutlmv3-text-extraction-test-2")