Akshaya Kumar commited on
Commit
8100965
·
1 Parent(s): 9804c89

Initial commit — sql-debug-env

Browse files
Files changed (1) hide show
  1. README.md +13 -8
README.md CHANGED
@@ -117,9 +117,10 @@ pip install -e ".[server,inference,dev]"
117
  python -m uvicorn server.app:app --host 0.0.0.0 --port 7860
118
 
119
  # in another terminal — run the baseline agent
120
- export API_BASE_URL="https://api.openai.com/v1"
121
- export MODEL_NAME="gpt-4o"
122
- export OPENAI_API_KEY="your-key-here"
 
123
  export ENV_URL="http://localhost:7860"
124
  python inference.py
125
  ```
@@ -183,14 +184,18 @@ sql-debug-env/
183
 
184
  ## Baseline scores
185
 
186
- Haven't run these yet — will fill in after the first round of evals.
 
 
187
 
188
  | Model | fix_syntax | fix_join | optimize_query | Avg |
189
  |-------|-----------|----------|---------------|-----|
190
- | NVIDIA NIM Llama-3.3-70b | — | — | — | — |
191
- | GPT-4o | — | — | — | — |
192
- | GPT-4o-mini | — | — | — | — |
193
- | Claude 3.5 Sonnet | — | — | — | — |
 
 
194
 
195
  ---
196
 
 
117
  python -m uvicorn server.app:app --host 0.0.0.0 --port 7860
118
 
119
  # in another terminal — run the baseline agent
120
+ # in another terminal — run the baseline agent
121
+ export API_BASE_URL="https://integrate.api.nvidia.com/v1" # or any OpenAI-compatible endpoint
122
+ export MODEL_NAME="meta/llama-3.3-70b-instruct" # NVIDIA NIM model name
123
+ export HF_TOKEN="your-nvidia-or-hf-api-key-here" # required — no default
124
  export ENV_URL="http://localhost:7860"
125
  python inference.py
126
  ```
 
184
 
185
  ## Baseline scores
186
 
187
+ Evaluated using NVIDIA NIM (OpenAI-compatible API) with LLaMA 3.3 70B Instruct.
188
+
189
+ Scores are computed as best reward across all steps per task (0.0–1.0 scale):
190
 
191
  | Model | fix_syntax | fix_join | optimize_query | Avg |
192
  |-------|-----------|----------|---------------|-----|
193
+ | meta/llama-3.3-70b-instruct (NVIDIA NIM) | 0.90 | 0.90 | 1.00 | 0.93 |
194
+ | meta/llama-3.1-70b-instruct (NVIDIA NIM) | 0.90 | 0.90 | 0.90 | 0.90 |
195
+ | meta/llama-3.1-8b-instruct (NVIDIA NIM) | 0.90 | 0.15 | 0.90 | 0.65 |
196
+
197
+ > Scores reflect correct queries submitted by the model. `fix_syntax` and `fix_join` max out at 0.90 (no efficiency bonus).
198
+ > `optimize_query` earns 1.0 only if the model eliminates the correlated subquery.
199
 
200
  ---
201