News for hackers. Stuff that matters.
Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @03:21PM (#44065734)
Already test Opus 4 and Sonnet 4 in our SQL Generation Benchmark (https://llm-benchmark.tinybird.live/)

Opus 4 beat all other models. It's good.

Re:Claude 4 by varunneal on Thursday May 22, 2025 @04:17PM (#44066404)
Why is o3-mini there but not o3?
Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @05:12PM (#44067096)
We should definitely add o3 - probably will soon. Also looking at testing the Qwen models
Re:Claude 4 by Workaccount2 on Thursday May 22, 2025 @04:09PM (#44066317)
This is a pretty interesting benchmark because it seems to break the common ordering we see with all the other benchmarks.
Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @05:15PM (#44067123)
Yeah I mean SQL is pretty nuanced - one of the things we want to improve in the benchmark is how we measure "success", in the sense that multiple correct SQL results can look structurally dissimilar while semantically answering the prompt.

There's some interesting takeaways we learned here after the first round: https://www.tinybird.co/blog-posts/we-graded-19-llms-on-sql-...

Re:Claude 4 by ineedaj0b on Thursday May 22, 2025 @03:46PM (#44066020)
i pay for claude premium but actually use grok quite a bit, the 'think' function usually gets me where i want more often than not. odd you don't have any xAI models listed. sure grok is a terrible name but it surprises me more often. i have not tried the $250 chatgpt model yet though, just don't like openAI practices lately.
Re:Claude 4 by timmytokyo on Friday May 23, 2025 @06:39AM (#44071602)
Not saying you're wrong about "OpenAI practices", but that's kind of a strange thing to complain about right after praising an LLM that was only recently inserting claims of "white genocide" into every other response.
Re:Claude 4 by veidr on Friday May 23, 2025 @11:12AM (#44073593)
For real, though.

Even if you don't care about racial politics, or even good-vs-evil or legal-vs-criminal, the fact that that entire LLM got (obviously, and ineptly) tuned to the whim of one rich individual — even if he wasn't as creepy as he is — should be a deal-breaker, shouldn't it?

Re:Claude 4 by stadeschuldt on Thursday May 22, 2025 @03:40PM (#44065967)
Interestingly, both Claude-3.7-Sonnet and Claude-3.5-Sonnet rank better than Claude-Sonnet-4.
Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @03:48PM (#44066049)
yeah that surprised me too
Re:Claude 4 by joelthelion on Thursday May 22, 2025 @03:35PM (#44065896)
Did you try Sonnet 4?
Re:Claude 4 by vladimirralev on Thursday May 22, 2025 @03:40PM (#44065964)
It's placed at 10. Below claude-3.5-sonnet, GPT 4.1 and o3-mini.
Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @03:49PM (#44066054)
yeah this was a surprising result. of course, bear in mind that testing an LLM on SQL generation is pretty nuanced, so take everything with a grain of salt :)
Re:Claude 4 by jpau on Thursday May 22, 2025 @04:23PM (#44066461)
Interesting!

Is there anything to read into needing twice the "Avg Attempts", or is this column relatively uninteresting in the overall context of the bench?

Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @05:10PM (#44067069)
No it's definitely interesting. It suggests that Opus 4 actually failed to write proper syntax on the first attempt, but given feedback it absolutely nailed the 2nd attempt. My takeaway is that this is great for peer-coding workflows - less "FIX IT CLAUDE"
Re:Claude 4 by mritchie712 on Thursday May 22, 2025 @04:29PM (#44066545)
looks like this is one-shot generation right?

I wonder how much the results would change with a more agentic flow (e.g. allow it to see an error or select * from the_table first).

sonnet seems particularly good at in-session learning (e.g. correcting it's own mistakes based on a linter).

Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @05:13PM (#44067103)
Actually no, we have it up to 3 attempts. In fact, Opus 4 failed on 36/50 tests on the first attempt, but it was REALLY good at nailing the second attempt after receiving error feedback.
Re:Claude 4 by jjwiseman on Thursday May 22, 2025 @04:31PM (#44066574)
Please add GPT o3.
Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @05:12PM (#44067088)
Noted, also feel free to add an issue to the GitHub repo: https://github.com/tinybirdco/llm-benchmark
Re:Claude 4 by kadushka on Thursday May 22, 2025 @05:08PM (#44067038)
what about o3?
Re:Claude 4 by _peregrine_ on Thursday May 22, 2025 @05:13PM (#44067108)
We need to add it
Re:Claude 4 by XCSme on Thursday May 22, 2025 @05:43PM (#44067431)
That's a really useful benchmark, could you add 4.1-mini?
Re:Claude 4 by _peregrine_ on Friday May 23, 2025 @10:27AM (#44073224)
Yeah we're always looking for new models to add
Re:Claude 4 by XCSme on Thursday May 22, 2025 @05:47PM (#44067464)
It's weird that Opus4 is the worst at one-shot, it requires on average two attempts to generate a valid query.

If a model is really that much smarter, shouldn't it lead to better first-attempt performance? It still "thinks" beforehand, right?

Re:Claude 4 by riwsky on Friday May 23, 2025 @07:57AM (#44072031)
Don’t talk to Opus before it’s had its coffee. Classic high-performer failure mode.
Re:Claude 4 by sagarpatil on Thursday May 22, 2025 @11:34PM (#44069634)
Sonnet 3.7 > Sonnet 4? Interesting.
Re:Claude 4 by gkfasdfasdf on Friday May 23, 2025 @10:41AM (#44073343)
Just curious, how do you know your questions and the SQL aren't in the LLM training data? Looks like the benchmark questions w/SQL are online (https://ghe.clickhouse.tech/).
Re:Claude 4 by zarathustreal on Friday May 23, 2025 @12:33PM (#44074281)
“Your model has memorized all knowledge, how do you know it’s smart?”
Re:Claude 4 by dcreater on Friday May 23, 2025 @11:17AM (#44073649)
How does Qwen3 do on this benchmark?