Update README.md
Browse files
README.md
CHANGED
@@ -5,13 +5,14 @@ pipeline_tag: question-answering
|
|
5 |
tags:
|
6 |
- music
|
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")
|
|
|
|
|
|
|
|
|
|
|
|
5 |
tags:
|
6 |
- music
|
7 |
---
|
|
|
|
|
|
|
|
|
8 |
|
9 |
# Load model directly
|
10 |
from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering
|
11 |
|
12 |
tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-qa")
|
13 |
model = AutoModelForDocumentQuestionAnswering.from_pretrained("impira/layoutlm-document-qa")
|
14 |
+
|
15 |
+
from datasets import load_dataset
|
16 |
+
|
17 |
+
ds = load_dataset("sebastiandizon/genius-song-lyrics")
|
18 |
+
|