Transcript
0:00 Let let's zoom out. Like why does it matter that you give the LLM the same tool definitions and same tool parser, like response parsers? >> Yeah, yeah. Why do you want the exact same tool definitions? >> Yeah. Um This is I think where the RL stuff comes in. Cuz this is the first time we got lost. >> what this is what we're talking about with post training. So like what Claude code team is likely doing is >> Okay, so it's going to be one task, which is like call edit tool properly Yeah, exactly.
0:29 >> the JSON, without without like >> They actually don't even I wouldn't even say that. It's just like success the metric is just like success of success of like edit tool. Um sure. Yeah, I mean it Well, are you talking about success of just like calling it properly or like doing the edit to solve a problem? Both. Yeah. So this is like your sweet bench performance or something. Exactly. Exactly. And what they can >> embedded in this is one of the things you have to do to succeed at sweet bench is you have to be able to call the edit tool correctly the first time so you're not wasting a bunch of context retrying it over and over again. Exactly. So what ends up happening over here is when you're doing this, the tool the models are basically being trained like Claude Opus, whatever the latest version is, is being trained for this specific version of the edit tool.
1:22 Yep. And like technically these models are fairly general purpose. So if you use it for a slightly different version of the edit tool, it's not like you're getting way worse performance just to be very clear. You're likely going to get like something like this. Oops, I didn't get the right line. Interesting. Cannot draw that. >> Yeah, like if you called it like let's say for example you switch new string and old string. That might impact your performance by 0.01% per call, right?
1:49 >> Exactly. And like fundamentally like it's like ah it's basically the same performance cuz these models are so general purpose. It's just slightly worse. So it's not even like that big of a difference, but it is a slight difference and likely the best alpha for any given task, assuming that the model providers are choosing to post train on that task, is here. Now, if they're not choosing to post train on the task, it's very possible that your implementation is actually better than the what the model is doing because they're not actually optimizing for it.
2:19 But, if the model weights have been optimized for it, you should use something like this. Because you will just get slightly better performance. There's still caveats in which you can do better, but in general this is like a good In machine learning, there's no such thing as like absolute truths. They're just like general rules of thumb. So, like this is a good general rule of thumb.
Summary
- Consistent tool definitions and parsers are crucial for LLMs to ensure optimal performance in specific tasks.
- The success metric for using tools like the edit tool is based on both proper invocation and effective problem-solving.
- Models like Claude Opus are trained specifically for certain versions of tools, which can affect their performance.
- Minor discrepancies in tool usage (e.g., switching parameters) can lead to slight performance drops, but models remain generally robust.
- If a model is not post-trained for a specific task, custom implementations may outperform it.
- General rules of thumb in machine learning suggest that optimized models yield better results, but absolute truths are rare.
- The conversation emphasizes the balance between model generality and task-specific optimization.