Update README.md
Browse files
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 |
|