SAGE: Data-Semantics-Aware Recommendation of Diverse Pivot Tables
This repository contains the implementation of SAGE, Data-Semantics-Aware Recommendation of Diverse Pivot Tables.
First, set up your Python environment and install the dependencies.
pip install -r requirements.txt
SAGE uses models like LLaMA, TAPEX, and T5 hosted on Hugging Face. Access to these models may be restricted.
Steps:
- Request access to the model by following the link.
- Once approved, create a Hugging Face token from your settings page.
- Save your token in a file named
hf_token.txtin the root directory.
After setting up dependencies and your token, you can run the main script
bash run_sage.sh
βββ hf_token.txt # Hugging Face access token
βββ requirements.txt # Python dependencies
βββ run_sage.sh # The script to run the SAGE algorithm
βββ src/ # Source code modules
βββ dataset/ # Input datasets
βββ precompute/ # Precomputed models and results
βββ README.md