Feature Extraction
Transformers
Safetensors
spera
eeg
biosignal
time-series
foundation-model
self-supervised-learning
representation-learning
transformer
jepa
neuroscience
brain-computer-interface
neurips-2026
custom_code
Eval Results (legacy)
Instructions to use sees4321/SPERA_EEG with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sees4321/SPERA_EEG with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sees4321/SPERA_EEG", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sees4321/SPERA_EEG", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from sees4321/SPERA_EEG: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/sees4321/SPERA_EEG/resolve/main/config.json
- Command line
-
hf download hf://sees4321/SPERA_EEG/config.json
-
curl -L -o config.json https://huggingface.co/sees4321/SPERA_EEG/resolve/main/config.json
1.22 kB
| { | |
| "architectures": [ | |
| "SperaModel" | |
| ], | |
| "attn_dropout": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "configuration_spera.SperaConfig", | |
| "AutoModel": "modeling_spera.SperaModel" | |
| }, | |
| "coord_w_init": 0.0, | |
| "d_model": 896, | |
| "dropout": 0.0, | |
| "dtype": "float32", | |
| "encoder_arch": "hybrid", | |
| "evaluation_preprocessing": { | |
| "axis": "time_per_sample_per_channel", | |
| "coord_scale": 10.0, | |
| "eeg_normalization": "per_channel", | |
| "epsilon": 1e-06, | |
| "std_correction": 1 | |
| }, | |
| "full_attn_every": 4, | |
| "full_attn_use_spatial_bias": false, | |
| "max_tokens": 4096, | |
| "mlp_ratio": 4.0, | |
| "mlp_type": "swiglu", | |
| "model_type": "spera", | |
| "n_heads": 14, | |
| "n_layers": 16, | |
| "norm_type": "layernorm", | |
| "patch_seconds": 1.0, | |
| "predictor_layers": 2, | |
| "predictor_mlp_ratio": 4.0, | |
| "predictor_n_heads": 14, | |
| "query_token_init_std": 0.02, | |
| "rope_theta": 10000.0, | |
| "rotary_pct": 1.0, | |
| "sample_rate": 200, | |
| "spatial_ak": "legendre_anchor", | |
| "spatial_ak_degree": 8, | |
| "spatial_ak_feat_dim": 64, | |
| "spatial_ak_num_anchors": 32, | |
| "spatial_ak_scale": 1.0, | |
| "spatial_bias": "legendre", | |
| "spatial_bias_degree": 8, | |
| "spatial_bias_scale": 1.0, | |
| "spatial_bias_use_unit_sphere": true, | |
| "transformers_version": "5.3.0" | |
| } | |