Skip to content

whnhch/SAGE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SAGE

SAGE: Data-Semantics-Aware Recommendation of Diverse Pivot Tables

This repository contains the implementation of SAGE, Data-Semantics-Aware Recommendation of Diverse Pivot Tables.


πŸ“¦ Requirements

First, set up your Python environment and install the dependencies.

Use requirements.txt

pip install -r requirements.txt

πŸ€— Hugging Face Model Access

SAGE uses models like LLaMA, TAPEX, and T5 hosted on Hugging Face. Access to these models may be restricted.

Steps:

  1. Request access to the model by following the link.
  2. Once approved, create a Hugging Face token from your settings page.
  3. Save your token in a file named hf_token.txt in the root directory.

πŸš€ How to Run

After setting up dependencies and your token, you can run the main script

bash run_sage.sh

πŸ“‚ Project Structure

β”œβ”€β”€ 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

About

SAGE: Data-Semantics-Aware Recommendation of Diverse Pivot Tables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published