Hi @bwang482 ,
You are perfectly correct, the responsability of chosing the proper layout for this task goes to the tokenizer part (encode_plus or just encode).
What do you mean with max_length? I am not sure what you are referring to.
Cheers,
Nicolas