from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("proycon/robbert2-ner-cased-sonar1-nld")
model = AutoModelForTokenClassification.from_pretrained("proycon/robbert2-ner-cased-sonar1-nld")
How to clone the model repo
git lfs install
git clone https://huggingface.co/proycon/robbert2-ner-cased-sonar1-nld
# 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