examples/research_projects/seq2seq-distillation/utils.py/AbstractSeq2SeqDataset/get_char_lens
class AbstractSeq2SeqDataset:    def get_char_lens(data_file):
        return [len(x) for x in Path(data_file).open().readlines()]