Commit ·
ea8672c
unverified ·
0
Parent(s):
MouseGPT example data
Browse filesFiles changed (6)
- .gitattributesAdded+60
- README.mdAdded+84
- hdf5-schema.jsonAdded+397
- manifest.jsonAdded+31
- nlui-demo.zipAdded+3
- vlm-demo.zipAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.avro filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.lz4 filter=lfs diff=lfs merge=lfs -text*.mds filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text# Audio files - uncompressed*.pcm filter=lfs diff=lfs merge=lfs -text*.sam filter=lfs diff=lfs merge=lfs -text*.raw filter=lfs diff=lfs merge=lfs -text# Audio files - compressed*.aac filter=lfs diff=lfs merge=lfs -text*.flac filter=lfs diff=lfs merge=lfs -text*.mp3 filter=lfs diff=lfs merge=lfs -text*.ogg filter=lfs diff=lfs merge=lfs -text*.wav filter=lfs diff=lfs merge=lfs -text# Image files - uncompressed*.bmp filter=lfs diff=lfs merge=lfs -text*.gif filter=lfs diff=lfs merge=lfs -text*.png filter=lfs diff=lfs merge=lfs -text*.tiff filter=lfs diff=lfs merge=lfs -text# Image files - compressed*.jpg filter=lfs diff=lfs merge=lfs -text*.jpeg filter=lfs diff=lfs merge=lfs -text*.webp filter=lfs diff=lfs merge=lfs -text# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384---language:- enlicense: cc-by-nc-nd-4.0tags:- neuroscience- animal-behavior- mousegpt- example-datapretty_name: MouseGPT example dataviewer: false---
# MouseGPT Example Data
[](https://github.com/Ten1o/MouseGPT)[](https://huggingface.co/Ten1o/MouseGPT)[](https://arxiv.org/abs/2503.10212)
Sample inputs and a processed recording for exploring **MouseGPT**, a framework for mouse behavior analysis using pose estimation, vision-language descriptions, and natural-language interaction.
Start with the small VLM bundle to inspect the inference format, or use the prepared session to explore descriptions and embeddings without repeating pose estimation and MouseGPT inference. Training, inference, analysis, and interface code are maintained together in the [GitHub repository](https://github.com/Ten1o/MouseGPT).
## Contents
| Bundle | Download size | Contents | Use || --- | ---: | --- | --- || `vlm-demo.zip` | 0.29 MB | 10 JPEGs and 10 JSONL records with prompts and example responses | Inspect the input format and run inference with a compatible model server. || `nlui-demo.zip` | 985.32 MB | `240419_C11M4.h5` and 6,000 JPEGs | Explore cached descriptions, embeddings, and frame previews through the natural-language interface. |
Sizes use decimal MB. The NLUI bundle expands to approximately 1.39 GB. [manifest.json](manifest.json) records exact archive sizes, SHA-256 checksums, file counts, and installation destinations.
## Quick start
Use Python 3.10 or newer. Download and validate the small inference example:
```bashgit clone https://github.com/Ten1o/MouseGPT.gitcd MouseGPTpython -m pip install -r requirements-assets.txtpython scripts/download_assets.py vlm-demopython 2_VLM/prompt_test/client_test.py --validate-only```
Validation runs locally without a model server. To generate new descriptions, follow the [VLM guide](https://github.com/Ten1o/MouseGPT/blob/main/2_VLM/readme.md) and check checkpoint availability in the [model repository](https://huggingface.co/Ten1o/MouseGPT).
To explore the prepared session, download the larger bundle:
```bashpython scripts/download_assets.py nlui-demopython scripts/download_assets.py nlui-demo --verify```
Then follow the [NLUI guide](https://github.com/Ten1o/MouseGPT/blob/main/4_NLUI/readme.md) to configure its environment and launch the interface. Conversation, semantic search, and some analysis tools use external APIs; the module guide describes the required credentials and provider behavior.
The downloader uses a pinned dataset revision, verifies archive checksums, and installs each bundle into its module's data directory. For offline installation, download the ZIP files and add `--local-bundle-dir /path/to/bundles` to the download command. See the [example workflows](https://github.com/Ten1o/MouseGPT/blob/main/examples/README.md) for details.
## Data format
### VLM inputs
`test_data.jsonl` contains `query`, `images`, and `response` fields. Image paths are relative to the JSONL file, using `imgs/<filename>.jpg`. The inference client sends the query and images to the model. Stored responses illustrate model output; they are not model inputs, expert annotations, or deterministic expected results.
### Prepared session
The HDF5 file contains 5,999 frame records with descriptions and cached analysis features:
| Data | Shape || --- | --- || Description and body-part feature matrices | 5,999 × 3,072 each || UMAP and t-SNE coordinates | 5,999 × 2 each || Hierarchical linkage matrices | 5,998 × 4 each |
The feature keys are `features_des`, `features_key`, `features_Head`, `features_Limb`, `features_Torso`, `features_Overall`, and `features_Others`. [hdf5-schema.json](hdf5-schema.json) provides the complete dataset shapes and types. Use the environment in the [NLUI guide](https://github.com/Ten1o/MouseGPT/blob/main/4_NLUI/readme.md) to read the pandas object columns.
Every stored frame has a matching image. The additional preview `00037368.jpg` has no cached feature row. **Align records and images by frame ID**, rather than image-list position.
## Intended use and data availability
These processed examples support individual workflow components. They do not include raw videos, model checkpoints, complete training data, the full experimental cohort or the 435-frame evaluation benchmark. Group-level phenotype analyses require the corresponding cohort data. Full raw data are available upon request.
## License and support
The example data are licensed under [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/). Please report code or data-loading issues through [GitHub Issues](https://github.com/Ten1o/MouseGPT/issues), including the bundle name, code revision, environment, and error message.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397[ { "name": "TSNE_2D_des/axis0", "shape": [ 2 ], "dtype": "int64", "compression": null }, { "name": "TSNE_2D_des/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "TSNE_2D_des/block0_items", "shape": [ 2 ], "dtype": "int64", "compression": null }, { "name": "TSNE_2D_des/block0_values", "shape": [ 5999, 2 ], "dtype": "float32", "compression": null }, { "name": "UMAP_2D_des/axis0", "shape": [ 2 ], "dtype": "int64", "compression": null }, { "name": "UMAP_2D_des/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "UMAP_2D_des/block0_items", "shape": [ 2 ], "dtype": "int64", "compression": null }, { "name": "UMAP_2D_des/block0_values", "shape": [ 5999, 2 ], "dtype": "float32", "compression": null }, { "name": "descriptions/axis0", "shape": [ 2 ], "dtype": "|S11", "compression": null }, { "name": "descriptions/axis1", "shape": [ 5999 ], "dtype": "int64", "compression": null }, { "name": "descriptions/block0_items", "shape": [ 2 ], "dtype": "|S11", "compression": null }, { "name": "descriptions/block0_values", "shape": [ 1 ], "dtype": "object", "compression": null }, { "name": "features_Head/axis0", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Head/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "features_Head/block0_items", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Head/block0_values", "shape": [ 5999, 3072 ], "dtype": "float64", "compression": null }, { "name": "features_Limb/axis0", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Limb/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "features_Limb/block0_items", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Limb/block0_values", "shape": [ 5999, 3072 ], "dtype": "float64", "compression": null }, { "name": "features_Others/axis0", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Others/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "features_Others/block0_items", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Others/block0_values", "shape": [ 5999, 3072 ], "dtype": "float64", "compression": null }, { "name": "features_Overall/axis0", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Overall/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "features_Overall/block0_items", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Overall/block0_values", "shape": [ 5999, 3072 ], "dtype": "float64", "compression": null }, { "name": "features_Torso/axis0", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Torso/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "features_Torso/block0_items", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_Torso/block0_values", "shape": [ 5999, 3072 ], "dtype": "float64", "compression": null }, { "name": "features_des/axis0", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_des/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "features_des/block0_items", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_des/block0_values", "shape": [ 5999, 3072 ], "dtype": "float64", "compression": null }, { "name": "features_key/axis0", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_key/axis1", "shape": [ 5999 ], "dtype": "|S8", "compression": null }, { "name": "features_key/block0_items", "shape": [ 3072 ], "dtype": "int64", "compression": null }, { "name": "features_key/block0_values", "shape": [ 5999, 3072 ], "dtype": "float64", "compression": null }, { "name": "linkage_matrix/axis0", "shape": [ 4 ], "dtype": "int64", "compression": null }, { "name": "linkage_matrix/axis1", "shape": [ 5998 ], "dtype": "int64", "compression": null }, { "name": "linkage_matrix/block0_items", "shape": [ 4 ], "dtype": "int64", "compression": null }, { "name": "linkage_matrix/block0_values", "shape": [ 5998, 4 ], "dtype": "float64", "compression": null }, { "name": "linkage_matrix_Torso/axis0", "shape": [ 4 ], "dtype": "int64", "compression": null }, { "name": "linkage_matrix_Torso/axis1", "shape": [ 5998 ], "dtype": "int64", "compression": null }, { "name": "linkage_matrix_Torso/block0_items", "shape": [ 4 ], "dtype": "int64", "compression": null }, { "name": "linkage_matrix_Torso/block0_values", "shape": [ 5998, 4 ], "dtype": "float64", "compression": null }]12345678910111213141516171819202122232425262728293031{ "schema_version": 1, "assets": [ { "id": "vlm-demo", "repo_id": "Ten1o/MouseGPT-examples", "repo_type": "dataset", "revision": null, "filename": "vlm-demo.zip", "destination": "2_VLM/prompt_test/data", "description": "10 image/prompt examples for VLM inference", "sha256": "eb22b973b8ff1c6c11d0fe129db780cd1f9417d6aa3aaf406fd2c88dd2b6011c", "bytes": 293562, "file_count": 11, "uncompressed_bytes": 357120 }, { "id": "nlui-demo", "repo_id": "Ten1o/MouseGPT-examples", "repo_type": "dataset", "revision": null, "filename": "nlui-demo.zip", "destination": "4_NLUI/data", "description": "Prepared 240419_C11M4 session and 6000 preview frames", "sha256": "4e5ed54ca00ab983633cbead2e2554e1e728d2c2fe14e57ec2363c3a5e64b651", "bytes": 985321393, "file_count": 6001, "uncompressed_bytes": 1387066926 } ]}123version https://git-lfs.github.com/spec/v1oid sha256:4e5ed54ca00ab983633cbead2e2554e1e728d2c2fe14e57ec2363c3a5e64b651size 985321393123version https://git-lfs.github.com/spec/v1oid sha256:eb22b973b8ff1c6c11d0fe129db780cd1f9417d6aa3aaf406fd2c88dd2b6011csize 293562.gitattributesAdded+60
README.mdAdded+84
hdf5-schema.jsonAdded+397
manifest.jsonAdded+31
nlui-demo.zipAdded+3
vlm-demo.zipAdded+3