Feature Extraction
Transformers
Safetensors
PyTorch
reve
eeg
neuroscience
foundation-model
custom_code
Instructions to use tkhieu/reve-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tkhieu/reve-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="tkhieu/reve-small", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tkhieu/reve-small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from tkhieu/reve-small: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/tkhieu/reve-small/resolve/main/config.json
- Command line
-
hf download hf://tkhieu/reve-small/config.json
-
curl -L -o config.json https://huggingface.co/tkhieu/reve-small/resolve/main/config.json
427 Bytes
| { | |
| "architectures": [ | |
| "Reve" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_reve.ReveConfig", | |
| "AutoModel": "modeling_reve.Reve" | |
| }, | |
| "depth": 4, | |
| "dtype": "float32", | |
| "embed_dim": 512, | |
| "freqs": 4, | |
| "head_dim": 64, | |
| "heads": 8, | |
| "mlp_dim_ratio": 2.66, | |
| "model_type": "reve", | |
| "noise_ratio": 0.0025, | |
| "patch_overlap": 20, | |
| "patch_size": 200, | |
| "transformers_version": "4.56.2", | |
| "use_geglu": true | |
| } | |