cscg
1.0.0
Ad-hoc implementation of the CS/CG model proposed by Wei et al.
torch.utils.data.Dataset, with methods for
__getitem__ which must return a training example__len__P(x), where x: anno/code tensor)lm-{dataset_name}-{kind}.pt (e.g. lm-django-anno.pt).P(x) for each x (anno/code tensor).@article{wei2019code,
title={Code Generation as a Dual Task of Code Summarization},
author={Wei, Bolin and Li, Ge and Xia, Xin and Fu, Zhiyi and Jin, Zhi},
journal={arXiv preprint arXiv:1910.05923},
year={2019}
}