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.
806 stars 74 forks source link

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

Closed 00010110 closed 1 month ago

00010110 commented 1 month ago

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

cyente commented 1 month 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.