DeepSeek-Coder icon indicating copy to clipboard operation
DeepSeek-Coder copied to clipboard

Repository Level Code Completion format question

Open zch-cc opened this issue 1 year ago • 1 comments

Hi, first of all, thanks for getting this model and make it open source. I have a quick question on the format of Repository Level Code Completion, from the readme, it is # filename + code. I wonder # character is the format for Repository level or # make it as the comment for python. Take an example, if the code language is cpp, should we use // instead to make it as a comment or still use # ? thanks for answering my questions.

zch-cc avatar Feb 02 '24 03:02 zch-cc

For cpp, we use // filename + code. @zch-cc

luofuli avatar Feb 02 '24 04:02 luofuli

Why not use something consistent, like <filename> from starcoder?

icnahom avatar Mar 07 '24 13:03 icnahom