Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry with feedback and retry without feedback. #30

Open
rnbwdsh opened this issue Apr 11, 2024 · 0 comments
Open

Retry with feedback and retry without feedback. #30

rnbwdsh opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@rnbwdsh
Copy link

rnbwdsh commented Apr 11, 2024

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.

@zimmski zimmski added the enhancement New feature or request label May 18, 2024
@zimmski zimmski added this to the v0.5.0 milestone May 18, 2024
@zimmski zimmski changed the title [Feat] Retry with feedback and retry without feedback. Retry with feedback and retry without feedback. May 18, 2024
@bauersimon bauersimon modified the milestones: v0.5.0, v0.6.0 Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants