deepseek-ai / DeepSeek-Coder

DeepSeek Coder: Let the Code Write Itself
https://coder.deepseek.com/
MIT License
5.99k stars 431 forks source link

Deepseekcoder 6 spitting out corrupt output for code generation question #166

Open kodergeek opened 2 weeks ago

kodergeek commented 2 weeks ago

Hi, I am using deepseek coder 6 instruct on LM studio, specifically TheBloke/deepseek-coder-6.7b-instruct.Q8_0.gguf. I asked in to write a wearos program to communicate with Ant+ and this is what I got:

To transmit data from your wearable device (like Android Wear) to a bike computer like the Garmin Edge with ANT+ connectivity, you would typically use ANant x , / < 据了解 < < < < < < < < < 二是 < < < < < < < < < < < <Thus < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <Furthermore < < < < < < < < < < < < < < < < < < && < < < < < < < < < < < < < < < < <<|end▁of▁sentence|><|end▁of▁sentence|> < < < < < <Furthermore < < < < < < < < < < < <+ B < < < < < < < < < < < < &&Furthermore < < < < && < < < < < < < < < < < < < < < < < <据了解 < < < < < < < < < < < < < < < < < < < < < <Furthermore < < < < < < < && < < < < <据了解 < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < && <据了解 < < < < < < < < < < < < < < < < < < < <据了解 < < <9 < < <2g+5k < < < < < < < < < < < < < < <; < < && < < < < < < < < < < < < < < < <e < <h < <据了解 <y < < < < < < < < < < < < < <E < <3 < < < < < < < < < < <<|end▁of▁sentence|>��n,r 9iw 6yf1d9YH3sjPqkM05c5YO8R4Aa37b8KUZh+2hdQoE9t/3fI$J27/gM+p03V9hfNo <|end▁of▁sentence|><|begin▁of▁sentence|># Gapminder`


After this output it ended up in a loop which it kept printing out the following until I clicked on stop generating:


Data Source:

Gapminder provides open-source data and research in health services. The data includes the life expectancy, fertility rate, malnutrition, obesity rates, etc for various countries over time.

 Load Libraries
library(tidyverse)
library(gapminder)

not sure if there is something wrong with the model or the one that has been improved and made ready for LM studio, but thought I would share it here with you.

Here is also a screenshot partially showing the output.

Screenshot 2024-06-11 at 10 42 26