[Project Page] [Arxiv] [Paper]
conda env create -f requirements.yaml
conda activate ttd
This repository includes code and scripts to reproduce the experiments on MDLM(+CPD,TTD) with OpenWebText and QM9 datasets.
The scripts directory contains the necessary scripts.
Check the train.sh, generate.sh, and time.sh scripts for training, generation, and inference time measurement, respectively.
Before running the scripts, you should change dataset.cache_dir in conf/config.yaml to the path where you wish to store the dataset files.
The pretrained checkpoints are available here.
hf download ssamt/tensor-train --local-dir checkpoints
If you wish to apply this paper's tensor decomposition method to your own work, check the tensor directory, which is entirely independent of the rest of the codebase.
It contains the implementation of the tensor decomposition methods as outlined in the paper, along with other general-purpose queries for both CPD and TTD.
tests/test_decompositions.py includes unit tests for it, which you can run with python -m unittest.
3 commits
Python
90.2%
Shell
9.8%
[Project Page] [Arxiv] [Paper]
conda env create -f requirements.yaml
conda activate ttd
This repository includes code and scripts to reproduce the experiments on MDLM(+CPD,TTD) with OpenWebText and QM9 datasets.
The scripts directory contains the necessary scripts.
Check the train.sh, generate.sh, and time.sh scripts for training, generation, and inference time measurement, respectively.
Before running the scripts, you should change dataset.cache_dir in conf/config.yaml to the path where you wish to store the dataset files.
The pretrained checkpoints are available here.
hf download ssamt/tensor-train --local-dir checkpoints
If you wish to apply this paper's tensor decomposition method to your own work, check the tensor directory, which is entirely independent of the rest of the codebase.
It contains the implementation of the tensor decomposition methods as outlined in the paper, along with other general-purpose queries for both CPD and TTD.
tests/test_decompositions.py includes unit tests for it, which you can run with python -m unittest.
3 commits
Python
90.2%
Shell
9.8%