Closed Wyzix33 closed 2 months ago
Hello, it seems you are using WizardCoder for FIM but with codellama template. I don't know which fim template WizardCoder supports or if it supports FIM. You should try a different model. Either deepseek base or codellama-code.
https://github.com/rjmacarthy/twinny/blob/main/docs/providers.md#fim-auto-complete-2
I see here: https://huggingface.co/epinnock/wizardcoder-1b-merged#fill-in-the-middle that WizardCoder uses the same FIM template as Starcoder, please try that as the FIM template, or use custom and edit your own.
See docs for recommended settings.
thanks for the answer, I've made progress but still not good enough, at least now i can get the FIM to work, here is what i get, I will try other LLM maybe the ones i got are not good...
https://github.com/rjmacarthy/twinny/assets/13553412/21210c7c-bb5b-4351-9183-780d03703d09
Hey, starcoder2 has an issue with completions, I have not been successful with it either. Please try codellama or deepseek-coder. Many thanks.
Describe the bug I've tried to use WizardCoder for FIM and it's not working, here is the log for LM Studio:
To Reproduce start a server with any coder LLM and test, sometimes i get a completion but it's nonsense...
Expected behavior A completion based on the context... in my case it should fill "$sedii]);" but sometimes i get nothing, other times i get some "#import <...>"
Desktop (please complete the following information):
Additional context I used twinny v3.11.9 and VSCode Version: 1.88.1 (user setup) Commit: e170252f762678dec6ca2cc69aba1570769a5d39 Date: 2024-04-10T17:41:02.734Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Windows_NT x64 10.0.22631
Chat seems to work tho... Thanks