uf-hobi-informatics-lab / ClinicalTransformerNER

a library for named entity recognition developed by UF HOBI NLP lab featuring SOTA algorithms
MIT License
142 stars 28 forks source link

Compatible with Transformers >= 2.11.0 #2

Closed bugface closed 4 years ago

bugface commented 4 years ago

Since 2.11.0, transformers altered several API names which can cause breaks in the current package, we will work on this issue to make the current package more compatible with various versions of Transformers.

bugface commented 4 years ago

with Transformers==2.10.0, the current package should work fine.

bugface commented 4 years ago

see https://github.com/huggingface/transformers/issues/5842#issuecomment-660152436 for detailed information.

BERT_PRETRAINED_MODEL_ARCHIVE_MAP has been changed to BERT_PRETRAINED_MODEL_ARCHIVE_LIST

bugface commented 4 years ago

We forced to use transformers with versions > 2.11.0