lain-py commited on
Commit
8e72548
Β·
1 Parent(s): dd4be1f

feat: DyMixOp benchmarks (small files)

Browse files
.gitattributes CHANGED
@@ -1,59 +1,4 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.lz4 filter=lfs diff=lfs merge=lfs -text
12
- *.mds filter=lfs diff=lfs merge=lfs -text
13
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
- *.model filter=lfs diff=lfs merge=lfs -text
15
- *.msgpack filter=lfs diff=lfs merge=lfs -text
16
- *.npy filter=lfs diff=lfs merge=lfs -text
17
  *.npz filter=lfs diff=lfs merge=lfs -text
18
- *.onnx filter=lfs diff=lfs merge=lfs -text
19
- *.ot filter=lfs diff=lfs merge=lfs -text
20
- *.parquet filter=lfs diff=lfs merge=lfs -text
21
- *.pb filter=lfs diff=lfs merge=lfs -text
22
- *.pickle filter=lfs diff=lfs merge=lfs -text
23
- *.pkl filter=lfs diff=lfs merge=lfs -text
24
- *.pt filter=lfs diff=lfs merge=lfs -text
25
- *.pth filter=lfs diff=lfs merge=lfs -text
26
- *.rar filter=lfs diff=lfs merge=lfs -text
27
- *.safetensors filter=lfs diff=lfs merge=lfs -text
28
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
- *.tar.* filter=lfs diff=lfs merge=lfs -text
30
- *.tar filter=lfs diff=lfs merge=lfs -text
31
- *.tflite filter=lfs diff=lfs merge=lfs -text
32
- *.tgz filter=lfs diff=lfs merge=lfs -text
33
- *.wasm filter=lfs diff=lfs merge=lfs -text
34
- *.xz filter=lfs diff=lfs merge=lfs -text
35
- *.zip filter=lfs diff=lfs merge=lfs -text
36
- *.zst filter=lfs diff=lfs merge=lfs -text
37
- *tfevents* filter=lfs diff=lfs merge=lfs -text
38
- # Audio files - uncompressed
39
- *.pcm filter=lfs diff=lfs merge=lfs -text
40
- *.sam filter=lfs diff=lfs merge=lfs -text
41
- *.raw filter=lfs diff=lfs merge=lfs -text
42
- # Audio files - compressed
43
- *.aac filter=lfs diff=lfs merge=lfs -text
44
- *.flac filter=lfs diff=lfs merge=lfs -text
45
- *.mp3 filter=lfs diff=lfs merge=lfs -text
46
- *.ogg filter=lfs diff=lfs merge=lfs -text
47
- *.wav filter=lfs diff=lfs merge=lfs -text
48
- # Image files - uncompressed
49
- *.bmp filter=lfs diff=lfs merge=lfs -text
50
- *.gif filter=lfs diff=lfs merge=lfs -text
51
- *.png filter=lfs diff=lfs merge=lfs -text
52
- *.tiff filter=lfs diff=lfs merge=lfs -text
53
- # Image files - compressed
54
- *.jpg filter=lfs diff=lfs merge=lfs -text
55
- *.jpeg filter=lfs diff=lfs merge=lfs -text
56
- *.webp filter=lfs diff=lfs merge=lfs -text
57
- # Video files - compressed
58
- *.mp4 filter=lfs diff=lfs merge=lfs -text
59
- *.webm filter=lfs diff=lfs merge=lfs -text
 
1
+ *.mat filter=lfs diff=lfs merge=lfs -text
2
+ *.nc filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
3
  *.h5 filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
4
  *.npz filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1dKS_1200x22x1x4096_dt1_t[100_120].mat ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8989fd438cc4fdde9408c155c3279b28385ae024f11fa3ac056f357e2e8260cd
