BERT-pytorch
BERT-pytorch copied to clipboard
An error occurred【AttributeError: type object 'BERT' has no attribute 'hidden'】
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!