    def max_positions(self):
        """Return the max speech and sentence length allowed by the task."""
        return (self.args.max_source_positions, self.args.max_target_positions)
Return the max speech and sentence length allowed by the task.
examples/speech_recognition/tasks/speech_recognition.py