Skip to content

pat-alt/spurious_sentience

Repository files navigation

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.

About

Repo containing our code and paper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published