From 4871f87d9764c5f22ec30bdb379d27867e93ecf4 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 26 Oct 2024 16:13:52 -0400 Subject: [PATCH] adjust starcoder model stop tokens matching what the continue.dev plugin code specifies for this. seems to work ok (but starcoder still seems poor overall) --- nvim/lua/plugins/nvim-cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/plugins/nvim-cmp.lua b/nvim/lua/plugins/nvim-cmp.lua index 35702ce..8f501f6 100644 --- a/nvim/lua/plugins/nvim-cmp.lua +++ b/nvim/lua/plugins/nvim-cmp.lua @@ -48,7 +48,7 @@ return { elseif model:match '^qwen' then return { '<|endoftext|>' } elseif model:match '^starcoder' then - return { '', '<|end_of_text|>', '<|endoftext|>' } + return { '', '', '', '', '<|endoftext|>' } elseif model:match '^codestral' then return { '[INST]', '[/INST]', '[PREFIX]', '[MIDDLE]', '[SUFFIX]' } elseif model:match '^deepseek%-coder' then