wietsedv / bertje

BERTje is a Dutch pre-trained BERT model developed at the University of Groningen. (EMNLP Findings 2020) "What’s so special about BERT’s layers? A closer look at the NLP pipeline in monolingual and multilingual models"
https://aclanthology.org/2020.findings-emnlp.389/
Apache License 2.0
135 stars 10 forks source link

"bert-base-dutch-cased" not recognized on huggingface transformers #3

Closed DirkWW closed 4 years ago

DirkWW commented 4 years ago

Although also described in the transformers documentation the model seems not available there. đź‘Ť

OSError: Model name 'bert-base-dutch-cased' was not found in model name list (bert-base-uncased, bert-large-uncased, bert-base-cased, bert-large-cased, bert-base-multilingual-uncased, bert-base-multilingual-cased, bert-base-chinese, bert-base-german-cased, bert-large-uncased-whole-word-masking, bert-large-cased-whole-word-masking, bert-large-uncased-whole-word-masking-finetuned-squad, bert-large-cased-whole-word-masking-finetuned-squad, bert-base-cased-finetuned-mrpc, bert-base-german-dbmdz-cased, bert-base-german-dbmdz-uncased). We assumed 'bert-base-dutch-cased' was a path or url to a configuration file named config.json or a directory containing such a file but couldn't find any such file at this path or url.

wietsedv commented 4 years ago

It should be available in version 2.4+ and later. Make sure you have updated Transformers to the latest version.

DirkWW commented 4 years ago

Indeed, it works now. I have been looking out to test a Dutch Bert version. Thanks!