mrcabbage972/opro_prompt_optimization

Implementing the OPRO paper

37
/ 100
Emerging

This project helps you automatically refine prompts for large language models to improve their performance on specific tasks, like complex math problems. It takes your initial prompt and iteratively optimizes it using an OpenAI API, generating a more effective prompt as output. This is for researchers or practitioners working with large language models who need to achieve higher accuracy for tasks like numerical reasoning.

No commits in the last 6 months.

Use this if you are trying to get the best possible answers from a large language model for tasks like solving grade-school math problems and want an automated way to improve your prompts.

Not ideal if you are looking for a general-purpose prompt engineering tool that doesn't rely on an existing problem dataset for optimization.

large-language-models prompt-engineering model-optimization natural-language-processing mathematical-reasoning
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 6 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

16

Forks

4

Language

Python

License

Apache-2.0

Last pushed

Sep 18, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/mrcabbage972/opro_prompt_optimization"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.