python报错:ImportError: cannot import name ‘AlbertModel‘ from ‘transformers‘

运行别人代码的时候报错

我们只需要将transformers升级一下即可

pip install transformers --upgrade

你可能感兴趣的:(python报错:ImportError: cannot import name ‘AlbertModel‘ from ‘transformers‘)