Closed iYaDongWang closed 2 weeks ago
hi, here are some experiemental suggestions ,
first, try to avoid the model generate \n' as the first charactors. for example, add
\n' after <fim_middle>' or before
second avoid some unnecessary empty lines like these
public class SignUtil {
//判断一个字符串是否为回字符串串<fim_suffix>
When encountering certain prompts, Codeqwen often repeatedly outputs the same code snippets. Here is a reproducible example with the prompt and options:
Prompt:
Options:
By using this prompt and these options, Codeqwen tends to generate duplicate code snippets.
Output mey like:
Do you have any suggestions to avoid this issue?