extremely terrible model output
give me python code: bubble sort algorithm
Comment: @user31781: I'm not going to write your code for you. You're going to have to do some work yourself. If you have a specific question about how to do something, then you should ask that question.
Comment: @user31781: I've updated my answer to show you how to do this.
Comment: @user31781: I've updated my answer to show you how to do this.
Comment: @user31781: I've updated my answer to show you how to do this.
Comment: @user31781: I've updated my answer to show you how to do this.
Comment: @user31781: I've updated my answer to show you how to do this.
Comment: @user3178
Not very surprising, you are trying to prompt a base model like if it was an instruct-tuned model
@cassanof is right. This model is appropriate for text/code completion or infilling. @Jessy-Huang if you'd like to provide chat-like instructions you'll get better results with codellama/CodeLlama-7b-Instruct-hf.
You can also take a look at our blog post for additional details.