Spaces:
Sleeping
Sleeping
metadata
title: Text to SQL Demo
emoji: π
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
Text-to-SQL Demo
Fine-tuned T5-base / CodeT5-base / BART-base on WikiSQL β Spider β BIRD (curriculum learning).
12 checkpoints across 4 training stages Γ 3 architectures β selectable via dropdown.
Setup (if self-hosting)
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
uvicorn src.app.api:app --host 0.0.0.0 --port 8000
Then open http://localhost:8000.
HF Space secrets
If the model repos are private, add HF_TOKEN as a Space secret
(Settings β Variables and secrets β New secret).