Instructions to use microsoft/layoutlm-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/layoutlm-base-uncased with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/layoutlm-base-uncased", dtype="auto") - Notebooks
- Google Colab
- Kaggle
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.
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
