QwenLM/Qwen2.5-Coder

Qwen2.5-Coder-Instruct能力咨询

Closed this issue · 1 comments

Qwen2.5-Coder-Instruct版本是否有代码补全能力?
image

Both models possess the capability for code completion, yet they are best utilized through distinct approaches.

For the base model, we advise employing the FIM (Fill-in-the-Middle) format incorporating specialized tokens to enhance its performance.

Conversely, the instruct model is optimally utilized by adopting a natural language format, thereby leveraging its understanding of instructions to facilitate code autocompletion tasks effectively.