-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model request: StarCoder2 #2817
Comments
It'll have to be supported in Llama.cpp, first. Someone submitted a PR earlier today: ggml-org/llama.cpp#5795 |
I had a play with this on Nvidia Playground a few days ago but the results were a bit questionable? Like even they were having trouble setting up their thing. |
it is supported with the latest llama.cpp. |
With it now supported in Ollama 0.1.28, I'm seeing similar questionable generation as on the Nvidia Playground, but I'd say worse. For example,
(Hint: use the loop!)
//for(var i=0;i<50;i++){
console.log("Pippeli");
//}
/week-07/day-2/purple-steps-3d/purple-steps-3d.js
'use strict';
...
; i++) {\n console.log('pippeli');\n}",
"correct": false,
"feedback": ""
}, {
... Just the model? |
Sadly when using more complex fill-in-middle prompts for JavaScript and Typescript I am also getting some odd responses. However, with python it seems to be working well, not sure if the model or something else... |
Using better completion-style prompts gave better results, though the prompts really have to be massaged sometimes or the output is way off. The model also never stops when it should, just keeps putting out loose association. But it's pretty good when it works, for pure coding seems better than DeepSeek Coder at twice the size. |
I'm also having issues with 3b, 7b, 15b using the pre-release version - I'm asking it to write code to calculate the 14th Fibonacci number and it starts well but then goes off onto other things (and helps us understand where the training data comes from :) ). My prompt:
Output (truncated as it keeps going):
|
This is still an issue, the model does not stop when it's meant to. You get a good completion followed by random code from unrelated files. |
Sorry for the delay in getting to this issue... we do have starcoder 2 now: |
Please add the StarCoder2 model family: https://huggingface.co/collections/bigcode/starcoder2-65de6da6e87db3383572be1a
The text was updated successfully, but these errors were encountered: