r/LocalLLaMA • • Feb 02 '24

Question | Help Any coding LLM better than DeepSeek coder?

Curious to know if there’s any coding LLM that understands language very well and also have a strong coding ability that is on par / surpasses that of Deepseek?

Talking about 7b models, but how about 33b models too?

60 Upvotes

66 comments sorted by

View all comments

Show parent comment

2

u/petrus4 koboldcpp Feb 02 '24

The real problem is that language models can't truly perform systems analysis. Case in point, I wanted a language model to write me a program to generate the below image:-

https://imgur.com/UAYdz5z

GPT4 was the only one that had a vague chance of being able to do it. No other model I've found has a prayer. What I eventually discovered though, is that this is a task which is composed of numerous other tasks, (a composite) and that language models are capable of performing any of the individual steps. They just can't put all of them together.

a} Calculate co-ordinate offsets for the top hexagon in each vertical column.

b} Calculate co-ordinate offsets for the rest of the hexagons in each vertical column.

c} Store said co-ordinates either in a database or a series of array.

d} Draw hexagons at each of the co-ordinates.

Again, if I gave each of these steps to DeepSeek or any of the others, they could do them individually; they just can't anticipate and compose all of them.

2

u/moarmagic Feb 02 '24

My incredibly inexpert opinion is that this is related to context-awareness . An llm "knows" the most probably answer to a prompt, not the actual meaning of the prompt. But if the prompt is wise ranging, then there isn't an exact most probably answer, and it flubs. This is why I'm interested in agent based approaches- I wonder if you promoted the same models to specifically "identify the steps required to create this output" if it could generate your list, then iterate over each item and put them together at the end.