Ahmadzei's picture
added 3 more tables for large emb model
5fa1a76
from transformers import AutoProcessor
processor = AutoProcessor.from_pretrained(model_checkpoint)
Preprocessing document images
First, let's prepare the document images for the model with the help of the image_processor from the processor.