(data_dir, task_number)
return BABI(path=data_dir, task=task, subset=subset)
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.
Handle for bAbI task.
Handle for bAbI task .
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)
def babi_handler ( data_dir , task_number ) : task = task_list [ task_number - 1 ] return BABI ( path = data_dir , task = task , subset = subset )