All code used for our experiments is contained in the src folder. Dependencies are defined in TOML files.
To set up the environment for the simple examples (PCA, autoencoder), run the following:
julia --project=src/simple_examples
This will start an interactive Julia session and activate the relevant environment. Then simply run the following:
using Pkg; Pkg.instantiate()
After this, you can exit the Julia session.
The PCA experiment can be run as follows:
julia --project=src/simple_examples src/simple_examples/pca/run_experiment.jl
The autoencoder experiment can be run as follows:
julia --project=src/simple_examples src/simple_examples/autoencoder/run_experiment.jl
To set up the environment for the LLM experiment, run the following:
julia --project
This will start an interactive Julia session and activate the relevant environment. Then simply run the following:
using Pkg; Pkg.instantiate()
After this, you can exit the Julia session.