JoakimL13 commited on
Commit
fd0f955
1 Parent(s): be939ac

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -1
README.md CHANGED
@@ -7,4 +7,11 @@ tags:
7
  ---
8
  from datasets import load_dataset
9
 
10
- ds = load_dataset("sebastiandizon/genius-song-lyrics")
 
 
 
 
 
 
 
 
7
  ---
8
  from datasets import load_dataset
9
 
10
+ ds = load_dataset("sebastiandizon/genius-song-lyrics")
11
+
12
+
13
+ # Load model directly
14
+ from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering
15
+
16
+ tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-qa")
17
+ model = AutoModelForDocumentQuestionAnswering.from_pretrained("impira/layoutlm-document-qa")