Hacker News new | ask | show | jobs
by drno123 774 days ago
Still gives incorrect code to the following prompt - the description is correct but not the code. I have yet to find one LLM that gives the correct code. This is the prompt:

“Write C code to calculate the sum of matrix elements below the secondary diagonal.“

1 comments

This feels as much likely to be a prompt problem as a 'bad answer from a model' problem.
I wouldn't know what "secondary diagonal" refers to myself, but if the model correctly describes the problem and then follows it up with incorrect code I would still say that's an issue with the model not the prompt.