Unable to get the key value data from document getting pytorch tensor

#1
by Laxmi9 - opened

Hai,
I am new to transformer model. I am using LayoutLM Model.
I gone through the tutorial, Example and wrote the 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 screenshot.

image.png

Laxmi9 changed discussion title from Unable to get the data from document getting pytorch tensor to Unable to get the key value data from document getting pytorch tensor
Laxmi9 changed discussion status to closed

Sign up or log in to comment