def get_max_seq_length(samples):
    """helper function to get the maximum seq length for padding preparation"""

    seq_lengths = []
    for seq in samples:
        seq_lengths.append(len(seq[0]))

    return max(seq_lengths)