dennispark commited on
Commit
c35f7a6
β€’
1 Parent(s): bb24520

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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(["nsmc sentence: λ‹Ήμ‹ μ˜ 이름은 λ¬΄μ—‡μΈκ°€μš”?"]).input_ids
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