No module named 'nl2code.dynamic_block_dataset' when run_generating_codes.sh
lifelongeeek opened this issue · 2 comments
lifelongeeek commented
Hello.
When I executing run_generating_codes.sh, the following error occurs.
File "/data/gmkim/PyCodeGPT/apicoder/CodeGenAPI/eval_private.py", line 13, in <module>
from nl2code.modeling_codegen import CodeGenForCausalLM
File "/data/gmkim/PyCodeGPT/apicoder/CodeGenAPI/nl2code/__init__.py", line 3, in <module>
from .code_dataset import CodeBlockDataset, CodeDatasetCallBack
File "/data/gmkim/PyCodeGPT/apicoder/CodeGenAPI/nl2code/code_dataset.py", line 14, in <module>
from .dynamic_block_dataset import DynamicBlockDataset
ModuleNotFoundError: No module named 'nl2code.dynamic_block_dataset'
I couldn't find dynamic_block_dataset from this repository. Could you suggest the solution?
NL2Code commented
Please use https://github.com/microsoft/PyCodeGPT/blob/main/cert/nl2code/dynamic_block_dataset.py to resolve it.
lifelongeeek commented
Thanks it works 👍