For Python dataset, its original codes are not runnable in python3. An optional way to deal with such problem is that we can acquire runnable Python codes from raw data.
Download pre-processed and raw (python_wan) dataset.
bash dataset/python_wan/download.sh
Clean raw code files.
python -m dataset.python_wan.clean
Move code/code_tokens/docstring/docstring_tokens to ~/.ncc/python_wan/flatten/*
.
python -m dataset.python_wan.flatten
Or you can download our processed Python(Wan) dataset
bash dataset/python_wan/lazy_download.sh