Skip to content

How to run encoding

Zaid Kokaja edited this page Jan 27, 2021 · 1 revision

Examples

Here are example Makefile configurations that you can set, then run with make run-encoding or make run-encoding-slurm.

625, electrodes 1:64, from lags -5s to 5s in 25ms increments, using gpt2 embeddings

# 625 Electrode IDs
E_LIST := $(shell seq 1 64)

# Choose the subject to run for
SID := 625

# Choose the lags to run for.
LAGS := {-5000..5000..25}

# Choose which set of embeddings to use
EMB := gpt2

# Choose the window size to average for each point
WS := 200

625, specific electrodes, from lags -5s to 5s in 25ms increments, PCA gpt2 to 50d

# 625 Electrode IDs
E_LIST := 11 17

# Choose the subject to run for
SID := 625

# Choose the lags to run for.
LAGS := {-5000..5000..25}

# Choose which set of embeddings to use
EMB := gpt2

# Choose the window size to average for each point
WS := 200

# Choose whether to PCA the embeddings before regressing or not
PCA := --pca-flag
PCA_TO := 50

676, first 64 electrodes, from lags -2s to 2s in 50ms increments, glove50d embeddings, shuffled

# 676 Electrode IDs
E_LIST := $(shell seq 1 64)

# Choose the subject to run for
SID := 676

# Choose the lags to run for.
LAGS := {-2000..2000..50}

# Choose which set of embeddings to use
EMB := glove50d

# Choose whether to label or phase shuffle
SH := --shuffle

# Choose the window size to average for each point
WS := 200