cscg
1.0.0
La mise en œuvre ad hoc du modèle CS / CG proposé par Wei et al.
torch.utils.data.Dataset , avec des méthodes pour__getitem__ qui doit retourner un exemple de formation__len__P(x) , où x : anno / code tenseur)lm-{dataset_name}-{kind}.pt (par exemple lm-django-anno.pt ).P(x) pour chaque x (tenseur anno / code). @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}
}