Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -133,9 +133,10 @@ Two example databases are included with pre-generated DB summaries:
|
|
| 133 |
For the full Spider2-lite benchmark, clone [Spider2](https://github.com/xlang-ai/Spider2) and copy databases into `data/text2sql/spider2-lite/sqlite/`.
|
| 134 |
|
| 135 |
```bash
|
| 136 |
-
# Run on included example
|
| 137 |
-
./run.sh text2sql --questions 5 --db Pagila
|
| 138 |
-
./run.sh text2sql --questions 5 --db superhero
|
|
|
|
| 139 |
|
| 140 |
# Build KG only (no benchmark)
|
| 141 |
python benchmarks/run.py --task text2sql --dataset spider2-lite --build_only --db Pagila
|
|
|
|
| 133 |
For the full Spider2-lite benchmark, clone [Spider2](https://github.com/xlang-ai/Spider2) and copy databases into `data/text2sql/spider2-lite/sqlite/`.
|
| 134 |
|
| 135 |
```bash
|
| 136 |
+
# Run on included example databases
|
| 137 |
+
./run.sh text2sql --questions 5 --db Pagila # Spider2-lite (auto-detected)
|
| 138 |
+
./run.sh text2sql --questions 5 --db superhero # Bird (auto-detected)
|
| 139 |
+
./run.sh text2sql --benchmark bird --questions 5 --db superhero # explicit benchmark selection
|
| 140 |
|
| 141 |
# Build KG only (no benchmark)
|
| 142 |
python benchmarks/run.py --task text2sql --dataset spider2-lite --build_only --db Pagila
|