eval-dev-quality icon indicating copy to clipboard operation
eval-dev-quality copied to clipboard

Retry with feedback and retry without feedback.

Open rnbwdsh opened this issue 10 months ago • 0 comments

One of the most successful prompting techniques is Tree of Thought - ToT and Chain of Thought - CoT.

This paper also suggests some other, easily implementable prompting techniques.

This is effectively "run N generators in parallel"/"retry from nothing" and "retry with feedback from what the go-compile and go-test prints".

You could easily do this with a test-execution-context variable and some modified error handling.

This is probably mostly relevant for rather weak models, but also to do a comparison with cost in mind, i.e. gpt4-32k costs 30€/MegaInToken and 60€/MegaOutToken and only 0.5€/MegaToken for gpt3.5, so you can effectively do 20-shot gpt3.5 instead of gpt4.

rnbwdsh avatar Apr 11 '24 12:04 rnbwdsh