AttributeError: type object ‘BertConfig‘ has no attribute ‘pretrained_config_archive_map‘
这个应该是版本的问题,更换一下版本。pip install transformers==2.0.0或者:try$from transformers import ALBERT_PRETRAINED_CONFIG_ARCHIVE_MAPor$from transformers import BERT_PRETRAINED_CONFIG_ARCHIVE_MAP参考链接:https://github.com/huggingface/transformers/issues/58