Card: list the training data (datasets:, base_model:) and add a Training data section
Browse filesFollow-up to braindecode PR #1493: `from_pretrained` reads `datasets:` into `model.card_data`. Ids: MOABB names, NEMAR nm/on ids, OpenNeuro ds ids; evidence per checkpoint.
README.md
CHANGED
|
@@ -11,6 +11,8 @@ tags:
|
|
| 11 |
- pytorch_model_hub_mixin
|
| 12 |
- model_hub_mixin
|
| 13 |
pipeline_tag: feature-extraction
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Du-IN — braindecode weights
|
|
@@ -62,6 +64,26 @@ Every checkpoint is **subject-specific**: it was trained on that subject's 10
|
|
| 62 |
channels and only fits that montage, in the channel order of the authors'
|
| 63 |
dataset. They are not a cross-subject foundation model.
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
## Usage
|
| 66 |
|
| 67 |
```python
|
|
|
|
| 11 |
- pytorch_model_hub_mixin
|
| 12 |
- model_hub_mixin
|
| 13 |
pipeline_tag: feature-extraction
|
| 14 |
+
datasets:
|
| 15 |
+
- nm000365
|
| 16 |
---
|
| 17 |
|
| 18 |
# Du-IN — braindecode weights
|
|
|
|
| 64 |
channels and only fits that montage, in the channel order of the authors'
|
| 65 |
dataset. They are not a cross-subject foundation model.
|
| 66 |
|
| 67 |
+
<!-- braindecode:training-data -->
|
| 68 |
+
## Training data
|
| 69 |
+
|
| 70 |
+
The data that shaped these weights. The ids are the `datasets:` field of this card,
|
| 71 |
+
which braindecode reads into `model.card_data.datasets` when you call
|
| 72 |
+
`from_pretrained` (MOABB class names for MOABB datasets, OpenNeuro / NEMAR
|
| 73 |
+
accessions, Hub ids otherwise). `nm`/`on` ids are datasets on [NEMAR](https://nemar.org)
|
| 74 |
+
(`on` = NEMAR's copy of the OpenNeuro dataset with the same number). Rows marked
|
| 75 |
+
`private:` are data the authors did not release; they are not in `datasets:`.
|
| 76 |
+
|
| 77 |
+
| `datasets:` id | Dataset | Stage | Modality |
|
| 78 |
+
|---|---|---|---|
|
| 79 |
+
| `private:Du-IN-Xuanwu-sEEG-other-tasks` | [Unreleased sEEG recordings of the same 12 Du-IN subjects from other cognitive tasks (~12 h per subject; Xuanwu Hospital, Beijing)](https://github.com/liulab-repository/Du-IN) | pretraining | iEEG |
|
| 80 |
+
| [`nm000365`](https://nemar.org/dataset/nm000365) | [Du-IN Chinese 61-word reading sEEG dataset (12 subjects, Xuanwu Hospital; preprocessed ~3 h task recordings per subject), 'seeg.he2023xuanwu'](https://huggingface.co/datasets/liulab-repository/Du-IN) | pretraining | iEEG |
|
| 81 |
+
|
| 82 |
+
- Per-subject: each of the 24 checkpoints is trained only on ONE subject's sEEG (10 selected bipolar channels). vqvae stage = VQ-VAE; mae stage = masked code modelling initialised with that subject's VQ-VAE codex. Paper main setting uses all ~15 h of the subject (12 h other tasks + 3 h word-reading task); whether the released checkpoints include the 3 h task recordings is not stated.
|
| 83 |
+
- **Incomplete list.** Same dataset family for all 24 checkpoints, per subject (subj-001..012). The ~12 h of non-task recordings are unreleased; the authors do not say whether the released checkpoint-399 files were trained with or without the 3 h word-reading recordings (paper Table 3: 'mae w/ DD' 15 h vs 'mae w/o DD' 12 h). A dataset missing here is therefore not proof that these weights never saw it.
|
| 84 |
+
- Sources: arXiv:2405.11459 Section 4.1; arXiv:2405.11459 Section 4.2; https://github.com/liulab-repository/Du-IN README, Stage 0; liulab-repository/Du-IN pretrains/duin/001/mae/save/params (pickled DotDict; value of key 'dataset').
|
| 85 |
+
|
| 86 |
+
|
| 87 |
## Usage
|
| 88 |
|
| 89 |
```python
|