The input length for bert

I used huggingface code to train bert. Using mlm, what should be the maximum length of the characters entered? How do I change this length?