4rooms commited on
Commit
9685179
·
verified ·
1 Parent(s): a49143a

Upload sleeptransformer-phan/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. sleeptransformer-phan/config.json +34 -0
sleeptransformer-phan/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_class": "physioex.models.sleeptransformer:SleepTransformer",
3
+ "model_kwargs": {
4
+ "n_classes": 5,
5
+ "in_chan": 1,
6
+ "d_model": 128,
7
+ "n_heads": 8,
8
+ "n_epoch_layers": 4,
9
+ "n_seq_layers": 4,
10
+ "d_ff": 1024,
11
+ "d_clf": 1024,
12
+ "dropout": 0.1,
13
+ "attention_size": 128
14
+ },
15
+ "training": {
16
+ "dataset": "shhs",
17
+ "dataset_kwargs": {
18
+ "visit": 1
19
+ },
20
+ "channels": [
21
+ "EEG"
22
+ ],
23
+ "pipeline_preset": "seqsleepnet",
24
+ "sequence_length": 21,
25
+ "max_epochs": 50,
26
+ "lr": 0.0001,
27
+ "weight_decay": 0,
28
+ "batch_size": 32,
29
+ "loss": "CrossEntropyLoss",
30
+ "fold": 0,
31
+ "early_stopping_patience": 10
32
+ },
33
+ "reference": "Phan et al. 2022 - SleepTransformer: Automatic Sleep Staging with Interpretability and Uncertainty Quantification (arXiv:2105.11043)"
34
+ }