QwenLM / CodeQwen1.5

CodeQwen1.5 is the code version of Qwen, the large language model series developed by Qwen team, Alibaba Cloud.
371 stars 22 forks source link

about code completions #71

Closed who52023 closed 1 month ago

who52023 commented 1 month ago

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

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