bruAristimunha commited on
Commit
1ba4589
·
verified ·
1 Parent(s): 4a99130

Add CodeBrain pretrained weights (TUEG, 19ch 10-20, 200Hz)

Browse files
Files changed (4) hide show
  1. README.md +14 -0
  2. config.json +112 -0
  3. model.safetensors +3 -0
  4. pytorch_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: braindecode
3
+ license: bsd-3-clause
4
+ tags:
5
+ - CodeBrain
6
+ - braindecode
7
+ - model_hub_mixin
8
+ - pytorch_model_hub_mixin
9
+ ---
10
+
11
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
12
+ - Code: https://braindecode.org
13
+ - Paper: [More Information Needed]
14
+ - Docs: https://braindecode.org/stable/generated/braindecode.models.CodeBrain.html
config.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_outputs": 2,
3
+ "n_chans": 19,
4
+ "chs_info": [
5
+ {
6
+ "ch_name": "C3",
7
+ "kind": "eeg"
8
+ },
9
+ {
10
+ "ch_name": "C4",
11
+ "kind": "eeg"
12
+ },
13
+ {
14
+ "ch_name": "Cz",
15
+ "kind": "eeg"
16
+ },
17
+ {
18
+ "ch_name": "F3",
19
+ "kind": "eeg"
20
+ },
21
+ {
22
+ "ch_name": "F4",
23
+ "kind": "eeg"
24
+ },
25
+ {
26
+ "ch_name": "Fp1",
27
+ "kind": "eeg"
28
+ },
29
+ {
30
+ "ch_name": "Fp2",
31
+ "kind": "eeg"
32
+ },
33
+ {
34
+ "ch_name": "F7",
35
+ "kind": "eeg"
36
+ },
37
+ {
38
+ "ch_name": "F8",
39
+ "kind": "eeg"
40
+ },
41
+ {
42
+ "ch_name": "Fz",
43
+ "kind": "eeg"
44
+ },
45
+ {
46
+ "ch_name": "O1",
47
+ "kind": "eeg"
48
+ },
49
+ {
50
+ "ch_name": "O2",
51
+ "kind": "eeg"
52
+ },
53
+ {
54
+ "ch_name": "P3",
55
+ "kind": "eeg"
56
+ },
57
+ {
58
+ "ch_name": "P4",
59
+ "kind": "eeg"
60
+ },
61
+ {
62
+ "ch_name": "Pz",
63
+ "kind": "eeg"
64
+ },
65
+ {
66
+ "ch_name": "T3",
67
+ "kind": "eeg"
68
+ },
69
+ {
70
+ "ch_name": "T4",
71
+ "kind": "eeg"
72
+ },
73
+ {
74
+ "ch_name": "T5",
75
+ "kind": "eeg"
76
+ },
77
+ {
78
+ "ch_name": "T6",
79
+ "kind": "eeg"
80
+ }
81
+ ],
82
+ "n_times": 6000,
83
+ "input_window_seconds": 30.0,
84
+ "sfreq": 200.0,
85
+ "patch_size": 200,
86
+ "res_channels": 200,
87
+ "skip_channels": 200,
88
+ "out_channels": 200,
89
+ "num_res_layers": 8,
90
+ "drop_prob": 0.1,
91
+ "s4_bidirectional": true,
92
+ "s4_layernorm": false,
93
+ "s4_lmax": 570,
94
+ "s4_d_state": 64,
95
+ "conv_out_chans": 25,
96
+ "conv_groups": 5,
97
+ "proj_kernel_size": 49,
98
+ "proj_padding": 24,
99
+ "proj_refine_kernel": 3,
100
+ "pos_kernel": [
101
+ 19,
102
+ 7
103
+ ],
104
+ "spectral_dropout": 0.1,
105
+ "mlp_hidden_multiplier": 4,
106
+ "swa_window_size": 1,
107
+ "codebook_size_t": 4096,
108
+ "codebook_size_f": 4096,
109
+ "pretrain_mode": false,
110
+ "activation": "torch.nn.modules.activation.ReLU",
111
+ "braindecode_version": "1.3.2"
112
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeba68250b8ea61efbf3e91cf4f90242faf90dcee8eba4d1b8a6e50907a46d18
3
+ size 426266272
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ede536ae57bcfdf6e35a577231e7b330f73b9db401270470302783e837ed5ca
3
+ size 426339759