forked from algorithmicsuperintelligence/openevolve
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun_beam_search_memory.sh
More file actions
executable file
·29 lines (23 loc) · 1008 Bytes
/
run_beam_search_memory.sh
File metadata and controls
executable file
·29 lines (23 loc) · 1008 Bytes
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
#!/bin/bash
# Run OpenEvolve with Beam Search strategy + Memory for Signal Processing
set -e # Exit on error
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
echo "=========================================="
echo "OpenEvolve - Signal Processing (Beam Search + Memory)"
echo "=========================================="
echo "Strategy: Beam Search (beam_width=4, branch_factor=1) with Memory"
echo "Iterations: 100"
echo "Memory: Enabled (semantic search with embeddings)"
echo "=========================================="
cd "$PROJECT_ROOT"
python openevolve-run.py \
examples/signal_processing/initial_program.py \
examples/signal_processing/evaluator.py \
--config examples/signal_processing/config_beam_search_memory.yaml \
--beam-search
echo ""
echo "=========================================="
echo "Beam Search + Memory run complete!"
echo "Results saved in: openevolve_output/"
echo "=========================================="