metadata
license: apache-2.0
language:
- ko
inference: false
KoBERT
How to use
If you want to import KoBERT tokenizer with
AutoTokenizer
, you should givetrust_remote_code=True
.
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained("monologg/kobert")
tokenizer = AutoTokenizer.from_pretrained("monologg/kobert", trust_remote_code=True)