class_docstr: The bAbI dataset is from the paper:
  https://arxiv.org/abs/1502.05698
  
  Original repository can be found at:
  https://github.com/facebookarchive/bAbI-tasks
  
  bAbi is a QA dataset containing 20 reasoning tasks:
  
  1. Single supporting fact
  2. Two supporting facts
  3. Three supporting facts 12%
  4. Binary relations (the office is north of the kitchen)
  5. Ternary relations (Mary gave the cake to Bill)
  6. Yes/No Questions
  7. Counting
  8. Lists/Sets (what items is he holding?)
  9. Negation
  10. Indefinite Knowledge (maybe, could be)
  11. Basic Coreference (he, she)
  12. Conjunction (and)
  13. Compound Coreference (they)
  14. Temporal reasoning (before, after)
  15. Deduction (transitive reasoning)
  16. Induction
  17. Spatial Reasoning (right, left, on top)
  18. Size Reasoning (smaller, larger)
  19. Path finding
  20. Motivation (Why did he go to the kitchen?)
  
  Each sample contains a passage (an ordered list of facts), a question and
  an answer that are generated in an unconstrained/unprompted setting.
  
  We prompt models using the following format
  
      Input sequence:
          Passage: <passage>
          Question: <question>
          Answer:
  
      Output Sequence (Target completion):
          <answer>
  
  Using an example from the training dataset, we have:
  
          Mary moved to the bathroom.
          John went to the hallway.
          Daniel went back to the hallway.
          Sandra moved to the garden.
          John moved to the office.
          Sandra journeyed to the bathroom.
          Where is Daniel? hallway
          Mary moved to the hallway.
          Daniel travelled to the office.
          Where is Daniel?
  
      Target completion:
          office
docstr: Turn a path string (task 19) from the original format 's,w' to a verbal model-friendly format 'south west'
code: def process_path(path: str) -> str:
      """Turn a path string (task 19) from the original format 's,w' to a verbal model-friendly format 'south west'"""
      steps: List[str] = path.split(",")
      directions = {
          "s": "south",
          "n": "north",
          "e": "east",
          "w": "west",
      }
      path = " ".join([directions[step] for step in steps])
      return path
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/scenarios/babi_qa_scenario.py
imports: import os
  from typing import List
  from helm.common.general import ensure_file_downloaded, ensure_directory_exists
  from .scenario import Scenario, Instance, Reference, TRAIN_SPLIT, VALID_SPLIT, TEST_SPLIT, CORRECT_TAG, PassageQuestionInput, Output
label_desc: Use image node_id 1 for calling the BabiQAScenario obj's underlying member method code with example usage: obj.process_path(path) and returns: path