When I try to predict all tokens in my text using BERT with this function:
def load_predict_BERT(self, masked_text