distilkobert / README.md
monologg's picture
feat: trust_remote_code enabled
4a1fd77
metadata
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.

from transformers import AutoModel, AutoTokenizer

model = AutoModel.from_pretrained("monologg/distilkobert")
tokenizer = AutoTokenizer.from_pretrained("monologg/distilkobert", trust_remote_code=True)

Reference