Preprocessing data
The next step is to load a ViLT processor to prepare the image and text data for the model. 
[ViltProcessor] wraps a BERT tokenizer and ViLT image processor into a convenient single processor:
 

from transformers import ViltProcessor
processor = ViltProcessor.from_pretrained(model_checkpoint)