gogamza commited on
Commit
6b2ed56
1 Parent(s): 5b5a14a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -13,7 +13,7 @@ license: MIT
13
  from transformers import PreTrainedTokenizerFast
14
  from transformers import BartForConditionalGeneration
15
 
16
- tokenizer = PreTrainedTokenizerFast(
17
  'gogamza/kobart-summarization',
18
  bos_token='<s>', eos_token='</s>', unk_token='<unk>', pad_token='<pad>', mask_token='<mask>')
19
 
 
13
  from transformers import PreTrainedTokenizerFast
14
  from transformers import BartForConditionalGeneration
15
 
16
+ tokenizer = PreTrainedTokenizerFast.from_pretrained(
17
  'gogamza/kobart-summarization',
18
  bos_token='<s>', eos_token='</s>', unk_token='<unk>', pad_token='<pad>', mask_token='<mask>')
19