docstr: Return the max output length. Since the encoder-decoder models have separate maximum context lengths
  for the input prompts and the completions, we need to keep track of the two values separately.
  By default, `max_output_length` equals `max_sequence_length`.
docstr_tok: ["Return","the","max","output","length",".","Since","the","encoder-decoder","models","have","separate","maximum","context","lengths","for","the","input","prompts","and","the","completions",",","we","need","to","keep","track","of","the","two","values","separately",".","By","default",",","`","max_output_length","`","equals","`","max_sequence_length","`","."]
code: def max_output_length(self) -> int:
      """
      Return the max output length. Since the encoder-decoder models have separate maximum context lengths
      for the input prompts and the completions, we need to keep track of the two values separately.
      By default, `max_output_length` equals `max_sequence_length`.
      """
      return self.max_sequence_length
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/window_services/encoder_decoder_window_service.py
imports: from abc import ABC
  from helm.common.hierarchical_logger import hlog
  from .local_window_service import LocalWindowService
  from .tokenizer_service import TokenizerService
label_desc: Use image node_id 3 for calling the EncoderDecoderWindowService obj's underlying member method code with example usage: obj.max_output_length() and returns: self