Skip to content

Commit 637f4c1

Browse files
1 parent 7203630 commit 637f4c1

414 files changed

Lines changed: 2608 additions & 891 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Binary file not shown.

dev/_downloads/0ada35f18bb95235ba2842270483081f/plot_finetune_foundation_model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"cell_type": "markdown",
9595
"metadata": {},
9696
"source": [
97-
"## Loading a pre-trained foundation model\n\n### Load Pre-trained Weights from the Hub\n\nWe load the pre-trained SignalJEPA downstream model from the Hugging Face\nHub using ``from_pretrained``. The ``SignalJEPA_PreLocal`` checkpoint\nalready bundles the SSL backbone together with the downstream\nclassification layers, so a single call is all that is needed.\n\nFor other foundation models (BENDR, BIOT, Labram, etc.) the same\none-line pattern applies \u2014 see `load-pretrained-models`.\n\n\n"
97+
"## Loading a pre-trained foundation model\n\n### Load Pre-trained Weights from the Hub\n\nWe load the pre-trained SignalJEPA downstream model from the Hugging Face\nHub using ``from_pretrained``. The ``SignalJEPA_PreLocal`` checkpoint\nalready bundles the SSL backbone together with the downstream\nclassification layers, so a single call is all that is needed.\n\nFor other foundation models (BENDR, BIOT, Labram, STEEGFormer, etc.) the\nsame one-line pattern applies \u2014 see `load-pretrained-models`. For\nexample, the braindecode re-host of the STEEGFormer small checkpoint can be\nloaded as ``STEEGFormer.from_pretrained(\"braindecode/STEEGFormer-small\",\nn_outputs=len(classes), chs_info=chs_info)`` -- pass ``n_outputs`` to size the\nclassification head and ``chs_info`` to align your montage with the channel\nvocabulary.\n\n\n"
9898
]
9999
},
100100
{
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)