monteirot commited on
Commit
347de8b
·
verified ·
1 Parent(s): 0ec9995

Upload 3 files

Browse files
Files changed (3) hide show
  1. .gitattributes +37 -60
  2. DEPLOY.md +145 -0
  3. README.md +418 -5
.gitattributes CHANGED
@@ -1,60 +1,37 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.avro filter=lfs diff=lfs merge=lfs -text
4
- *.bin filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ckpt filter=lfs diff=lfs merge=lfs -text
7
- *.ftz filter=lfs diff=lfs merge=lfs -text
8
- *.gz filter=lfs diff=lfs merge=lfs -text
9
- *.h5 filter=lfs diff=lfs merge=lfs -text
10
- *.joblib filter=lfs diff=lfs merge=lfs -text
11
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
- *.lz4 filter=lfs diff=lfs merge=lfs -text
13
- *.mds filter=lfs diff=lfs merge=lfs -text
14
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
- *.model filter=lfs diff=lfs merge=lfs -text
16
- *.msgpack filter=lfs diff=lfs merge=lfs -text
17
- *.npy filter=lfs diff=lfs merge=lfs -text
18
- *.npz filter=lfs diff=lfs merge=lfs -text
19
- *.onnx filter=lfs diff=lfs merge=lfs -text
20
- *.ot filter=lfs diff=lfs merge=lfs -text
21
- *.parquet filter=lfs diff=lfs merge=lfs -text
22
- *.pb filter=lfs diff=lfs merge=lfs -text
23
- *.pickle filter=lfs diff=lfs merge=lfs -text
24
- *.pkl filter=lfs diff=lfs merge=lfs -text
25
- *.pt filter=lfs diff=lfs merge=lfs -text
26
- *.pth filter=lfs diff=lfs merge=lfs -text
27
- *.rar filter=lfs diff=lfs merge=lfs -text
28
- *.safetensors filter=lfs diff=lfs merge=lfs -text
29
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
- *.tar.* filter=lfs diff=lfs merge=lfs -text
31
- *.tar filter=lfs diff=lfs merge=lfs -text
32
- *.tflite filter=lfs diff=lfs merge=lfs -text
33
- *.tgz filter=lfs diff=lfs merge=lfs -text
34
- *.wasm filter=lfs diff=lfs merge=lfs -text
35
- *.xz filter=lfs diff=lfs merge=lfs -text
36
- *.zip filter=lfs diff=lfs merge=lfs -text
37
- *.zst filter=lfs diff=lfs merge=lfs -text
38
- *tfevents* filter=lfs diff=lfs merge=lfs -text
39
- # Audio files - uncompressed
40
- *.pcm filter=lfs diff=lfs merge=lfs -text
41
- *.sam filter=lfs diff=lfs merge=lfs -text
42
- *.raw filter=lfs diff=lfs merge=lfs -text
43
- # Audio files - compressed
44
- *.aac filter=lfs diff=lfs merge=lfs -text
45
- *.flac filter=lfs diff=lfs merge=lfs -text
46
- *.mp3 filter=lfs diff=lfs merge=lfs -text
47
- *.ogg filter=lfs diff=lfs merge=lfs -text
48
- *.wav filter=lfs diff=lfs merge=lfs -text
49
- # Image files - uncompressed
50
- *.bmp filter=lfs diff=lfs merge=lfs -text
51
- *.gif filter=lfs diff=lfs merge=lfs -text
52
- *.png filter=lfs diff=lfs merge=lfs -text
53
- *.tiff filter=lfs diff=lfs merge=lfs -text
54
- # Image files - compressed
55
- *.jpg filter=lfs diff=lfs merge=lfs -text
56
- *.jpeg filter=lfs diff=lfs merge=lfs -text
57
- *.webp filter=lfs diff=lfs merge=lfs -text
58
- # Video files - compressed
59
- *.mp4 filter=lfs diff=lfs merge=lfs -text
60
- *.webm filter=lfs diff=lfs merge=lfs -text
 
