-
Notifications
You must be signed in to change notification settings - Fork 986
Expand file tree
/
Copy pathconfig_meta_evolution.yaml
More file actions
45 lines (39 loc) · 1.34 KB
/
config_meta_evolution.yaml
File metadata and controls
45 lines (39 loc) · 1.34 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
35
36
37
38
39
40
41
42
43
44
45
# Configuration for testing prompt meta-evolution feature
max_iterations: 25
checkpoint_interval: 5
log_level: INFO
# LLM configuration
llm:
primary_model: "gpt-4o-mini"
primary_model_weight: 1.0
api_base: "https://api.openai.com/v1"
temperature: 0.7
max_tokens: 16000
timeout: 120
# Prompt configuration
prompt:
system_message: "You are an expert programmer specializing in optimization algorithms. Your task is to improve a function minimization algorithm to find the global minimum of a complex function with many local minima. The function is f(x, y) = sin(x) * cos(y) + sin(x*y) + (x^2 + y^2)/20. Focus on improving the search_algorithm function to reliably find the global minimum, escaping local minima that might trap simple algorithms."
# Prompt meta-evolution - ENABLED for testing
prompt_meta_evolution:
enabled: true
archive_size: 20
min_uses_for_evolution: 5 # Lower for testing
evolution_interval: 20 # Trigger at iteration 20
exploration_rate: 0.2
elite_fraction: 0.3
# Database configuration
database:
population_size: 50
archive_size: 20
num_islands: 3
elite_selection_ratio: 0.2
exploitation_ratio: 0.7
similarity_threshold: 0.99
# Evaluator configuration
evaluator:
timeout: 60
cascade_thresholds: [1.3]
parallel_evaluations: 3
# Evolution settings
diff_based_evolution: true
max_code_length: 20000