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
File size: 1,222 Bytes
99c5ca3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | {
"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"
}
|