|
Download README.md from sqlcf-lexsi/counterfactual-sql-demo: direct link, hf CLI and curl.
- Browser
- Download file 1.87 kB
-
https://huggingface.co/spaces/sqlcf-lexsi/counterfactual-sql-demo/resolve/main/README.md
- Command line
-
hf download hf://spaces/sqlcf-lexsi/counterfactual-sql-demo/README.md
-
curl -L -o README.md https://huggingface.co/spaces/sqlcf-lexsi/counterfactual-sql-demo/resolve/main/README.md
1.87 kB
| title: Counterfactual SQL Rewards | |
| emoji: 馃М | |
| colorFrom: indigo | |
| colorTo: green | |
| sdk: static | |
| app_file: index.html | |
| license: cc-by-nc-4.0 | |
| short_description: Check SQL on counterfactual DBs the agent never saw | |
| tags: [text-to-sql, reward-hacking, lexsi-hackathon] | |
| A SQL query can match the answer on the one database an agent explored and still be wrong. | |
| Pick a test question and a recorded run (Tiny Aya Global base, SFT, GRPO-B single-DB reward, GRPO-C | |
| counterfactual reward, or Command A), or type your own SQL, and see it checked on the original DB plus | |
| counterfactual DBs the agent never saw, with the score each reward function gives. Runs in your browser | |
| (Pyodide); the first load takes 20-60 s. | |
| **Lexsi Labs AI Safety & Alignment Hackathon, Track 3 (PS #6 data and database agents + #9 reward design and | |
| reward-hacking defences), team Teen_khapeetars:** Shreshth Rai (lead, [@hi-phi-r25i](https://huggingface.co/hi-phi-r25i)), | |
| Rishii Kumar Singh ([@LogicPalette](https://huggingface.co/LogicPalette)), Aksh Aggarwal ([@AkshAgg](https://huggingface.co/AkshAgg)). | |
| Collections: [models](https://huggingface.co/collections/sqlcf-lexsi/counterfactual-db-rewards-for-a-small-sql-agent-6af174f77dbae0bf0a54c3c4), [data](https://huggingface.co/collections/sqlcf-lexsi/counterfactual-sql-data-rollouts-and-traces-6af479430243b7731f85d144) 路 [Demo](https://huggingface.co/spaces/sqlcf-lexsi/counterfactual-sql-demo) 路 | |
| [Data](https://huggingface.co/datasets/sqlcf-lexsi/counterfactual-sql-data) 路 | |
| Adapters: [SFT](https://huggingface.co/sqlcf-lexsi/tiny-aya-global-sqlcf-sft), | |
| [GRPO-B](https://huggingface.co/sqlcf-lexsi/tiny-aya-global-sqlcf-grpo-b), | |
| [GRPO-C](https://huggingface.co/sqlcf-lexsi/tiny-aya-global-sqlcf-grpo-c) 路 | |
| [Code](https://github.com/RishiiGamer2201/sexsi_hack) 路 [Write-up](https://github.com/RishiiGamer2201/sexsi_hack/blob/main/ARTICLE.md) | |