forked from algorithmicsuperintelligence/openevolve
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun_adaptive_memory.sh
More file actions
executable file
·34 lines (28 loc) · 1.24 KB
/
run_adaptive_memory.sh
File metadata and controls
executable file
·34 lines (28 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
# Run OpenEvolve with Adaptive Exploration/Exploitation + Memory for Signal Processing
# This combines MAP-Elites with dynamic exploration/exploitation AND memory-augmented evolution
set -e # Exit on error
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
echo "=========================================="
echo "OpenEvolve - Signal Processing"
echo "Adaptive + Memory"
echo "=========================================="
echo "Strategy: MAP-Elites with Adaptive Search + Memory"
echo "Adaptive: 10-70% exploration based on improvements"
echo "Memory: Semantic search (text-embedding-3-large)"
echo "Iterations: 100"
echo "Models: gpt-5-mini (80%) + gpt-5-nano (20%)"
echo "=========================================="
cd "$PROJECT_ROOT"
python openevolve-run.py \
examples/signal_processing/initial_program.py \
examples/signal_processing/evaluator.py \
--config examples/signal_processing/config_adaptive_memory.yaml \
--output openevolve_output_adaptive_memory \
--iterations 100
echo ""
echo "=========================================="
echo "Adaptive + Memory run complete!"
echo "Results saved in: openevolve_output_adaptive_memory/"
echo "=========================================="