Install
Getting the data
To download the data, clone the github repository.
git clone https://github.com/dylan-slack/Tablet.git
Once this completes, the data is stored in this path.
Tablet/data/benchmark
Installing TABLET
Please use Python>=3.9
. Because of a quirk in one of the packages, please do not use Python=3.9.7
. Also, ensure you have pip>=23.0.1
.
conda create -n tablet python=3.9.6
conda activate tablet
pip install --upgrade pip
If you want to install the tablet package from source, navigate into the TABLET package directory and install.
cd Tablet
python3 -m pip install -e .
Otherwise, you can install from PyPI with pip. [Note: not released yet]
pip install tablet-benchmark
Completing the benchmark
Unfortunately, some naturally occurring instructions come from sources that are not permissively licensed and do not permit hosting elsewhere. We provide a guide for collecting these instructions in
Tablet/fill_missing_instructions.py
Once this is completed, you can run
python fill_missing_instructions.py
and the instructions will be added to the benchmark data.