def babi_handler(data_dir, task_number):
 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 )
handle for babi task .