Spaces:
Paused
Paused
Commit History
-
Upload folder using huggingface_hub
Verified signatured56df92 -
refactor(app): lazy-import run_training for faster HF Space startup
Made-with: Cursor2746709 -
fix(docker): align torch 2.5.0+cu124 with xformers dependency resolution
Made-with: Cursor7802bfa -
Update Colab notebook (ZeroGPU, secrets, API usage)
Made-with: Cursor0714faa -
Phase 14: rewrite patterns, prompt builder, training verifier, Colab + GRPO integration
- Add rewrite_patterns.py (7 canonical patterns) and wire make_prompt to inject few-shots - Add prompt_builder.py with build_optimized_prompt, truncation, ablation baselines; tests - Add training_verifier.py (5 checks, W&B hooks, Q5, GRPO callback) - Add test_phase14_integration.py; train.py uses real obs + make_prompt by default - Export pattern APIs from sqlsage.__init__; update fix_training, .env.example, Colab notebook Made-with: Cursoraf634c9 -
Add team tooling: dashboard, status checker, run aliases, cheat sheets
- sqlsage/dashboard.py, status_checker.py, run.py, generate_cheatsheets.py - Root entrypoints dashboard.py, run.py; optional [run] extra in pyproject - cheatsheets/ MD+HTML for three roles - Colab notebook: [training,plots,run], secrets, Cell 6 utilities Made-with: Cursorcae90e3 -
Add training/monitoring/benchmark tools; update app, env, Colab, Docker
Made-with: Cursor915c50c -
Add GRPO training dependencies to Space runtime image.
Include unsloth, trl, transformers, accelerate, datasets, wandb, and requests in requirements so /train can import training stack inside HF Space container. Made-with: Cursor6f3ea61 -
Fix training status endpoint NameError in HF runtime.
Import os in sqlsage.app so /train/status can read environment variables without raising NameError. Made-with: Cursor00087f4 -
Improve HF training page with preflight status details.
Add clearer /train guidance, required environment checklist, and runtime config readiness snapshot in /train/status to make failures self-explanatory in Space UI. Made-with: Cursorf1d3f31 -
phase 11 completed
Finalize Phase 11 task definitions by updating TPC-H level 1/2/3 curriculum files to the requested query variants and align integration assertions with implicit-join task text. Made-with: Cursor177eb61 -
Merge hf-space history and keep current SQLSage implementation.
Integrate the HF Space branch history while preserving the current repository versions of Phase 11 environment, parser, reward, and test files for deployment consistency. Made-with: Cursor3e36749 -
Implement Phase 11 training and environment workflow.
Add the EXPLAIN parser, reward shaping, and OpenEnv environment updates, then introduce an HF-visible training trigger UI with background status endpoints and a pure Python GRPO training entrypoint for Space runtime execution. Made-with: Cursorfc8d3cb -
Deploy SQLSage snapshot with phase-8 results summary.
Made-with: Cursore061263 -
Add phase-8 results summary and ignore local artifacts.
Made-with: Cursor27b88e1 -
Harden phase-8 validation and plot data checks.
Made-with: Cursor3254ef9 -
Bootstrap TPC-H schema on container startup.
Made-with: Cursoraa405b5
-
HF Space: default uvicorn to PORT 7860; Colab health check more tolerant
- entrypoint: PORT default 7860 (HF Spaces) to avoid external HTTPS hangs when PORT unset - notebook: longer health poll, configurable timeouts, wandb.login() from env only - README: document PORT for local docker vs Spaces Made-with: Cursor9d75690 -
Colab cell 2: non-interactive wandb, poll Space /health, clear 503 guidance
Require WANDB_API_KEY from Colab Secrets; replace raise_for_status with retry and HF Space troubleshooting message when Space returns 503. Made-with: Cursore2a6b1b -
Fix Colab notebook: repo root is /content/SQLSage (not sqlsage-env).
GitHub SQLSage has pyproject.toml at repository root; editable install must run there. Made-with: Cursor4b37605 -
Update Colab notebook for T4-first SQLSage training workflow.
Replace skeleton with step-by-step runbook cells for dependency install, Space endpoint validation, wandb rollout smoke/baseline logging, T4-safe model loading config, and Phase-8 evidence generation commands. Made-with: Cursorbb4187a -
Phase 8 - person 3
969d970 -
Add Person 2 judging plots: wandb-aware generator and three PNGs.
Introduce plots/generate_plots.py (matplotlib Agg, seaborn-v0_8-whitegrid style) with wandb API pull when WANDB_ENTITY is set, else reproducible synthetic fallback. Save reward_curve, penalty_dashboard, and plan_improvement at 150 DPI with footer, legends, and curriculum markers. Add plots/README_plots.md and optional [plots] extras in pyproject.toml. Made-with: Cursor93dfa96 -
Integrate Meta OpenEnv HTTP/WS API, explain timeouts, and Postgres+app Docker image.
Wire FastAPI through create_fastapi_app with SQLSageOpenEnvironment wrapping SQLSageEnv. Add Pydantic action/observation types, singleton lifecycle, and atexit DB shutdown. Add EXPLAIN statement_timeout in get_explain_dict with integration tests and conftest. Extend Dockerfile with entrypoint for combined PostgreSQL and uvicorn; document StepRequest JSON. Update client, rollout observation serialization, dataset explain timeout, and dev pytest extra. Made-with: Cursor6ef46ca -
Add .gitignore and stop tracking bytecode and .DS_Store.
Keep the repository clean for contributors and CI by ignoring Python caches, local env files, and macOS metadata. Made-with: Cursor96074b5 -
Local Postgres defaults, longer query timeout, fix Q9 task SQL.
Use 127.0.0.1:5433 in examples; default SQLSAGE_TIMEOUT_MS 120s for SF=1 TPC-H; remove obsolete compose version; correct Level 3 Q9 join order so reset() never picks invalid SQL. Made-with: Cursore91a3e2 -
Lazy-initialize SQLSageEnv to prevent import-time DB crashes.
Start the API even when database connectivity is unavailable and return explicit 503 errors from runtime endpoints instead of failing container startup. Made-with: Cursor1ed0f8d -
Merge Hugging Face Space bootstrap README metadata.
Resolve README conflict by preserving Space frontmatter and SQLSage documentation for Docker Space deployment. Made-with: Cursor2ef93dd -
Add OpenEnv-required top-level files for Space deployment.
Provide README, client, models, and package marker files so the Hugging Face Space can validate and run the environment structure. Made-with: Cursor902763b -
Initialize SQLSage OpenEnv environment implementation.
Add environment core, parser/reward/anti-cheat logic, task curriculum, training/setup scaffolding, tests, and OpenEnv deployment metadata for direct main-branch publishing. Made-with: Cursor04367dd -
initial commit
0e468cc