def max_positions(self):
    'Return the max sentence length allowed by the task.'
    return (self.args.max_source_positions, self.args.max_target_positions)
Return the max sentence length allowed by the task.
def max_positions(self):
    
    return (self.args.max_source_positions, self.args.max_target_positions)