File size: 479 Bytes
4a1fd77 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
---
license: apache-2.0
language:
- ko
inference: false
---
# DistilKoBERT
## How to use
> If you want to import DistilKoBERT tokenizer with `AutoTokenizer`, you should give `trust_remote_code=True`.
```python
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained("monologg/distilkobert")
tokenizer = AutoTokenizer.from_pretrained("monologg/distilkobert", trust_remote_code=True)
```
## Reference
- https://github.com/monologg/DistilKoBERT
|