Submit a model¶
Your model runs as a frozen encoder on our cluster, on every subject, and shows up on the leaderboard as soon as your pull request is merged. No new release needed.
Before you start
You need three things: public code that loads your model, weights reachable by a direct download link, and a function that turns one scan into one vector.
In five steps¶
-
Fork and copy the template
Then clone your fork, so your pull request comes from it:
git clone https://github.com/YOUR-USERNAME/BrainFMBench && cd BrainFMBench cp -r example-submission models/my-modelFolder names use lowercase letters, digits,
_and-. -
Write
extract.pydef extract(input_dir, output_csv, weights_dir): # for each <input_dir>/<subject_id>/normalized.nii.gz # load, run a forward pass, pool to one vector # write subject_id,f0,...,fN to output_csvForward pass only, no training. Set your seeds.
-
Fill in
model.yamlname: My Model authors: [Lastname, F., et al.] preprocessing: turboprep # turboprep-affine, cat12 or raw embedding_dim: 768 paper: https://... code: https://... model_card: https://... -
List your weights in
weights.txtOne direct download link per line: Hugging Face
/resolve/links, Zenodo or GitHub Releases. Gated weights are fine, say so in the pull request. -
Open the pull request
Validation runs
extract.pyon a synthetic volume. A maintainer reviews, merges, and extraction starts on the cluster. Results usually appear within a day.
A real example¶
Neuro-JEPA-B was submitted by its authors in three files: an extract.py that averages the final layer tokens into 768 values, a model.yaml choosing turboprep-affine, and a weights.txt pointing to its gated Hugging Face checkpoint. Browse it in models/neuro-jepa.
Every detail of the interface is in the Reference.