pytorch_bert_vec icon indicating copy to clipboard operation
pytorch_bert_vec copied to clipboard

config报错

Open qingyue2014 opened this issue 4 years ago • 1 comments

你好,我从提示位置下载了Albert的预训练模型,并尝试直接运行文件/albert/albert_total.py,得到报错 AttributeError: 'BertConfig' object has no attribute 'ln_type'。看起来问题是是缺少In_type参数。我查看了albert模型的config文件也没有这个In_type参数。请问如何解决呢?

qingyue2014 avatar May 01 '21 03:05 qingyue2014

具体追踪一下哪个文件哪行代码报错的,看起来是多了个参数。

nutalk avatar May 06 '21 00:05 nutalk