【踩坑】单GPU微调BERT(SQuAD 1.1)
官方代码地址 https://github.com/google-research/bert用SQuAD 1.1数据集fine fune时,遇到不少坑,在此分享一下一、环境1.报错:AttributeError: module ‘tensorflow._api.v2.train’ has no attribute ‘Optimizer’问题为tensorflow版本不正确,必须使用1.x版本,我使用的是tensorflow1.15.0注意:python3.8不支持tensorflow1.15.0,






