from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("monologg/koelectra-base-v2-finetuned-korquad")
model = AutoModelForQuestionAnswering.from_pretrained("monologg/koelectra-base-v2-finetuned-korquad")
How to clone the model repo
git lfs install
git clone https://huggingface.co/monologg/koelectra-base-v2-finetuned-korquad
# 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