code: def get_score(self, ground_truth, predicted_text):
      return {
          "bleu_score": torch.tensor(
              self.scorer.corpus_score(
                  predicted_text,
                  [[i] for i in ground_truth],
              ).score
          )
      }
  
file_path: NeMo/nemo/collections/nlp/metrics/prompt_learning_metrics.py
imports: from abc import ABC, abstractmethod
  import numpy
  import torch
  from rouge_score import rouge_scorer
  from sacrebleu import BLEU
label_desc: Use image node_id 2 for calling the BLEUScore obj's underlying member method code with example usage: obj.get_score(ground_truth, predicted_text) and returns: dict