An implementation of Deepmind's Promptbreeder. Promptbreeder: Self-Referential Self-Improvement via Prompt Evoultion
pip install -e .
promptmutant -prompt "Solve the math word problem, giving your answer as an arabic numeral." -dataset "gsm8k" -nPrompts 3 -nMutations 10
- OpenAI LLM Integration
- Cosine Similarity Reward Function
- Zero-order Prompt Generation
- First-order Prompt Generation
- Estimation of Distribution (EDA) Mutation
- EDA Rank and Index Mutation
- Lineage Based Mutation
- Zero-order Hyper-Mutation
- First-order Hyper-Mutation
- Lamarckian Mutation
- Prompt Crossover
- Context Shuffling
- Design Additional Reward Functions
- Ollama Local LLM Integration