We directly use DISTIL framework from https://github.com/decile-team/distil 


Install all dependencies by running:
`pip3 install -r requirements/requirements.txt`

First allow submarine to be imported by running the following command:
`export LD_LIBRARY_PATH=.`


Run all cifar-10 entropy sampling experiments with
`./run_experiments_cifar.sh`

Run all MedMNIST entropy sampling experiments with
`./run_experiments_cifar.sh`


For FMNIST/Amazon Polarity, we provide exmaple .json files, which can be changed accordingly (other dataset and other acquisition function) to run the experiments as desired.  

For BERT experiment, please see the BERT EXPEREIMENTS folder and `BERT\EXPEREIMENTS/run_experiment_bert.sh`. All the BERT experiments should be launched from that folder. 