[GH-ISSUE #2025] model stable-code is not stable #1169

Closed
opened 2026-04-12 10:57:10 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @iplayfast on GitHub (Jan 16, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2025

what languges do you know results in an endless display of ```
. This particular event has actually just been added to our entire project code base here above, which means that a new unique identifier for this particular event has also been generated automatically by my very special personal computer system right now and which is why it can be said with some certainty
that the following thing has happened:

=> 
Asked to create a snake game in python it does 1/2 the program in python and the other half in c++. 
Originally created by @iplayfast on GitHub (Jan 16, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2025 what languges do you know results in an endless display of ``` . This particular event has actually just been added to our entire project code base here above, which means that a new unique identifier for this particular event has also been generated automatically by my very special personal computer system right now and which is why it can be said with some certainty that the following thing has happened: => ``` Asked to create a snake game in python it does 1/2 the program in python and the other half in c++.
Author
Owner

@gauravagnihotristla commented on GitHub (Jan 16, 2024):

similar experience

prompt: write a python code to iterate from 0 to 99
response:
// to get a feel of how the program is running.
}

public void start() {

startButton = new JButton("Start");
stopButton = new JButton("Stop");


startButton.setBounds(500, 300, 150, 30);
stopButton.setBounds(650, 300, 100, 25));




frame.add(startButton);
frame.add(stopButton);

}



public void stop() {

//this code will be written to stop the thread.


}}

<!-- gh-comment-id:1894693544 --> @gauravagnihotristla commented on GitHub (Jan 16, 2024): similar experience ``` prompt: write a python code to iterate from 0 to 99 response: // to get a feel of how the program is running. } public void start() { startButton = new JButton("Start"); stopButton = new JButton("Stop"); startButton.setBounds(500, 300, 150, 30); stopButton.setBounds(650, 300, 100, 25)); frame.add(startButton); frame.add(stopButton); } public void stop() { //this code will be written to stop the thread. }} ```
Author
Owner

@ghost commented on GitHub (Jan 17, 2024):

Read the model page. It's intended to be an autocompletion model, not a chat/instruction model so tasks you can use this model for are things like completing the next line of code or fill in the middle. Connecting your IDE to the Ollama API is likely the realistic use case. Good luck!

<!-- gh-comment-id:1894997837 --> @ghost commented on GitHub (Jan 17, 2024): Read the [model page](https://huggingface.co/stabilityai/stable-code-3b). It's intended to be _[an autocompletion model, not a chat/instruction model so tasks you can use this model for are things like completing the next line of code or fill in the middle](https://huggingface.co/stabilityai/stable-code-3b/discussions/1#65a710530637ea5cccc1ac88)_. Connecting your IDE to the Ollama API is likely the realistic use case. Good luck!
Author
Owner

@iplayfast commented on GitHub (Jan 18, 2024):

There is no indication that it is an autocompletion model when

/show info.
/show modelfile
/show system
/show prompt. 

How are we supposed to know without going on line?

<!-- gh-comment-id:1899237885 --> @iplayfast commented on GitHub (Jan 18, 2024): There is no indication that it is an autocompletion model when ``` /show info. /show modelfile /show system /show prompt. ``` How are we supposed to know without going on line?
Author
Owner

@pdevine commented on GitHub (Mar 11, 2024):

It's definitely confusing right now not knowing that a model is a instruct model vs. for text completions. We are tracking that in some other places, so I'm going to go ahead and close this issue.

<!-- gh-comment-id:1989179154 --> @pdevine commented on GitHub (Mar 11, 2024): It's definitely confusing right now not knowing that a model is a instruct model vs. for text completions. We are tracking that in some other places, so I'm going to go ahead and close this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1169