Update README.md
Browse files
README.md
CHANGED
@@ -9,6 +9,13 @@ license: mit
|
|
9 |
|
10 |
With the addition of chatting data, the model is trained to handle the semantics of sequences longer than KoBART.
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
### Performance
|
13 |
|
14 |
NSMC
|
|
|
9 |
|
10 |
With the addition of chatting data, the model is trained to handle the semantics of sequences longer than KoBART.
|
11 |
|
12 |
+
```python
|
13 |
+
from transformers import reTrainedTokenizerFast, BartModel
|
14 |
+
|
15 |
+
tokenizer = PreTrainedTokenizerFast.from_pretrained('gogamza/kobart-base-v2')
|
16 |
+
model = BartModel.from_pretrained('gogamza/kobart-base-v2')
|
17 |
+
```
|
18 |
+
|
19 |
### Performance
|
20 |
|
21 |
NSMC
|