QwenLM / Qwen2.5-Coder

Qwen2.5-Coder is the code version of Qwen2.5, the large language model series developed by Qwen team, Alibaba Cloud.
3.1k stars 210 forks source link

Qwen2.5-Coder-Instruct能力咨询 #91

Closed 00010110 closed 2 months ago

00010110 commented 2 months ago

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

cyente commented 2 months ago

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.