You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/symbolic_regression/README.md
+2-16Lines changed: 2 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,24 +16,10 @@ This example leverages **LLM-SRBench**, a benchmark specifically designed for La
16
16
17
17
Follow these steps to set up and run the symbolic regression benchmark example:
18
18
19
-
### 1. Configure API Secrets
19
+
### 1. Configure API Keys
20
20
21
-
You'll need to provide your API credentials for the language models used by OpenEvolve.
21
+
THe API key is read from the environment `OPENAI_API_KEY` by default. The primary and secondary model we used in testing LLM-SRBench is `gpt-4o` and `o3`. You can check `create_config()` in `data_api.py`.
22
22
23
-
- Create a `secrets.yaml` file in the example directory.
24
-
- Add your API key and model preferences:
25
-
26
-
YAML
27
-
28
-
```
29
-
# secrets.yaml
30
-
api_key: <YOUR_OPENAI_API_KEY>
31
-
api_base: "https://api.openai.com/v1" # Or your custom endpoint
32
-
primary_model: "gpt-4o"
33
-
secondary_model: "o3" # Or another preferred model for specific tasks
34
-
```
35
-
36
-
Replace `<YOUR_OPENAI_API_KEY>` with your actual OpenAI API key.
0 commit comments