Dataset Viewer (First 5GB)
Auto-converted to Parquet
spike_counts
sequencelengths
1
1.73k
subject_id
stringclasses
45 values
session_id
stringlengths
3
64
segment_id
stringclasses
105 values
source_dataset
stringclasses
17 values
[[0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,(...TRUNCATED)
sub-Reggie
sub-Reggie_ses-20170115T125333_behavior+ecephys
segment_2
even-chen
[[1,0,2,1,1,2,3,0,0,1,0,0,0,0,0,0,1,1,0,1,0,0,1,0,1,2,1,1,0,2,0,1,0,1,1,1,0,0,4,1,0,1,1,2,0,1,1,0,2,(...TRUNCATED)
sub-Bo
sub-Bo_ses-20220913T103744
segment_0
xiao
[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,(...TRUNCATED)
sub-Bf
sub-Bf_ses-20220108T180629
segment_4
xiao
[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED)
sub-Pa
sub-Pa_ses-20191104T084831
segment_3
xiao
[[3,0,0,0,1,1,1,0,1,0,1,0,1,0,0,3,2,0,0,1,0,2,1,1,0,0,0,1,0,1,0,1,0,1,0,0,2,0,0,0,0,0,2,1,0,1,1,1,0,(...TRUNCATED)
sub-Bo
sub-Bo_ses-20220904T093357
segment_0
xiao
[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED)
sub-Pa
sub-Pa_ses-20191102T104609
segment_8
xiao
[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED)
sub-Pa
sub-Pa_ses-20191119T111502
segment_4
xiao
[[0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED)
sub-Pa
sub-Pa_ses-20200228T102946
segment_8
xiao
[[0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,(...TRUNCATED)
sentences
t12.2022.08.18_sentences
segment_7
willett
[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED)
sub-Jenkins
sub-Jenkins_ses-20090916_behavior+ecephys
segment_11
churchland
End of preview. Expand in Data Studio

The Neural Pile (primate)

This dataset contains 34.3 billion tokens of curated spiking neural activity data recorded from primates. The code and detailed instructions for creating this dataset from scratch can be found at this GitHub repository. The dataset takes up about 34 GB on disk when stored as memory-mapped .arrow files (which is the format used by the local caching system of the Hugging Face datasets library). The dataset comes with separate train and test splits. You can load, e.g., the train split of the dataset as follows:

ds = load_dataset("eminorhan/neural-pile-primate", num_proc=32, split='train')

and display the first data row:

>>> print(ds[0])
>>> {
'spike_counts': ...,
'subject_id': 'sub-Reggie',
'session_id': 'sub-Reggie_ses-20170115T125333_behavior+ecephys',
'segment_id': 'segment_2',
'source_dataset': 'even-chen'
}

where:

  • spike_counts is a uint8 array containing the spike count data. Its shape is (n,t) where n is the number of simultaneously recorded neurons in that session and t is the number of time bins (20 ms bins).
  • source_dataset is an identifier string indicating the source dataset from which that particular row of data came from.
  • subject_id is an identifier string indicating the subject the data were recorded from.
  • session_id is an identifier string indicating the recording session.
  • segment_id is a segment (or chunk) identifier useful for cases where the session was split into smaller chunks (we split long recording sessions (>10M tokens) into smaller equal-sized chunks of no more than 10M tokens), so the whole session can be reproduced from its chunks, if desired.

The dataset rows are pre-shuffled, so user do not have to re-shuffle them.

Downloads last month
288

Collection including eminorhan/neural-pile-primate