class_docstr: Helper class which computes token-level F1.
code: def compute_each_pair(guess: str, answer: str):
      if answer == "":
          return None, None, None
      if guess == "":
          return 0, 0, 0
      g_tokens = normalize_answer(guess).split()
      a_tokens = normalize_answer(answer).split()
  
      precision, recall, f1 = F1Metric._prec_recall_f1_score(
          g_tokens, a_tokens
      )
      return precision, recall, f1
  
file_path: megatron-lm/tasks/msdp/metrics.py
imports: from collections import Counter
  from typing import List
  import numpy
  import re
label_desc: Use image node_id 2 for calling the F1Metric obj's underlying member method code with example usage: obj.compute_each_pair(guess, answer) and returns: precision,  recall,  f1, None,  None,  None, int,  int,  int