Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add standalone version of S4 with some options stripped out, and diag… #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions configs/model/layer/s4_simple.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
_name_: simple
d_state: 64
channels: 1
bidirectional: false
activation: gelu
postact: null
dropout: ${..dropout} # Same as null
measure: legs
dt_min: 0.001
dt_max: 0.1
trainable:
dt: true
A: true
P: true
B: true
lr: 0.001
mode: nplr
l_max: ${oc.select:dataset.__l_max,1} # Grab dataset length if exists, otherwise set to 1 and kernel will automatically resize
verbose: false
Loading