Skip to content

Commit f6bb2d1

Browse files
fix formatting
1 parent 32aa2d8 commit f6bb2d1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

knowledge_base/AI/PromptOptimization.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ The goal is to improve the valset performance using the feedbacks from trainset
1717
### Terminologies
1818

1919
Program - An entire system with one or more predictors
20+
2021
Predictor - The prompt
2122

2223
### Workflow
2324
- State Initialization
24-
- Best programs on Valset - [{P0},{P0},{P0}]
25+
- Best programs on Valset - `[{P0},{P0},{P0}]`
2526
- While Budget available, do the following steps
2627
1) Pareto Selection (Select Program)
2728
2) Mini batch Selection from trainset (random sampling by default)
@@ -76,8 +77,9 @@ these programs will be evaluated and if there is a best performer, it will be ad
7677
- try your best to come up with a good base prompt
7778
- It is preferred to have a SOTA reflection model
7879
- validation dataset should be minimal and diverse
79-
- more iterations you run the better the results will be
80+
- more iterations you run, better the results will be
8081
- review the optimized prompt
82+
- configure `log_dir` so that if you accidentaly cancelled the optimization, you can resume
8183

8284
## References
8385
- [Research Paper](https://arxiv.org/pdf/2507.19457)

0 commit comments

Comments
 (0)