docs: README
Browse files
README.md
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- ko
|
5 |
+
mask_token: "[MASK]"
|
6 |
+
widget:
|
7 |
+
- text: ๋ํ๋ฏผ๊ตญ์ ์๋๋ [MASK] ์
๋๋ค.
|
8 |
+
---
|
9 |
+
|
10 |
+
# KoBERT
|
11 |
+
|
12 |
+
## How to use
|
13 |
+
|
14 |
+
> If you want to import KoBERT tokenizer with `AutoTokenizer`, you should give `trust_remote_code=True`.
|
15 |
+
|
16 |
+
```python
|
17 |
+
from transformers import AutoModel, AutoTokenizer
|
18 |
+
|
19 |
+
model = AutoModel.from_pretrained("monologg/kobert")
|
20 |
+
tokenizer = AutoTokenizer.from_pretrained("monologg/kobert", trust_remote_code=True)
|
21 |
+
```
|