pytorch_pretrained_BERT
pytorch_pretrained_BERT copied to clipboard
Unexpected keyword argument 'max_len'
When I call from_pretrained, the code runs into this error:
File "/home/gregory.werner/.local/lib/python3.6/site-packages/pytorch_pretrained_bert/tokenization.py", line 197, in from_pretrained tokenizer = cls(resolved_vocab_file, *inputs, **kwargs) TypeError: init() got an unexpected keyword argument 'max_len'