3 ms·
My gut feeling based on my experience over the last couple of months is that substitution of an entire function is more reliable than some lines of a function.
by reitzensteinm 3y ago
My gut feeling based on my experience over the last couple of months is that substitution of an entire function is more reliable than some lines of a function. The surrounding context reduces the chance of hallucinations.
Gut feeling doesn't account for much though - I'm working on an evals system to be able to quantify system performance. It won't be cheap to run.
It could easily be that your method is superior.
- kevinlu1248 3y agoFrom our experience, single or few line replacements generally fine, since many of the changes are many few-line changes in multiple spots accross multiple files. We also provide surrounding context for the search-and-replace pairs, which helps with the model. Beyond 10 lines and the model also usually add the function headers in there which helps with the code generation. I'm also curious, how are you guys evaluating the performance of your models?
- reitzensteinm 3y agoThere's no systematic evaluation yet which is the next step. It's successfully bootstrapping itself which is a fairly high bar, but quantitative performance measurements are getting more and more important as the project progresses.
- kevinlu1248 3y agoI feel the same, benchmarking in general is a pain but a good benchmark for us could go a long way.