dennispark
commited on
Commit
β’
c35f7a6
1
Parent(s):
bb24520
Update README.md
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ from transformers import T5TokenizerFast, T5ForConditionalGeneration
|
|
23 |
tokenizer = T5TokenizerFast.from_pretrained('paust/pko-t5-large')
|
24 |
model = T5ForConditionalGeneration.from_pretrained('paust/pko-t5-large')
|
25 |
|
26 |
-
input_ids = tokenizer(["
|
27 |
labels = tokenizer(["T5 μ
λλ€."]).input_ids
|
28 |
outputs = model(input_ids=input_ids, labels=labels)
|
29 |
|
|
|
23 |
tokenizer = T5TokenizerFast.from_pretrained('paust/pko-t5-large')
|
24 |
model = T5ForConditionalGeneration.from_pretrained('paust/pko-t5-large')
|
25 |
|
26 |
+
input_ids = tokenizer(["qa question: λΉμ μ μ΄λ¦μ 무μμΈκ°μ?"]).input_ids
|
27 |
labels = tokenizer(["T5 μ
λλ€."]).input_ids
|
28 |
outputs = model(input_ids=input_ids, labels=labels)
|
29 |
|