rlian:

tokenizer = BertTokenizer.from_pretrained(model_args.model_name_or_path)


This line threw the error while loading the pre-trained the tokenizer. I wonder if I have to set additional_special_tokens while loading?
tokenizer = BertTokenizer.from_pretrained(model_args.model_name_or_path, additional_special_tokens=list_of_word)