LLAMA2 / README.md
Aneesha18's picture
Create README.md
220c4de verified
|
Raw
History Blame Contribute Delete
266 Bytes

Load model directly

from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering

tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-qa") model = AutoModelForDocumentQuestionAnswering.from_pretrained("impira/layoutlm-document-qa")