code2seq code2seq(https://arxiv.org/abs/1808.01400 )を著者のtensorflowでの実装(https://github.com/tech-srl/code2seq )を参考にpytorchで実装し直したものです。 コーパスは、著者の方が公開されている前処理済みのものをそのまま使用しました。(https://github.com/tech-srl/code2seq#datasets )