1
+ # Hugging Face recommended .gitattributes for monteirot/wellbench
2
+ #
3
+ # All current files in this dataset are CSVs under 10 MB, so LFS is optional —
4
+ # but tracking these patterns now means future Parquet exports, larger CSV
5
+ # bundles, or model checkpoints uploaded into the repo will go through LFS
6
+ # automatically. Hugging Face requires LFS for any single file > 10 MB.
7
+
8
+ # --- Tabular data formats ---
9
+ *.csv filter=lfs diff=lfs merge=lfs -text
10
+ *.tsv filter=lfs diff=lfs merge=lfs -text
11
+ *.parquet filter=lfs diff=lfs merge=lfs -text
12
+ *.feather filter=lfs diff=lfs merge=lfs -text
13
+ *.arrow filter=lfs diff=lfs merge=lfs -text
14
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
15
+ *.ndjson filter=lfs diff=lfs merge=lfs -text
16
+
17
+ # --- Compressed archives (in case you ever bundle a release zip) ---
18
+ *.zip filter=lfs diff=lfs merge=lfs -text
19
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
20
+ *.tgz filter=lfs diff=lfs merge=lfs -text
21
+
22
+ # --- Model checkpoints (in case CTGAN .pkl files are mirrored here) ---
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
+ *.bin filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+
29
+ # --- Plain-text files that should NOT go through LFS ---
30
+ *.md text
31
+ *.txt text
32
+ *.json text
33
+ *.yaml text
34
+ *.yml text
35
+ *.py text
36
+ *.toml text
37
+ .gitattributes text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DEPLOY.md ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Deploying the upgraded Hugging Face dataset card
2
+
3
+ This folder contains drop-in replacements for the metadata files in the
4
+ [`monteirot/wellbench`](https://huggingface.co/datasets/monteirot/wellbench)
5
+ dataset repo:
6
+
7
+ | File | Replaces |
8
+ |-------------------|---------------------------------------------------------------|
9
+ | `README.md` | The current 376-byte README that only says "Benchmark data: …"|
10
+ | `.gitattributes` | The current `.gitattributes` (recommended LFS rules) |
11
+
12
+ Your existing `croissant.json` (31.9 kB) and the data folders
13
+ (`synthetic_datasets/`, `CTGAN_synthetic_data/`) are **not** modified.
14
+
15
+ ---
16
+
17
+ ## How to upload
18
+
19
+ ### Option A — Web UI (one file at a time)
20
+
21
+ 1. Open <https://huggingface.co/datasets/monteirot/wellbench/tree/main>.
22
+ 2. Click the existing `README.md` → **Edit** (pencil icon) → paste the new
23
+ contents of `README.md` → **Commit changes**.
24
+ 3. Repeat for `.gitattributes`.
25
+
26
+ ### Option B — `huggingface-cli` (recommended for both files at once)
27
+
28
+ ```bash
29
+ pip install -U huggingface_hub
30
+ huggingface-cli login
31
+
32
+ cd huggingface/ # this folder
33
+ huggingface-cli upload monteirot/wellbench README.md --repo-type dataset
34
+ huggingface-cli upload monteirot/wellbench .gitattributes --repo-type dataset
35
+ ```
36
+
37
+ ### Option C — Git over HTTPS (full repo flow)
38
+
39
+ ```bash
40
+ git lfs install
41
+ git clone https://huggingface.co/datasets/monteirot/wellbench
42
+ cd wellbench
43
+
44
+ cp ../huggingface/README.md README.md
45
+ cp ../huggingface/.gitattributes .gitattributes
46
+
47
+ git add README.md .gitattributes
48
+ git commit -m "Upgrade dataset card and LFS rules"
49
+ git push
50
+ ```
51
+
52
+ ---
53
+
54
+ ## After uploading — verify in this order
55
+
56
+ 1. **Card YAML parses cleanly.** Refresh
57
+ <https://huggingface.co/datasets/monteirot/wellbench>. The left rail
58
+ should now show:
59
+ - **Tasks:** Tabular Regression · Time Series Forecasting
60
+ - **Modalities:** Tabular
61
+ - **Tags:** synthetic-data · synthetic-tabular · well-logs · petrophysics ·
62
+ pore-pressure · ctgan · physics-based · benchmark · neurips · …
63
+ - **License:** MIT
64
+ - **Size:** 100K&nbsp;<&nbsp;n&nbsp;<&nbsp;1M
65
+
66
+ 2. **All six configs appear.** The Dataset Viewer top-bar should show the
67
+ selector with: `physics_zone_1` (default) · `physics_zone_2` ·
68
+ `physics_zone_3` · `ctgan_zone_1` · `ctgan_zone_2` · `ctgan_zone_3`.
69
+ Each should expose its three named splits.
70
+
71
+ 3. **The Viewer renders rows.** Pick `physics_zone_1 / missa_keswal_01` —
72
+ you should see numerical columns `DEPTH`, `GR`, `DT`, `RHOB`, `RT`, `HP`,
73
+ `OB`, `DT_NCT`, `PPP`. If column types look wrong, the auto-Parquet
74
+ conversion needs a re-run; click **Refresh dataset** in the Settings.
75
+
76
+ 4. **`load_dataset` round-trips.** From a fresh Python:
77
+
78
+ ```python
79
+ from datasets import load_dataset
80
+ ds = load_dataset("monteirot/wellbench", "physics_zone_1")
81
+ print(ds)
82
+ df = ds["missa_keswal_01"].to_pandas()
83
+ assert {"DEPTH","GR","DT","RHOB","RT","HP","OB","DT_NCT","PPP"} <= set(df.columns)
84
+ ```
85
+
86
+ 5. **Croissant validates.** The Hub auto-generates a Croissant record from
87
+ the README YAML at the `/croissant` endpoint. Confirm it's well-formed:
88
+
89
+ ```bash
90
+ pip install "mlcroissant[parquet]"
91
+ mlcroissant validate \
92
+ --jsonld https://huggingface.co/api/datasets/monteirot/wellbench/croissant
93
+ # exit 0 → ready for the NeurIPS D&B submission requirement
94
+ ```
95
+
96
+ Optional: run the same validator on the **manually authored**
97
+ `croissant.json` you already host:
98
+
99
+ ```bash
100
+ curl -L https://huggingface.co/datasets/monteirot/wellbench/resolve/main/croissant.json \
101
+ -o /tmp/croissant.json
102
+ mlcroissant validate --jsonld /tmp/croissant.json
103
+ ```
104
+
105
+ ---
106
+
107
+ ## Croissant: the two files explained
108
+
109
+ There are now effectively **two** Croissant records for this dataset, and
110
+ that's fine:
111
+
112
+ | Source | Generated from | Use it for |
113
+ |-----------------------------------------------------|-----------------------|--------------------------------------------|
114
+ | `…/api/datasets/monteirot/wellbench/croissant` | README YAML (auto) | Discovery, NeurIPS D&B compliance check |
115
+ | `…/resolve/main/croissant.json` | Hand-authored | The `mlc.Dataset("croissant.json")` example in your code, custom record sets |
116
+
117
+ **Recommended:** keep both. The auto-generated one is regenerated on every
118
+ push and always reflects the current YAML; the hand-authored one lets you
119
+ expose richer record sets (like your `physics-samples` example) that the
120
+ auto-generator doesn't infer from filenames alone.
121
+
122
+ If the two ever drift in licence, citation, or column types, fix the
123
+ hand-authored file — reviewers will compare them.
124
+
125
+ ---
126
+
127
+ ## Optional next steps
128
+
129
+ These are not in this folder, but are worth doing before NeurIPS submission:
130
+
131
+ 1. **Add a Croissant-RAI block** to `croissant.json` — `dataLifecycle`,
132
+ `dataCollection`, `dataPreprocessing`, `dataLimitations`, `dataBiases`,
133
+ `personalSensitiveInformation`. Use <https://croissant-editor.com/>.
134
+
135
+ 2. **Convert CSVs to Parquet** for the Viewer to run faster and column
136
+ types to be preserved without inference. Hugging Face will auto-convert
137
+ on the `refs/convert/parquet` branch, but committing Parquet directly
138
+ gives you control over schemas and row-group sizes.
139
+
140
+ 3. **Mint a Zenodo DOI** by tagging a release of the GitHub repo and
141
+ enabling the Zenodo–GitHub integration. Add the DOI to both the GitHub
142
+ README and the Citation block of this dataset card.
143
+
144
+ 4. **Cross-link**: ensure the Hugging Face dataset card and the GitHub
145
+ README both link bidirectionally and that the BibTeX entries match.
README.md CHANGED
@@ -1,21 +1,434 @@
1
  ---
 
2
  license: mit
3
- task_categories:
4
- - time-series-forecasting
5
  language:
6
- - en
 
 
 
 
 
 
 
 
7
  size_categories:
8
- - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  ---
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
 
12
  import mlcroissant as mlc
13
  import pandas as pd
14
 
15
- ds = mlc.Dataset("croissant.json")
16
  df = pd.DataFrame(ds.records(record_set="physics-samples"))
17
 
 
18
  train = df[df.well == "MISSA-KESWAL-01"]
19
  val = df[df.well == "MISSA-KESWAL-02"]
20
  test = df[df.well == "MISSA-KESWAL-03"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
 
 
1
  ---
2
+ pretty_name: wellbench
3
  license: mit
 
 
4
  language:
5
+ - en
6
+ multilinguality: monolingual
7
+ modalities:
8
+ - tabular
9
+ task_categories:
10
+ - tabular-regression
11
+ - time-series-forecasting
12
+ task_ids:
13
+ - tabular-multi-output-regression
14
  size_categories:
15
+ - 100K<n<1M
16
+ annotations_creators:
17
+ - machine-generated
18
+ language_creators:
19
+ - machine-generated
20
+ source_datasets:
21
+ - extended|other
22
+ tags:
23
+ - synthetic-data
24
+ - synthetic-tabular
25
+ - tabular
26
+ - well-logs
27
+ - petrophysics
28
+ - pore-pressure
29
+ - geoscience
30
+ - ctgan
31
+ - physics-based
32
+ - benchmark
33
+ - neurips
34
+ viewer: true
35
+ configs:
36
+ # ---------- Physics-based generator (deterministic, calibrated) ----------
37
+ - config_name: physics_zone_1
38
+ description: Eastern Potwar Basin — Missa Keswal field. Three synthetic wells calibrated against MISSA-KESWAL-01/02/03.
39
+ default: true
40
+ data_files:
41
+ - split: missa_keswal_01
42
+ path: "synthetic_datasets/zone_1/synth_MISSA-KESWAL-01.csv"
43
+ - split: missa_keswal_02
44
+ path: "synthetic_datasets/zone_1/synth_MISSA-KESWAL-02.csv"
45
+ - split: missa_keswal_03
46
+ path: "synthetic_datasets/zone_1/synth_MISSA-KESWAL-03.csv"
47
+ - config_name: physics_zone_2
48
+ description: Eastern Potwar Basin — Pindori field. Three synthetic wells calibrated against PINDORI-1/2/3.
49
+ data_files:
50
+ - split: pindori_1
51
+ path: "synthetic_datasets/zone_2/synth_PINDORI-1.csv"
52
+ - split: pindori_2
53
+ path: "synthetic_datasets/zone_2/synth_PINDORI-2.csv"
54
+ - split: pindori_3
55
+ path: "synthetic_datasets/zone_2/synth_PINDORI-3.csv"
56
+ - config_name: physics_zone_3
57
+ description: Eastern Potwar Basin — Joyamair / Minwal area. Three synthetic wells calibrated against JOYAMAIR-4, MINWAL-2, MINWAL-X-1.
58
+ data_files:
59
+ - split: joyamair_4
60
+ path: "synthetic_datasets/zone_3/synth_JOYAMAIR-4.csv"
61
+ - split: minwal_2
62
+ path: "synthetic_datasets/zone_3/synth_MINWAL-2.csv"
63
+ - split: minwal_x_1
64
+ path: "synthetic_datasets/zone_3/synth_MINWAL-X-1.csv"
65
+
66
+ # ---------- CTGAN baseline (learned tabular generator) ----------
67
+ - config_name: ctgan_zone_1
68
+ description: CTGAN baseline trained on Missa Keswal logs.
69
+ data_files:
70
+ - split: missa_keswal_01
71
+ path: "CTGAN_synthetic_data/zone_1/synth_MISSA-KESWAL-01.csv"
72
+ - split: missa_keswal_02
73
+ path: "CTGAN_synthetic_data/zone_1/synth_MISSA-KESWAL-02.csv"
74
+ - split: missa_keswal_03
75
+ path: "CTGAN_synthetic_data/zone_1/synth_MISSA-KESWAL-03.csv"
76
+ - config_name: ctgan_zone_2
77
+ description: CTGAN baseline trained on Pindori logs.
78
+ data_files:
79
+ - split: pindori_1
80
+ path: "CTGAN_synthetic_data/zone_2/synth_PINDORI-1.csv"
81
+ - split: pindori_2
82
+ path: "CTGAN_synthetic_data/zone_2/synth_PINDORI-2.csv"
83
+ - split: pindori_3
84
+ path: "CTGAN_synthetic_data/zone_2/synth_PINDORI-3.csv"
85
+ - config_name: ctgan_zone_3
86
+ description: CTGAN baseline trained on Joyamair / Minwal logs.
87
+ data_files:
88
+ - split: joyamair_4
89
+ path: "CTGAN_synthetic_data/zone_3/synth_JOYAMAIR-4.csv"
90
+ - split: minwal_2
91
+ path: "CTGAN_synthetic_data/zone_3/synth_MINWAL-2.csv"
92
+ - split: minwal_x_1
93
+ path: "CTGAN_synthetic_data/zone_3/synth_MINWAL-X-1.csv"
94
  ---
95
 
96
+ # wellbench — Synthetic Well-Log Benchmark for Pore-Pressure Prediction
97
+
98
+ > Companion dataset for the [`wellbench`](https://github.com/monteirot/wellbench) Python library: a physics-based and CTGAN-based synthetic-data benchmark calibrated against real wells from the Eastern Potwar Basin (Pakistan), released for reproducible pore-pressure prediction research.
99
+
100
+ | | |
101
+ |---|---|
102
+ | **Modality** | Tabular (single-table well logs) |
103
+ | **Generators** | Physics-based (deterministic) + CTGAN baseline |
104
+ | **Wells** | 9 real wells × 2 generators = 18 synthetic CSVs |
105
+ | **Total size** | ~43 MB |
106
+ | **License** | MIT |
107
+ | **Library** | [`wellbench`](https://pypi.org/project/wellbench/) on PyPI |
108
+ | **Code** | <https://github.com/monteirot/wellbench> |
109
+ | **Croissant** | <https://huggingface.co/api/datasets/monteirot/wellbench/croissant> |
110
+
111
+ ---
112
+
113
+ ## Quick start
114
+
115
+ ### Load with 🤗 Datasets
116
+
117
+ ```python
118
+ from datasets import load_dataset
119
+
120
+ # All three Missa Keswal wells (physics generator), zone 1
121
+ ds = load_dataset("monteirot/wellbench", "physics_zone_1")
122
+ print(ds)
123
+ # DatasetDict({
124
+ # missa_keswal_01: Dataset({features: [...], num_rows: ...}),
125
+ # missa_keswal_02: Dataset({features: [...], num_rows: ...}),
126
+ # missa_keswal_03: Dataset({features: [...], num_rows: ...}),
127
+ # })
128
+
129
+ # A single well as a pandas DataFrame
130
+ df = load_dataset(
131
+ "monteirot/wellbench",
132
+ "physics_zone_1",
133
+ split="missa_keswal_01",
134
+ ).to_pandas()
135
+ print(df.head())
136
+ ```
137
+
138
+ ### Load via Croissant + mlcroissant
139
 
140
+ ```python
141
  import mlcroissant as mlc
142
  import pandas as pd
143
 
144
+ ds = mlc.Dataset("https://huggingface.co/api/datasets/monteirot/wellbench/croissant")
145
  df = pd.DataFrame(ds.records(record_set="physics-samples"))
146
 
147
+ # A reproducible train / val / test split inside zone 1
148
  train = df[df.well == "MISSA-KESWAL-01"]
149
  val = df[df.well == "MISSA-KESWAL-02"]
150
  test = df[df.well == "MISSA-KESWAL-03"]
151
+ ```
152
+
153
+ ### Load directly with pandas
154
+
155
+ ```python
156
+ import pandas as pd
157
+
158
+ URL = "https://huggingface.co/datasets/monteirot/wellbench/resolve/main"
159
+ df = pd.read_csv(f"{URL}/synthetic_datasets/zone_1/synth_MISSA-KESWAL-01.csv")
160
+ ```
161
+
162
+ ### Validate the Croissant metadata locally
163
+
164
+ ```bash
165
+ pip install "mlcroissant[parquet]"
166
+ mlcroissant validate \
167
+ --jsonld https://huggingface.co/api/datasets/monteirot/wellbench/croissant
168
+ ```
169
+
170
+ ---
171
+
172
+ ## Dataset description
173
+
174
+ `wellbench` is a synthetic well-log benchmark designed for reproducible methods research on **pore-pressure prediction** and related petrophysical inverse problems. It is the data artefact for the [`wellbench`](https://github.com/monteirot/wellbench) Python package and the [arXiv:XXXX.XXXXX](https://arxiv.org/abs/XXXX.XXXXX) paper *(placeholder — replace with the canonical reference once available)*.
175
+
176
+ The dataset addresses two long-standing pain points in machine learning for subsurface geoscience:
177
+
178
+ 1. **Real well logs are scarce, fragmented, and frequently encumbered by commercial confidentiality**, which limits reproducible benchmarking across studies.
179
+ 2. **General-purpose tabular synthesisers** (CTGAN, TVAE, TabDDPM, …) treat well logs as i.i.d. rows and ignore the petrophysical relationships (Athy compaction, Wyllie / Archie / Eaton equations) that any plausible log must satisfy.
180
+
181
+ `wellbench` provides synthetic copies of nine real wells, each generated by two complementary methods:
182
+
183
+ - A **deterministic physics generator** whose outputs are valid by construction — they obey the same closed-form transforms a petrophysicist would apply, with regional parameters tuned via [Optuna](https://optuna.org/) using **Jensen–Shannon divergence** and **Wasserstein-1 distance** against real-data marginals.
184
+ - A **CTGAN baseline** (Xu et al. 2019) trained on the same cleaned real wells, exposed under an identical `.generate()` interface for side-by-side comparison.
185
+
186
+ ### Supported tasks
187
+
188
+ - **Tabular regression** — predict pore pressure (`PPP`) from `GR`, `DT`, `RHOB`, `RT`, depth, and the derived hydrostatic / overburden / NCT columns.
189
+ - **Time-series forecasting** — depth-indexed log forecasting, where `DEPTH` plays the role of the time axis.
190
+ - **Synthetic-data evaluation** — fidelity / utility / privacy comparison between physics-based and learned tabular synthesis.
191
+ - **Data augmentation** — pretrain or augment small real-well training sets for downstream petrophysical tasks.
192
+
193
+ ### Languages
194
+
195
+ Column names and documentation are in English (`en`). The data itself is numerical and language-agnostic.
196
+
197
+ ---
198
+
199
+ ## Dataset structure
200
+
201
+ ### File layout
202
+
203
+ ```
204
+ monteirot/wellbench
205
+ ├── synthetic_datasets/ # Physics-based generator outputs
206
+ │ ├── zone_1/ # Missa Keswal (Eastern Potwar Basin)
207
+ │ │ ├── synth_MISSA-KESWAL-01.csv
208
+ │ │ ├── synth_MISSA-KESWAL-02.csv
209
+ │ │ └── synth_MISSA-KESWAL-03.csv
210
+ │ ├── zone_2/ # Pindori field
211
+ │ │ ├── synth_PINDORI-1.csv
212
+ │ │ ├── synth_PINDORI-2.csv
213
+ │ │ └── synth_PINDORI-3.csv
214
+ │ └── zone_3/ # Joyamair / Minwal area
215
+ │ ├── synth_JOYAMAIR-4.csv
216
+ │ ├── synth_MINWAL-2.csv
217
+ │ └── synth_MINWAL-X-1.csv
218
+ ├── CTGAN_synthetic_data/ # CTGAN-baseline outputs (same layout)
219
+ │ ├── zone_1/ …
220
+ │ ├── zone_2/ …
221
+ │ └── zone_3/ …
222
+ ├── README.md # this dataset card
223
+ ├── croissant.json # MLCommons Croissant 1.0 metadata
224
+ └── .gitattributes
225
+ ```
226
+
227
+ ### Configurations and splits
228
+
229
+ The dataset exposes **6 configs** (2 generators × 3 zones), with one **split per real well** under each config:
230
+
231
+ | Config | Generator | Zone | Splits | Default |
232
+ |---------------------|---------------|:----:|---------------------------------------------------|:-------:|
233
+ | `physics_zone_1` | Physics | 1 | `missa_keswal_01` · `missa_keswal_02` · `missa_keswal_03` | ✅ |
234
+ | `physics_zone_2` | Physics | 2 | `pindori_1` · `pindori_2` · `pindori_3` | |
235
+ | `physics_zone_3` | Physics | 3 | `joyamair_4` · `minwal_2` · `minwal_x_1` | |
236
+ | `ctgan_zone_1` | CTGAN | 1 | `missa_keswal_01` · `missa_keswal_02` · `missa_keswal_03` | |
237
+ | `ctgan_zone_2` | CTGAN | 2 | `pindori_1` · `pindori_2` · `pindori_3` | |
238
+ | `ctgan_zone_3` | CTGAN | 3 | `joyamair_4` · `minwal_2` · `minwal_x_1` | |
239
+
240
+ A **suggested train/val/test mapping** mirroring the convention used in the paper:
241
+
242
+ | Zone | train | validation | test |
243
+ |:----:|------------------|------------------|------------------|
244
+ | 1 | `missa_keswal_01`| `missa_keswal_02`| `missa_keswal_03`|
245
+ | 2 | `pindori_1` | `pindori_2` | `pindori_3` |
246
+ | 3 | `joyamair_4` | `minwal_2` | `minwal_x_1` |
247
+
248
+ Users are free to ignore this convention; each split is a self-contained synthetic well.
249
+
250
+ ### Data instances
251
+
252
+ Each row is a single depth measurement of a single (synthetic) well. An example row from `physics_zone_1 / missa_keswal_01`:
253
+
254
+ ```json
255
+ {
256
+ "DEPTH": 500.0,
257
+ "GR": 140.2155,
258
+ "DT": 138.1432,
259
+ "RHOB": 1.6418,
260
+ "RT": 12.7382,
261
+ "HP": 645.94,
262
+ "OB": 926.85,
263
+ "DT_NCT": 137.43,
264
+ "PPP": 615.33
265
+ }
266
+ ```
267
+
268
+ ### Data fields
269
+
270
+ All 18 CSVs in this release belong to pore-pressure regions (zones 1–3), so all of the columns below are present:
271
+
272
+ | Column | Type | Units / range | Description |
273
+ |------------|:------:|--------------------------------|------------------------------------------------------|
274
+ | `DEPTH` | float | ft (region-dependent) | Measured depth — the row index along the well axis |
275
+ | `GR` | float | API, `[0, 200]` | Gamma ray (shale-volume proxy) |
276
+ | `DT` | float | µs/ft, `[30, 180]` | Sonic transit time |
277
+ | `RHOB` | float | g/cc, `[1.2, 2.9]` | Bulk density |
278
+ | `RT` | float | Ω·m, `[0.01, 10 000]` | True resistivity |
279
+ | `HP` | float | psi | Hydrostatic pressure |
280
+ | `OB` | float | psi | Overburden pressure |
281
+ | `DT_NCT` | float | µs/ft | Sonic normal-compaction-trend reference |
282
+ | `PPP` | float | psi | **Pore pressure** (Eaton's method) — primary target |
283
+
284
+ All values are clipped to `wellbench.PHYSICAL_BOUNDS`, the same physical envelope enforced by the library's `clean_well_data` routine.
285
+
286
+ ---
287
+
288
+ ## Dataset creation
289
+
290
+ ### Curation rationale
291
+
292
+ Public well-log corpora suitable for ML benchmarking are dominated by a handful of repeatedly-cited datasets (e.g. Volve, Force-2020), whose pore-pressure labels are not always disclosed and whose proprietary status complicates redistribution. `wellbench` provides a fully synthetic, openly licensed alternative that:
293
+
294
+ - **Is calibrated** to real-world basin parameters rather than sampled from a synthetic prior in vacuum.
295
+ - **Pairs physics and learned generators** under one schema, so studies can isolate the contribution of physical priors.
296
+ - **Ships under MIT** so there is no friction for downstream redistribution.
297
+
298
+ ### Source data
299
+
300
+ Regional parameter sets (`REGION_1`, `REGION_2`, `REGION_3` in the [`wellbench`](https://github.com/monteirot/wellbench) library) were calibrated against publicly described wells from the **Eastern Potwar Basin, Punjab, Pakistan**:
301
+
302
+ - **Zone 1 — Missa Keswal field** (MISSA-KESWAL-01, -02, -03)
303
+ - **Zone 2 — Pindori field** (PINDORI-1, -2, -3)
304
+ - **Zone 3 — Joyamair / Minwal area** (JOYAMAIR-4, MINWAL-2, MINWAL-X-1)
305
+
306
+ The synthetic outputs published here are *not* anonymised real data; they are generated outputs of the calibrated `wellbench` models. Real-well log values are not redistributed.
307
+
308
+ ### Generation pipeline
309
+
310
+ #### Physics generator
311
+
312
+ 1. Athy's exponential compaction → porosity profile φ(z).
313
+ 2. Wyllie time-average equation → DT from φ.
314
+ 3. Bulk-density mixing law → RHOB from φ + lithology trend.
315
+ 4. Archie's equation → RT from φ + saturation prior.
316
+ 5. Shale-volume linear mixing → GR.
317
+ 6. Hydrostatic + overburden integration; Eaton's method on the normal compaction trend → `HP`, `OB`, `DT_NCT`, `PPP`.
318
+
319
+ Per-region parameters were optimised with **Optuna** to minimise a weighted sum of **Jensen–Shannon divergence** and **Wasserstein-1 distance** between synthetic and real marginals across all log columns. The library version, region dictionary, and seed used to produce each CSV are recorded in `croissant.json`.
320
+
321
+ #### CTGAN baseline
322
+
323
+ The five CTGAN checkpoints bundled in the [`wellbench`](https://pypi.org/project/wellbench/) package (`ctgan_r1.pkl` … `ctgan_r5.pkl`) were trained on cleaned real wells from each region. CTGAN samples are i.i.d. rows; `wellbench` orders them along a user-supplied depth axis, applies a column-rename to match the physics schema, and clips to `PHYSICAL_BOUNDS`. The CSVs in `CTGAN_synthetic_data/` were generated with deterministic seeds and the bundled checkpoints — see `wellbench.load_ctgan_generator(region_index=…)` for the exact loader.
324
+
325
+ ### Annotations
326
+
327
+ None. The dataset is fully machine-generated; there is no human annotation step.
328
+
329
+ ### Personal and sensitive information
330
+
331
+ The synthetic data does not contain personally identifying information. Real wells used for calibration are publicly described in the petroleum-geology literature; no proprietary log values are redistributed in this release.
332
+
333
+ ---
334
+
335
+ ## Considerations for using the data
336
+
337
+ ### Social impact
338
+
339
+ Open synthetic well logs lower the barrier to entry for ML research on subsurface geoscience and reduce reliance on confidentiality-restricted operator data. Better pore-pressure prediction tools have direct safety implications for drilling.
340
+
341
+ ### Discussion of biases
342
+
343
+ - **Geographic bias.** All nine wells are from a single basin (Eastern Potwar). Generalisation to other tectonic settings is the user's responsibility.
344
+ - **Lithological bias.** The bundled regions emphasise shale-dominated, clastic settings. Carbonates and evaporites are not represented.
345
+ - **Calibration target bias.** Calibration optimises marginal fidelity (JS + Wasserstein-1) — joint fidelity and cross-column residual structure are not directly optimised, so multivariate downstream models may see slightly different correlation structure than in real wells.
346
+ - **Public-record selection bias.** Real wells used for CTGAN training are those whose logs are publicly described. Wells absent from the open record (often the most challenging ones) are by construction absent here.
347
+
348
+ ### Known limitations
349
+
350
+ - **Synthetic ≠ real.** Subtle stratigraphic features useful for prospect evaluation are deliberately not modelled. Use this dataset for *methods* research, not for operational prospect ranking.
351
+ - **CTGAN depth ordering is post-hoc.** CTGAN samples i.i.d. rows; vertical correlation is therefore weaker than in the physics generator and weaker than in real wells. This is by design — it is a *baseline* for comparison.
352
+ - **Eaton-only PP model.** Pore-pressure outputs reflect under-compaction signatures; other overpressure mechanisms (kerogen maturation, tectonic loading) are not modelled.
353
+ - **Three zones only.** The library defines five regions, but only the three pore-pressure regions are included in this release.
354
+
355
+ ### Out-of-scope use
356
+
357
+ - ❌ **Operational drilling decisions.** The synthetic logs capture *distributional* properties of real basins, not the physics of any specific surveyed location.
358
+ - ❌ **Substituting for proprietary well data.** Use this for benchmarking, not to evade data-sharing constraints.
359
+ - ❌ **Privacy proxy without further audit.** The physics generator does not memorise real samples by construction, but the bundled CTGAN baseline was trained on cleaned real wells and has not been audited for membership inference. Treat CTGAN outputs as research artefacts, not as anonymised data.
360
+ - ❌ **Training models that will be deployed against carbonate or evaporite reservoirs without recalibration.**
361
+
362
+ ### Recommended evaluation
363
+
364
+ When using this dataset to benchmark pore-pressure or petrophysical models, we recommend reporting at minimum:
365
+
366
+ - **Fidelity.** Jensen–Shannon divergence and Wasserstein-1 distance per log column, vs. the corresponding real well distribution (where available to the user).
367
+ - **Utility.** TSTR (train-on-synthetic, test-on-real) AUROC / RMSE on a downstream pore-pressure classifier or regressor.
368
+ - **Generator comparison.** Run the same downstream model on `physics_zone_*` and `ctgan_zone_*` and report the gap.
369
+
370
+ A reference evaluation harness is provided in [`wellbench.metrics`](https://github.com/monteirot/wellbench).
371
+
372
+ ---
373
+
374
+ ## Additional information
375
+
376
+ ### Dataset curators
377
+
378
+ Maintained by [@monteirot](https://huggingface.co/monteirot). See the [GitHub repository](https://github.com/monteirot/wellbench) for the full author list and affiliations.
379
+
380
+ ### Licensing information
381
+
382
+ This dataset is released under the **MIT License**. The synthetic outputs are derivative of the [`wellbench`](https://github.com/monteirot/wellbench) library, which is also MIT-licensed. Real wells used for calibration are publicly described in the petroleum-geology literature and their values are not redistributed here.
383
+
384
+ ### Citation
385
+
386
+ If you use `wellbench` data in your research, please cite both the paper and the software release:
387
+
388
+ ```bibtex
389
+ @inproceedings{wellbench2026,
390
+ title = {wellbench: A Physics-Calibrated Synthetic Benchmark for Pore-Pressure Prediction},
391
+ author = {Monteiro, T. and ...},
392
+ booktitle = {Advances in Neural Information Processing Systems, Datasets and Benchmarks Track},
393
+ year = {2026},
394
+ url = {https://arxiv.org/abs/XXXX.XXXXX}
395
+ }
396
+
397
+ @software{wellbench_software,
398
+ author = {Monteiro, T. and ...},
399
+ title = {wellbench: Physics-based synthetic well-log benchmark generator},
400
+ year = {2026},
401
+ version = {<release>},
402
+ doi = {10.5281/zenodo.XXXXXXX},
403
+ url = {https://github.com/monteirot/wellbench}
404
+ }
405
+ ```
406
+
407
+ For the dataset specifically, please also link to <https://huggingface.co/datasets/monteirot/wellbench> so the Croissant record is discoverable.
408
+
409
+ ### Contributions
410
+
411
+ Issues, corrections, and additional regional calibrations are very welcome. Please open a discussion on the [Hugging Face Community tab](https://huggingface.co/datasets/monteirot/wellbench/discussions) or a pull request on [GitHub](https://github.com/monteirot/wellbench).
412
+
413
+ ### Reproducing the dataset
414
+
415
+ The CSVs in this repository are exactly reproducible from the `wellbench` library:
416
+
417
+ ```bash
418
+ pip install "wellbench[ctgan]"
419
+
420
+ # Physics generator — zone 1, all three Missa Keswal wells
421
+ python -c "
422
+ import pandas as pd
423
+ from wellbench import SyntheticWellLogGenerator, REGION_1
424
+ real = pd.read_csv('real_well.csv', usecols=['DEPTH']) # supply your own
425
+ SyntheticWellLogGenerator(REGION_1).generate(
426
+ seed=42, depth=real['DEPTH'].to_numpy(),
427
+ ).to_csv('synth_MISSA-KESWAL-01.csv', index=False)
428
+ "
429
+
430
+ # Or reproduce the canonical 15-dataset benchmark
431
+ wellbench -o benchmark/
432
+ ```
433
 
434
+ The exact commands and seeds used to produce each CSV are recorded in the `wellbench` repository under `benchmarks/` and in the Croissant metadata (`croissant.json`) of this dataset.