This repository contains the code and benchmarks for the paper Decomposition-Driven Multi-Table Retrieval and Reasoning for Numerical Question Answering.
We release two benchmarks to support evaluation:
Each benchmark adapts an existing text-to-SQL dataset into a more realistic setting for multi-table question answering over large-scale table collections.
-
Table collection:
Download the benchmark files and place them in atablessubdirectory within the corresponding dataset folder. -
Questions and Labels:
The associated questions, relevant tables, and answers are located in thedataset/labeldirectory. -
Trained models: Download Coverage Scoring Function Models and put them under code/checkpoint
-
LLM config: Modify "api_key" in model_config.py located in the
code/utilsdirectory.
Create and activate a conda environment, then install all required Python dependencies:
conda create -n dmral_env python=3.8 -y
conda activate dmral_env
pip install -r requirements.txtNote: Before running the
bash.sh, make sure to update thedataset_namevariable by speficifying the dataset name (e.g., "spiderwild").
cd code
bash bash.shIf you have any issue, please contact feng.luo@student.rmit.edu.au.