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)
Reference
- Downloads last month
- 151,189
Inference API (serverless) has been turned off for this model.