code: def __new__(
      cls,
      loss,
      exact_match,
      f1,
      bleu,
      k,
      exact_match_top_k,
      f1_top_k,
      bleu_top_k,
      length_metrics,
      length_reports,
  ):
      self = super(Seq2SeqTopKMetrics, cls).__new__(
          cls, loss, exact_match, f1, bleu
      )
      self.k = k
      self.exact_match_top_k = exact_match_top_k
      self.f1_top_k = f1_top_k
      self.bleu_top_k = bleu_top_k
      self.length_metrics = length_metrics
      self.length_reports = length_reports
      return self
  
file_path: pytext/pytext/metrics/seq2seq_metrics.py
imports: import collections
  from typing import Dict, NamedTuple
  from pytext.metrics import ClassificationMetrics
label_desc: Use image node_id 1 for calling the MaskedSeq2SeqTopKMetrics obj's underlying member method code with example usage: obj.__new__(cls, loss, exact_match, f1, bleu, k, exact_match_top_k, f1_top_k, bleu_top_k, length_metrics, length_reports) and returns: self