3
+ size 865075392
2dBurgers_1200x20x2x64x64_dt0.0025_t[0_0.5]_nu0.005.mat ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8a76a3dcecad15df4e5c7fafac6de2d022643bae94ae7575017df4db80fcf8d
3
+ size 1651507400
2dDarcy_5keys_2048x1x1x241x241.mat ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6efd80ef7321cf98bb500a47b7bfe9ed013f36b221b277d06509b867895ea9d
3
+ size 3806396936
2dNS_1200x20x1x64x64_dt1_t[10_30]_nu1e-05.mat ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d53765e48dd13907d39f683f10d95660bbce876b3ae44b8b283e05da947ee0e
3
+ size 2265449882
3dBrusselator_1000x2x1x39x28x28_dt0.5_t[0_19].mat ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bd5bbb5b174c5ce9ac59df46770d77939f8819eb8152dc181e0368dc464f791
3
+ size 489216200
3dShallowWater_1200x30x2x64x32.mat ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:666f2f4b3d2d0f44ada933aaeb0da6d6b82457585327f74421c78f36b7011c55
3
+ size 1179648608
README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ tags:
6
+ - dynamical-systems
7
+ - pde
8
+ - operator-learning
9
+ - fluid-dynamics
10
+ - turbulence
11
+ - benchmark
12
+ - scientific-ml
13
+ pretty_name: DyMixOp Benchmarks
14
+ homepage: https://github.com/Lai-PY/DyMixOp
15
+ paper: https://arxiv.org/abs/2508.13490
16
+ size_categories:
17
+ - 1K<n<10K # Sample count range
18
+ ---
19
+
20
+ # DyMixOp Benchmarks
21
+
22
+ **High-fidelity benchmark datasets for evaluating neural operators on multi-scale spatiotemporal dynamical systems.**
23
+
24
+ Part of the **DyMixOp** (Dynamical Mixture of Operators) framework for learning complex PDE solutions.
25
+
26
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
27
+ [![Paper](https://img.shields.io/badge/arXiv-2508.13490-b31b1b.svg)](https://arxiv.org/abs/2508.13490)
28
+ [![Dataset Size](https://img.shields.io/badge/Total_Size-~20GB-blue.svg)]()
29
+
30
+ ## πŸ“Š Available Datasets
31
+
32
+ | Dataset | PDE System | Spatial Dim | Resolution | Samples | Time Span | File Size | Key Parameters |
33
+ |---------|------------|-------------|------------|---------|-----------|-----------|----------------|
34
+ | [`1dKS`](./1dKS_1200x22x1x4096_dt1_t[100_120].mat) | Kuramoto-Sivashinsky | 1D | 4096 | 1,200 | t∈[100,120] | 845 MB | dt=1 |
35
+ | [`2dBurgers`](./2dBurgers_1200x20x2x64x64_dt0.0025_t[0_0.5]_nu0.005.mat) | 2D Burgers | 2D | 64Γ—64 | 1,200 | t∈[0,0.5] | 1.6 GB | Ξ½=0.005, dt=0.0025 |
36
+ | [`2dCE-CRP`](./2dCE-CRP_1430x21x5x128x128_dt0.05_t[0_1].nc) | Cahn-Hilliard + Reaction-Diffusion | 2D | 128Γ—128 | 1,430 | t∈[0,1] | 9.6 GB | 5 channels, dt=0.05 |
37
+ | [`2dDarcy`](./2dDarcy_5keys_2048x1x1x241x241.mat) | Darcy Flow | 2D | 241Γ—241 | 2,048 | Steady-state | 3.7 GB | 5 permeability fields |
38
+ | [`2dNS`](./2dNS_1200x20x1x64x64_dt1_t[10_30]_nu1e-05.mat) | 2D Navier-Stokes | 2D | 64Γ—64 | 1,200 | t∈[10,30] | 2.2 GB | Ξ½=1e-5, dt=1 |
39
+ | [`3dBrusselator`](./3dBrusselator_1000x2x1x39x28x28_dt0.5_t[0_19].mat) | 3D Brusselator | 3D | 39Γ—28Γ—28 | 1,000 | t∈[0,19] | 478 MB | dt=0.5 |
40
+ | [`3dShallowWater`](./3dShallowWater_1200x30x2x64x32.mat) | Shallow Water | 3D | 64Γ—32 | 1,200 | 30 timesteps | 1.2 GB | 2 variables |
41
+
42
+ **Total: ~20GB across 7 benchmark datasets**
43
+
44
+ ## πŸš€ Quick Start
45
+
46
+ ### Installation
47
+
48
+ ```bash
49
+ pip install huggingface-hub numpy scipy
50
+ ```
51
+
52
+ ### Direct Download
53
+
54
+ ```python
55
+ from huggingface_hub import hf_hub_download
56
+ import scipy.io as sio
57
+
58
+ # Download a specific dataset
59
+ file_path = hf_hub_download(
60
+ repo_id="Lai-PY/DyMixOp-Benchmarks",
61
+ filename="2dNS_1200x20x1x64x64_dt1_t[10_30]_nu1e-05.mat",
62
+ repo_type="dataset"
63
+ )
64
+
65
+ # Load the data
66
+ data = sio.loadmat(file_path)
67
+ print(data.keys()) # View available variables
68
+ ```
69
+
70
+ ### Batch Download Script
71
+
72
+ ```python
73
+ from huggingface_hub import snapshot_download
74
+ import os
75
+
76
+ # Download all datasets
77
+ local_dir = "./DyMixOp_datasets"
78
+ os.makedirs(local_dir, exist_ok=True)
79
+
80
+ snapshot_download(
81
+ repo_id="Lai-PY/DyMixOp-Benchmarks",
82
+ repo_type="dataset",
83
+ local_dir=local_dir,
84
+ max_workers=4
85
+ )
86
+ ```
87
+
88
+ ## πŸ“– Data Format Documentation
89
+
90
+ ### File Naming Convention
91
+
92
+ ```
93
+ {dimension}{system}_{samples}x{time_steps}x{channels}x{spatial_dims}_{params}.ext
94
+ ```
95
+
96
+ ### Data Structure
97
+
98
+ Most datasets are stored in MATLAB `.mat` format with the following structure:
99
+
100
+ ```python
101
+ {
102
+ 'u': array([...]), # Solution fields (main data)
103
+ 't': array([...]), # Time coordinates
104
+ 'x': array([...]), # Spatial coordinates
105
+ 'params': {...}, # System parameters
106
+ '__header__': bytes, # MATLAB header
107
+ '__version__': str, # MATLAB version
108
+ '__globals__': [] # Global variables
109
+ }
110
+ ```
111
+
112
+ ### NetCDF Format (2dCE-CRP)
113
+
114
+ The Cahn-Hilliard dataset uses NetCDF format:
115
+
116
+ ```python
117
+ import netCDF4 as nc
118
+
119
+ dataset = nc.Dataset('2dCE-CRP_1430x21x5x128x128_dt0.05_t[0_1].nc')
120
+ print(dataset.variables.keys()) # View available variables
121
+ ```
122
+
123
+ ## πŸ”¬ Benchmark Applications
124
+
125
+ These datasets are designed for evaluating:
126
+
127
+ - **Neural Operators**: FNO, DeepONet, etc.
128
+ - **Operator Learning**: Mapping between function spaces
129
+ - **Multi-scale Dynamics**: Capturing phenomena across scales
130
+ - **Long-term Prediction**: Temporal extrapolation capability
131
+ - **Uncertainty Quantification**: Robustness to parameter variations
132
+
133
+ ## πŸ“š Citation
134
+
135
+ If you use these benchmarks in your research, please cite:
136
+
137
+ ```bibtex
138
+ @article{lai2025dymixop,
139
+ title={DyMixOp: Guiding Neural Operator Design for PDEs from a Complex Dynamics Perspective with Local-Global-Mixing},
140
+ author={Lai, Pengyu and Chen, Yixiao and Xu, Hui},
141
+ journal={arXiv preprint arXiv:2508.13490},
142
+ year={2025}
143
+ }
144
+ ```
145
+
146
+ ## 🀝 Contributing
147
+
148
+ We welcome contributions! Please see our [GitHub repository](https://github.com/Lai-PY/DyMixOp) for guidelines.
149
+
150
+ ## πŸ“„ License
151
+
152
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.