code: def babi_handler(data_dir, task_number):
      """
      Handle for bAbI task.
  
      Args:
          data_dir (string) : Path to bAbI data directory.
          task_number (int) : The task ID from the bAbI dataset (1-20).
  
      Returns:
          BABI : Handler for bAbI task.
      """
      task = task_list[task_number - 1]
      return BABI(path=data_dir, task=task, subset=subset)
  
imports: from neon.data import BABI
  from neon.initializers import GlorotUniform, Uniform, Orthonormal
  from neon.layers import Affine, GRU, LookupTable, MergeMultistream, LSTM
  from neon.models import Model
  from neon.transforms import Logistic, Softmax, Tanh
label_desc: Use image node_id 1 for calling a global function with example usage: babi_handler(data_dir, task_number) and returns: BABI