Jay1208 commited on
Commit
601b8e0
路
verified 路
1 Parent(s): 7572040

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: feature-extraction
3
+ tags:
4
+ - eeg
5
+ - brain-computer-interface
6
+ - pytorch
7
+ - mamba
8
+ ---
9
+
10
+ # SAMBA-2s
11
+
12
+ SAMBA EEG encoder pretrained on 2-second windows at 128 Hz using Emotiv, HBN, Muse, and DICE. The encoder supports other input lengths and electrode layouts.
13
+
14
+ [Project](https://samba.dcode.ai/) 路 [Code](https://github.com/Jiazhen-Hong/SAMBA) 路 [Paper](https://arxiv.org/abs/2511.18571) 路 [Shared usage guide](https://huggingface.co/Dcode-AI/SAMBA) 路 [SAMBA-100s](https://huggingface.co/Dcode-AI/SAMBA-100s)
15
+
16
+ Install SAMBA from the code repository with `pip install -e '.[mamba,hub]'`. Inference requires CUDA.
17
+
18
+ ```python
19
+ from huggingface_hub import snapshot_download
20
+ from samba_eeg import SambaModel
21
+
22
+ folder = snapshot_download("Dcode-AI/SAMBA-2s", allow_patterns=["config.json", "model.safetensors"])
23
+ model = SambaModel.from_pretrained(folder).cuda().eval()
24
+ ```