Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.14 KB

README.md

File metadata and controls

57 lines (33 loc) · 1.14 KB

Spurious Sparks

Code

All code used for our experiments is contained in the src folder. Dependencies are defined in TOML files.

Simple Examples

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.

Example: PCA

The PCA experiment can be run as follows:

julia --project=src/simple_examples src/simple_examples/pca/run_experiment.jl

Example: Autoencoder

The autoencoder experiment can be run as follows:

julia --project=src/simple_examples src/simple_examples/autoencoder/run_experiment.jl

LLM Example

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.