microsoft / CodeBERT

CodeBERT
MIT License
2.15k stars 442 forks source link

Codereviewer : Comment Geneation model not using old file #251

Open oneraghavan opened 1 year ago

oneraghavan commented 1 year ago

The readme for codereviewer claims to using the oldfile in the comment generation task, but the run_finetune_msg passing in the raw_input parameter, which makes the finetuning to use the SimpleGenDataset instead of CommentGenDataset . SimpleGenDataset using only the diff and message. Let me know if I am missing something .

celbree commented 1 year ago

Sorry for not making it clear in readme. In our paper and experiments, we only use the code diff as input.