cscg
1.0.0
Wei等人提出的CS/CG模型的臨時實施。
torch.utils.data.Dataset的子類__getitem__必須返回培訓示例__len__P(x) ,其中x :anno/code張量)lm-{dataset_name}-{kind}.pt (例如lm-django-anno.pt )。x (Anno/Code Tensor)計算P(x) 。 @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}
}