How to Access BERG

BERG is stored in a public Amazon S3 bucket made available through the AWS Open Data Program. You do not need an AWS account to browse or download the data. By downloading the data you agree to BERG’s Terms and Conditions.

To access the bucket, use the following information:

  • Bucket name: brain-encoding-response-generator

  • AWS region: us-west-2

  • ARN: arn:aws:s3:::brain-encoding-response-generator

Note

The brain-encoding-response-generator bucket contains many GBs of data. Depending on your needs, you may choose to download only specific folders. This documentation provides a detailed description of BERG’s content to help you decide what to download.

BERG Dataset Structure

Overview of BERG Folder Organization

BERG is organized in a structured hierarchy designed to make it easy to locate specific encoding models by their neural data recording modality, training dataset, and model type.

The main folder structure follows this pattern:

brain-encoding-response-generator/
├── encoding_models/
│   ├── modality-{modality}/
│   │   ├── train_dataset-{dataset}/
│   │   │   └── model-{model}/
│   │   │       ├── encoding_models_accuracy/
│   │   │       ├── encoding_models_weights/
│   │   │       └── metadata/
└── berg_tutorials/

Detailed Structure of Encoding Models

The encoding_models directory contains all trained models organized hierarchically by:

  1. modality: The neural recording recording modality on which the encoding model was trained (e.g., fmri, eeg).

  2. train_dataset: The neural dataset on which the encoding model was trained (e.g., nsd, things_eeg_2).

  3. model: The type of encoding model used (e.g., fwrf, vit_b_32).

Contents of Model Directories

Each model directory contains three subdirectories:

encoding_models_accuracy/

  • This directory contains plots of the encoding models’ prediction accuracy.

encoding_models_weights/

  • This directory contains the trained model weights used to generate the in silico neural responses.

metadata/

  • This directory contains important metadata relative to the encoding models and to the neural data used to train them.

The BERG Python package automatically handles access to these files based on your requested parameters, making it easy to use without managing these paths directly.