Tr ocr training error
I am trying to fine tune the trocr model on an custom data. While training I am getting an error statingValueError: text input must of typestr(single example),List[str](batch or single pretokenized example) orList[List[str]](batch of pretokenized examples).image1272×630 55.1 KBthe link to notebook I was referring:kaggle.comNotebook 2: Train TrOCR Model (3 epochs)Explore and run machine learning code with Kaggle Notebooks | Using data from multiple data sourcesKindly provide me help!!