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.04k stars 202 forks source link

about code completions #71

Closed who52023 closed 6 months ago

who52023 commented 6 months ago

prompt = '' + prefix_code + '' + suffix_code + '' 使用此方法在行间补全时不是很准确,(比如函数中间确实几行),请问需要如何使用fim标签在这种情况下能准确补全。 另外看到有标签,有什么特别的使用方式吗?

cyente commented 6 months ago

<fim_pad> is only a placeholder tokens during training.

https://github.com/QwenLM/CodeQwen1.5/blob/main/examples/CodeQwen1.5-base.md please check out this document for FIM.