codertimo / codertimo/BERT-pytorch
An error occurred【AttributeError: type object 'BERT' has no attribute 'hidden'】
Open
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.