yizhangliu / PromptMutant

An implementation of Deepmind's Promptbreeder.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PromptMutant

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

Installation

pip install -e .

Usage

promptmutant -prompt "Think out-loud while you answer the question" -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.

License:MIT License


Languages

Language:Python 100.0%