class_docstr: Reranks n-best hypotheses based on extra models and parameters
code: def compute_cloze_transformer_scores(self, src_tokens, hypos, scores):
      if not self.cloze_transformer_scorer:
          return
  
      cloze_scores = self.cloze_transformer_scorer.score(
          src_tokens, hypos
      )
      scores[:, FeatureList.CLOZE_SCORE.value] = cloze_scores[:]
  
imports: import argparse
  import pickle
  from enum import Enum
  import torch
  from fairseq.scoring import bleu
  from pytorch_translate import hybrid_transformer_rnn, utils
  from pytorch_translate.rescoring.model_scorers import LMScorer, R2LModelScorer, ReverseModelScorer, SimpleModelScorer
  from pytorch_translate.research.rescore import cloze_transformer_model
  from pytorch_translate.tasks import pytorch_translate_task
  from tqdm import tqdm
label_desc: Use image node_id 7 for calling the Rescorer obj's underlying member method code with example usage: obj.compute_cloze_transformer_scores(src_tokens, hypos, scores) without return types