A Thorough Examination of Decoding Methods in the Era of LLMs