How to remove punctuation marks. [Transformers Translation model]

i trained t5-large for translation.

the result of train was good

But when i input some sentence, the result is like that “What are you doing now?.??..”

[?.??..] ← how to delete that punctuation marks.

i put some parameter like max_length. But i can not solve that situation