from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("monologg/koelectra-small-v2-distilled-korquad-384")
model = AutoModelForQuestionAnswering.from_pretrained("monologg/koelectra-small-v2-distilled-korquad-384")
How to clone the model repo
git lfs install
git clone https://huggingface.co/monologg/koelectra-small-v2-distilled-korquad-384
# if you want to clone without large files – just their pointers
# prepend your git clone with the following env var:
GIT_LFS_SKIP_SMUDGE=1