Spaces:
Sleeping
Sleeping
File size: 682 Bytes
38552be f03eb32 38552be f03eb32 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ---
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)
```bash
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).
|