Generation_max_length, generation_num_beams meaning in seq2seq

Hello, I am doing translation model right now and I need clarification about these twos args in Seq2SeqTrainingArguments.

What is the meaning of generation_max_length and generation_num_beams. Can someone explain me? I feel like the documentation explanation is not enough

THANKS