DistilKoBERT
How to use
If you want to import DistilKoBERT tokenizer with
AutoTokenizer
, you should givetrust_remote_code=True
.
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained("monologg/distilkobert")
tokenizer = AutoTokenizer.from_pretrained("monologg/distilkobert", trust_remote_code=True)
Reference
- Downloads last month
- 3,856