Transformers-Tutorials icon indicating copy to clipboard operation
Transformers-Tutorials copied to clipboard

Unable to get the data from document getting pytorch tensor

Open Laxmi530 opened this issue 2 years ago • 0 comments

Hai, I am new to transformer model. I am using LayoutLM Model. I gone through the tutorial, Example and wrote the code simple code to get the text data from the document but getting pytorch tensor as out put. Can someone please guide me how to get text data as in the document. I have attached code screen shot.

Annotation 2022-07-06 143340

Laxmi530 avatar Jul 06 '22 11:07 Laxmi530