forked from algorithmicsuperintelligence/openevolve
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun_beam_search.sh
More file actions
executable file
·30 lines (24 loc) · 990 Bytes
/
run_beam_search.sh
File metadata and controls
executable file
·30 lines (24 loc) · 990 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
30
#!/bin/bash
# Run OpenEvolve with Beam Search strategy for Signal Processing
# Keeps top M programs and branches N candidates per iteration
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)"
echo "=========================================="
echo "Strategy: Beam Search (beam_width=4, branch_factor=1)"
echo "Iterations: 25"
echo "LLM Calls: ~100"
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.yaml \
--beam-search
echo ""
echo "=========================================="
echo "Beam Search run complete!"
echo "Results saved in: openevolve_output/"
echo "=========================================="