tasks/add-or-mul/generate_data.py [97:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    root_bin = f'./{root}/data-bin/'
    pathlib.Path(root_bin).mkdir(parents=True)

    command = ['fairseq-preprocess', '--source-lang', 'src', '--target-lang',
               'dst', '--destdir', root_bin, 
               '--trainpref', f'{root_raw}/train', 
               '--validpref', f'{root_raw}/valid',
               '--testpref', f'{root_raw}/test']

    subprocess.check_call(command)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tasks/count-or-mem/generate_data.py [73:82]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    root_bin = f'./{root}/data-bin/'
    pathlib.Path(root_bin).mkdir(parents=True)

    command = ['fairseq-preprocess', '--source-lang', 'src', '--target-lang',
               'dst', '--destdir', root_bin, 
               '--trainpref', f'{root_raw}/train', 
               '--validpref', f'{root_raw}/valid', 
               '--testpref', f'{root_raw}/test']

    subprocess.check_call(command)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



