Feature Extraction
Transformers
Safetensors
eeg_codec
eeg
neural-codec
residual-vector-quantization
brain-computer-interface
biosignals
custom_code
Instructions to use Neuralace-AI/eeg-codec-41ch-120hz with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Neuralace-AI/eeg-codec-41ch-120hz with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Neuralace-AI/eeg-codec-41ch-120hz", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Neuralace-AI/eeg-codec-41ch-120hz", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Neuralace-AI/eeg-codec-41ch-120hz: direct link, hf CLI and curl.
- Browser
- Download file 973 Bytes
-
https://huggingface.co/Neuralace-AI/eeg-codec-41ch-120hz/resolve/main/config.json
- Command line
-
hf download hf://Neuralace-AI/eeg-codec-41ch-120hz/config.json
-
curl -L -o config.json https://huggingface.co/Neuralace-AI/eeg-codec-41ch-120hz/resolve/main/config.json
973 Bytes
| { | |
| "architectures": [ | |
| "EEGCodecModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_eeg.EEGCodecConfig", | |
| "AutoModel": "modeling_eeg_codec.EEGCodecModel" | |
| }, | |
| "channels": 41, | |
| "clip": 8.0, | |
| "codebook_dim": 128, | |
| "codebook_size": 1024, | |
| "context": 600, | |
| "dim": 256, | |
| "dtype": "float32", | |
| "model_type": "eeg_codec", | |
| "n_filters": 64, | |
| "n_q": 16, | |
| "ratios": [ | |
| 2 | |
| ], | |
| "sampling_rate": 120, | |
| "scale_uv": 23.2, | |
| "sites": [ | |
| "C2", | |
| "CP2", | |
| "P2", | |
| "Pz", | |
| "CPz", | |
| "Cz", | |
| "C1", | |
| "CP1", | |
| "P1", | |
| "P3", | |
| "PO7", | |
| "P5", | |
| "TP7", | |
| "CP5", | |
| "CP3", | |
| "C3", | |
| "PO8", | |
| "P6", | |
| "P4", | |
| "TP8", | |
| "CP6", | |
| "CP4", | |
| "C6", | |
| "C4", | |
| "FC6", | |
| "FC4", | |
| "FC2", | |
| "F6", | |
| "F4", | |
| "F2", | |
| "AF4", | |
| "AF3", | |
| "F5", | |
| "F3", | |
| "F1", | |
| "Fz", | |
| "FC5", | |
| "FC3", | |
| "FC1", | |
| "FCz", | |
| "C5" | |
| ], | |
| "t_ff": 1024, | |
| "t_heads": 8, | |
| "t_layers": 4, | |
| "transformers_version": "5.22.1" | |
| } | |