Results 2 comments of sahiljethani

In BertTokenizer's, convert_tokens_to_ids function gives KeyError. So, I suggest to modify the for loop in the function as follows. for token in tokens: ids.append(self.vocab.get(token, self.vocab['[UNK]']))

Hey can anybody help me out on how to train this model from scratch?