Skip to content

G-structure/PromptMutant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PromptMutant

An implementation of Deepmind's Promptbreeder. Promptbreeder: Self-Referential Self-Improvement via Prompt Evoultion

Installation

pip install -e .

Usage

promptmutant -prompt "Solve the math word problem, giving your answer as an arabic numeral." -dataset "gsm8k" -nPrompts 3 -nMutations 10

Roadmap

  • 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

About

An implementation of Deepmind's Promptbreeder.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages