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

Can you augment the model with whole repo?

Open vladimirpekez opened this issue 2 years ago • 1 comments

I am wondering can you augment the model with the whole repository and then reference it in the prompts? What would be the steps to try this out?

vladimirpekez avatar Dec 27 '23 16:12 vladimirpekez

The DeepSeek-Coder supports inputting an entire repository, but the length should not exceed 16k. The specific approach is to concatenate the files and write the file path at the beginning of each file. You can refer to https://github.com/deepseek-ai/DeepSeek-Coder#4-repository-level-code-completion.

guoday avatar Jan 02 '24 03:01 guoday