BERT-pytorch icon indicating copy to clipboard operation
BERT-pytorch copied to clipboard

An error occurred【AttributeError: type object 'BERT' has no attribute 'hidden'】

Open XueqiangF opened this issue 5 years ago • 0 comments

class BERTLM:self.next_sentence = NextSentencePrediction(self.bert.hidden) This error appeared when I ran: 【AttributeError: type object 'BERT' has no attribute 'hidden'】 How to deal with it? Thank you!

XueqiangF avatar Dec 08 '20 12:12 XueqiangF