deepseek-ai / DeepSeek-Coder

DeepSeek Coder: Let the Code Write Itself
https://coder.deepseek.com/
MIT License
6.01k stars 433 forks source link

Repository Level Code Completion format question #116

Closed zch-cc closed 5 months ago

zch-cc commented 5 months ago

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.

luofuli commented 5 months ago

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

icnahom commented 3 months ago

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