do_sample=True, max_new_tokens=max_length, top_p=1.0, top_k=0, temperature=0.7, repetition_penalty=1.1, typical_p=1.0,