diff --git a/.gitattributes b/.gitattributes index 3b7e4b544267f5b0070e40329602b1dc453a0a1c..60e9b32cdd4f56b0f29e0466c3d35e2fe8bde3a0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5956,3 +5956,35 @@ SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/staged/tabbyflow/ad SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/staged/tabbyflow/adapter_transforms_applied.json filter=lfs diff=lfs merge=lfs -text SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/staged/tabbyflow/model_input_manifest.json filter=lfs diff=lfs merge=lfs -text SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabbyflow-c9-26215-20260420_075137.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabbyflow_train_meta.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_val.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_val.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/info.json filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/real.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_test.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_val.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/train_20260420_074328.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/X_cat_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/X_num_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/y_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/gen_20260422_212735.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_cat_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_cat_unnorm.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_num_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_num_unnorm.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/loss.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/model.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/model_ema.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/y_train.npy filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/tabddpm-c9-26215-20260422_212735.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/train_20260422_212507.log filter=lfs diff=lfs merge=lfs -text diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabbyflow_train_meta.json b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabbyflow_train_meta.json new file mode 100644 index 0000000000000000000000000000000000000000..18d978a0406162ed2e2c2d1db8b7fffaf089fe0f --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabbyflow_train_meta.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1bbe507388dc5629e9155e6ecf504bc121a9c227c10ff53532d15220fc65ee13 +size 78 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_test.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..f55be4267f6392a5d24ad793c9edb2841157e85e --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62540e8e18ee482349ef996721bbbcceeea5bdd5a48c0e05aef961d64cc6d557 +size 26352 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_train.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..f0ec67badf0b2e80017aaf0dea889cbf3cfe1aa0 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d76b75f989b3dc29e9c1776971bfcfe6782477af9b30d143474c2e7c6d296c5 +size 209848 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_val.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_val.npy new file mode 100644 index 0000000000000000000000000000000000000000..77f1e39f4f3e0c54e36a16d70d12064bd99a2fb9 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_cat_val.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2291123e434ecaaabd29c188cef42e13b54c0d8946375772cca7042ec4ea84f0 +size 26336 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_test.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..952fc2549a5139cf4327c36e8b5de413b64ba620 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4429f0d335d4329172f9c047ea82fc7abf310e9b6f3a5df0644de5253f6851b9 +size 105024 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_train.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..24431e7de42e064269a838b520596da288413946 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a6bc53b6dfcd4e17d7f1d3c01d3897f13d7871d3734a5514501dca11a68ad6b +size 839008 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_val.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_val.npy new file mode 100644 index 0000000000000000000000000000000000000000..5be2246bd17fd46d82a6062297c47e0cb6da6abc --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/X_num_val.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11ca7ee238803325e4061f276c0f2b20ede05bb8657a1ee7e6dbda40d1504fc6 +size 104960 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/info.json b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/info.json new file mode 100644 index 0000000000000000000000000000000000000000..4aed0a6ff3eed0dc3eb15a6e310b49c1a4b9f1ae --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/info.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c63535dff81f08969b010628283ee5e5e39c90a5fd67ac492fe37f440432ed8f +size 2126 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/real.csv b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/real.csv new file mode 100644 index 0000000000000000000000000000000000000000..38c84ae4e306d9a2fee1ad4b7a4440111e0481e5 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/real.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b4e5a92c3a56bb93cb5062b88be41b13386cba65f2a2314081723028d9d5186 +size 1630334 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/test.csv b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..88a9e90a5e42a8fab3e7dc7875f254af5d5b9ac4 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3d5f6b434441612b681d8d8f4afd989957521ed07b0cebd43e95cc9cf41755c +size 203927 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/val.csv b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..2e2670647916b9b3b692a6ddc6f69c0aa0fcb581 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f057524d53685c758e8db633549b92cd0656d5028f330442b0ea5e6b521fe1fb +size 203862 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_test.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_test.npy new file mode 100644 index 0000000000000000000000000000000000000000..8e253c44e4c6bf370fb71c7e71092486a0fa6d81 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_test.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99a529e34beb9173ce308da21037b4df41255fd64588dd21e008187052de763f +size 13240 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_train.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..25559b41c42286dd56882fb528a5735e51ba854e --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdbd34feb47e6cd662ae8b0fee47c70fefe01d073e0410e2a2c645603317c342 +size 104988 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_val.npy b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_val.npy new file mode 100644 index 0000000000000000000000000000000000000000..12b1608d4594c6c88de3d670fef17a355257b1ac --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/tabular_bundle/pipeline_ds/y_val.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed9644a20acd216fd4d98ba382723c55e9202f2444ed0dadf9e9adcaf79d3fc4 +size 13232 diff --git a/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/train_20260420_074328.log b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/train_20260420_074328.log new file mode 100644 index 0000000000000000000000000000000000000000..714101eae3e395d5adbc1a840dd50a8987b8e576 --- /dev/null +++ b/SynthData0523/main/c9/tabbyflow/tabbyflow-c9-20260420_074328/train_20260420_074328.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8376993418255e142b7736f2f03570ddfdae3421dcc60a59bf0966e70ddc5187 +size 816135 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/_tabddpm_sample.py b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/_tabddpm_sample.py new file mode 100644 index 0000000000000000000000000000000000000000..7be9c0cf59731e52f79894a9dac1988c0a7e607d --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/_tabddpm_sample.py @@ -0,0 +1,67 @@ +import os, sys, subprocess, json +import numpy as np +import pandas as pd + +tabddpm_root = "/workspace/tabddpm/code" +assert os.path.isdir(tabddpm_root), f"TabDDPM source not mounted: {tabddpm_root}" +env = os.environ.copy() +env["PYTHONPATH"] = tabddpm_root + (os.pathsep + env.get("PYTHONPATH", "")) + +# Reuse the compat wrapper (patches collections.Sequence for skorch) +wrapper = os.path.join(tabddpm_root, "_compat_run.py") +if not os.path.exists(wrapper): + with open(wrapper, "w") as f: + f.write( + "import collections, collections.abc\n" + "for _a in ('Sequence','MutableSequence','MutableMapping','Mapping'," + "'MutableSet','Set','Callable','Iterable','Iterator'):\n" + " if not hasattr(collections, _a): setattr(collections, _a, getattr(collections.abc, _a, None))\n" + "import sys, runpy\n" + "sys.argv = sys.argv[1:]\n" + "runpy.run_path(sys.argv[0], run_name='__main__')\n" + ) + +print(f"[TabDDPM] Sampling 26215 rows") +ret = subprocess.run( + [sys.executable, wrapper, "scripts/pipeline.py", + "--config", "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/config_sample_20260422_212735.toml", + "--sample"], + cwd=tabddpm_root, + env=env +) +if ret.returncode != 0: + sys.exit(ret.returncode) + +# 将 .npy 输出转为 CSV +work_dir = "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506" +info_path = os.path.join(work_dir, "data", "info.json") +with open(info_path) as f: + info = json.load(f) + +output_dir = os.path.join(work_dir, "output") +col_names = info.get("column_names", []) + +parts = [] +x_num_path = os.path.join(output_dir, "X_num_train.npy") +x_cat_path = os.path.join(output_dir, "X_cat_train.npy") +y_path = os.path.join(output_dir, "y_train.npy") + +if os.path.exists(x_num_path): + parts.append(np.load(x_num_path, allow_pickle=True)) +if os.path.exists(x_cat_path): + parts.append(np.load(x_cat_path, allow_pickle=True).astype(float)) +if os.path.exists(y_path): + y = np.load(y_path, allow_pickle=True) + parts.append(y.reshape(-1, 1) if y.ndim == 1 else y) + +if parts: + combined = np.concatenate(parts, axis=1) + if col_names and len(col_names) == combined.shape[1]: + df = pd.DataFrame(combined, columns=col_names) + else: + df = pd.DataFrame(combined) + df.to_csv("/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/tabddpm-c9-26215-20260422_212735.csv", index=False) + print(f"[TabDDPM] Saved {len(df)} rows -> /work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/tabddpm-c9-26215-20260422_212735.csv") +else: + print("[TabDDPM] WARNING: No output .npy files found") + sys.exit(1) diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/_tabddpm_train.py b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/_tabddpm_train.py new file mode 100644 index 0000000000000000000000000000000000000000..35c3949a832da2f0020c5c77df8872e7bfa6d713 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/_tabddpm_train.py @@ -0,0 +1,32 @@ +import os, sys, subprocess + +tabddpm_root = "/workspace/tabddpm/code" +assert os.path.isdir(tabddpm_root), f"TabDDPM source not mounted: {tabddpm_root}" +env = os.environ.copy() +env["PYTHONPATH"] = tabddpm_root + (os.pathsep + env.get("PYTHONPATH", "")) + +# Write a wrapper that patches collections.Sequence (removed in Python 3.10+) +# before running pipeline.py - needed because skorch uses old API +wrapper = os.path.join(tabddpm_root, "_compat_run.py") +with open(wrapper, "w") as f: + f.write( + "import collections, collections.abc\n" + "for _a in ('Sequence','MutableSequence','MutableMapping','Mapping'," + "'MutableSet','Set','Callable','Iterable','Iterator'):\n" + " if not hasattr(collections, _a): setattr(collections, _a, getattr(collections.abc, _a, None))\n" + "import sys, runpy\n" + "sys.argv = sys.argv[1:]\n" + "runpy.run_path(sys.argv[0], run_name='__main__')\n" + ) + +print(f"[TabDDPM] Training, config=/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/config.toml") +ret = subprocess.run( + [sys.executable, wrapper, "scripts/pipeline.py", + "--config", "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/config.toml", + "--train"], + cwd=tabddpm_root, + env=env +) +if ret.returncode != 0: + sys.exit(ret.returncode) +print("[TabDDPM] Training complete") diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/config.toml b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/config.toml new file mode 100644 index 0000000000000000000000000000000000000000..5105d3cbfe2207c256b91f935f76d4b9312d4acb --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/config.toml @@ -0,0 +1,39 @@ +seed = 0 +parent_dir = "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/output" +real_data_path = "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/data" +model_type = "mlp" +num_numerical_features = 8 +device = "cuda:0" + +[model_params] +d_in = 9 +num_classes = 0 +is_y_cond = true + +[model_params.rtdl_params] +d_layers = [256, 256] +dropout = 0.0 + +[diffusion_params] +num_timesteps = 1000 +gaussian_loss_type = "mse" + +[train.main] +steps = 5000 +lr = 0.001 +weight_decay = 0.0 +batch_size = 256 + +[train.T] +seed = 0 +normalization = "quantile" +num_nan_policy = "__none__" +cat_nan_policy = "__none__" +cat_min_frequency = "__none__" +cat_encoding = "__none__" +y_policy = "default" + +[sample] +num_samples = 1000 +batch_size = 1000 +seed = 0 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/config_sample_20260422_212735.toml b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/config_sample_20260422_212735.toml new file mode 100644 index 0000000000000000000000000000000000000000..8e3d33fc2d9f3f7c9f3c4462011b97e0f2876a65 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/config_sample_20260422_212735.toml @@ -0,0 +1,39 @@ +seed = 0 +parent_dir = "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/output" +real_data_path = "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/data" +model_type = "mlp" +num_numerical_features = 8 +device = "cuda:0" + +[model_params] +d_in = 9 +num_classes = 0 +is_y_cond = true + +[model_params.rtdl_params] +d_layers = [256, 256] +dropout = 0.0 + +[diffusion_params] +num_timesteps = 1000 +gaussian_loss_type = "mse" + +[train.main] +steps = 5000 +lr = 0.001 +weight_decay = 0.0 +batch_size = 256 + +[train.T] +seed = 0 +normalization = "quantile" +num_nan_policy = "__none__" +cat_nan_policy = "__none__" +cat_min_frequency = "__none__" +cat_encoding = "__none__" +y_policy = "default" + +[sample] +num_samples = 26215 +batch_size = 1000 +seed = 0 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/X_cat_train.npy b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/X_cat_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..f0ec67badf0b2e80017aaf0dea889cbf3cfe1aa0 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/X_cat_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d76b75f989b3dc29e9c1776971bfcfe6782477af9b30d143474c2e7c6d296c5 +size 209848 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/X_num_train.npy b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/X_num_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..24431e7de42e064269a838b520596da288413946 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/X_num_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a6bc53b6dfcd4e17d7f1d3c01d3897f13d7871d3734a5514501dca11a68ad6b +size 839008 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/info.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/info.json new file mode 100644 index 0000000000000000000000000000000000000000..0e4bff8b9bdff38a0bc7c56fd688382ce110cb75 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/info.json @@ -0,0 +1,35 @@ +{ + "name": "benchmark_dataset", + "task_type": "regression", + "n_num_features": 8, + "n_cat_features": 1, + "train_size": 26215, + "num_col_idx": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "cat_col_idx": [ + 8 + ], + "target_col_idx": [ + 9 + ], + "column_names": [ + "RESOURCE", + "MGR_ID", + "ROLE_ROLLUP_1", + "ROLE_ROLLUP_2", + "ROLE_DEPTNAME", + "ROLE_TITLE", + "ROLE_FAMILY_DESC", + "ROLE_CODE", + "ACTION", + "ROLE_FAMILY" + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/y_train.npy b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/y_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..25559b41c42286dd56882fb528a5735e51ba854e --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/data/y_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdbd34feb47e6cd662ae8b0fee47c70fefe01d073e0410e2a2c645603317c342 +size 104988 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/gen_20260422_212735.log b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/gen_20260422_212735.log new file mode 100644 index 0000000000000000000000000000000000000000..cc2e87ed02508f2cc236936e8fad90db18cc9c98 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/gen_20260422_212735.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2d32510015537143efa457b88dfce0946f7278f0eab6d62f049b344ad1af962 +size 567394 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/input_snapshot.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..f853d8d8fdb51c5055ed5ab99460ca3d76ed7274 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "c9", + "model": "tabddpm", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c9/c9-train.csv", + "exists": true, + "size": 1656550, + "sha256": "7fe9e4b6e2719c346fd93c7ada4977430d0c593cc5bdae7442a78886f7b71b9e" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c9/c9-val.csv", + "exists": true, + "size": 207139, + "sha256": "01557a0b4304c4b5435df0909d16016ec0ba4ce2c3b31a8815f813ef1376b0b9" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c9/c9-test.csv", + "exists": true, + "size": 207206, + "sha256": "6de1346ef61646cbd096588223a049bf26f2b26229ac65b2734fed139f3c06bb" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c9/c9-dataset_profile.json", + "exists": true, + "size": 4540, + "sha256": "536d3ace5469df116ca00b7544ee8af409fc29edb7e85f365e465a91244a564e" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c9/c9-dataset_contract_v1.json", + "exists": true, + "size": 5389, + "sha256": "d63ab9aee52c7f931f14b7ad2c9a601b670ba5cd739494b2c4d2e4005430ea6d" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_cat_train.npy b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_cat_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..3d94b61030d43c5b23367e79dcf3a8a48b09fa73 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_cat_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65023905572125ad7c8a73df1d6a558da62f56e014df48dec1dab5fea73e16b1 +size 52767 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_cat_unnorm.npy b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_cat_unnorm.npy new file mode 100644 index 0000000000000000000000000000000000000000..33cd35ca301c3fd1409499f08bf28a7c4b84e91c --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_cat_unnorm.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90d5ff621bb88633aeef55172f22d7aaa4bb15cb647f927a21ee9b7043c9f745 +size 209848 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_num_train.npy b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_num_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..3c0357bbcadd544e3c3ca7e49c85daccc9b8bb94 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_num_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bcca1405f685da758fff1e980e4fe4c8fb3865e93126227d5c8461d87752a53 +size 1677888 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_num_unnorm.npy b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_num_unnorm.npy new file mode 100644 index 0000000000000000000000000000000000000000..a27093fae3a416475ec20d46aec455730ead8850 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/X_num_unnorm.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0cb899aa630feb0c26985290e3d49f072e252050b7155c11c51d561743abbe6 +size 1677888 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/config.toml b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/config.toml new file mode 100644 index 0000000000000000000000000000000000000000..8e3d33fc2d9f3f7c9f3c4462011b97e0f2876a65 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/config.toml @@ -0,0 +1,39 @@ +seed = 0 +parent_dir = "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/output" +real_data_path = "/work/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/data" +model_type = "mlp" +num_numerical_features = 8 +device = "cuda:0" + +[model_params] +d_in = 9 +num_classes = 0 +is_y_cond = true + +[model_params.rtdl_params] +d_layers = [256, 256] +dropout = 0.0 + +[diffusion_params] +num_timesteps = 1000 +gaussian_loss_type = "mse" + +[train.main] +steps = 5000 +lr = 0.001 +weight_decay = 0.0 +batch_size = 256 + +[train.T] +seed = 0 +normalization = "quantile" +num_nan_policy = "__none__" +cat_nan_policy = "__none__" +cat_min_frequency = "__none__" +cat_encoding = "__none__" +y_policy = "default" + +[sample] +num_samples = 26215 +batch_size = 1000 +seed = 0 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/info.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/info.json new file mode 100644 index 0000000000000000000000000000000000000000..0e4bff8b9bdff38a0bc7c56fd688382ce110cb75 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/info.json @@ -0,0 +1,35 @@ +{ + "name": "benchmark_dataset", + "task_type": "regression", + "n_num_features": 8, + "n_cat_features": 1, + "train_size": 26215, + "num_col_idx": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "cat_col_idx": [ + 8 + ], + "target_col_idx": [ + 9 + ], + "column_names": [ + "RESOURCE", + "MGR_ID", + "ROLE_ROLLUP_1", + "ROLE_ROLLUP_2", + "ROLE_DEPTNAME", + "ROLE_TITLE", + "ROLE_FAMILY_DESC", + "ROLE_CODE", + "ACTION", + "ROLE_FAMILY" + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/loss.csv b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/loss.csv new file mode 100644 index 0000000000000000000000000000000000000000..6e9df1ce88c0c1d84153bc78b88ddf8dd6ebe139 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/loss.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4686160a7a8db048a490f6de7490b20990ef277f0f2a1cd3e1f96ba0bd3a474c +size 1470 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/model.pt b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/model.pt new file mode 100644 index 0000000000000000000000000000000000000000..681bb6c5b902b2541778952987ff56d1f5c56ef9 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/model.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f333d52c014cbd9a1fb5bb5353430153a0ca918ac2dc7637d8139924e2e9feb +size 549137 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/model_ema.pt b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/model_ema.pt new file mode 100644 index 0000000000000000000000000000000000000000..6d972fb96e975b03e7a67a23b7bbe7b66cbeba75 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/model_ema.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:279aa7010d5ad5db9b117e4ac526cca2a36ac510a658075703e72a0b2cc94fda +size 550049 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/y_train.npy b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/y_train.npy new file mode 100644 index 0000000000000000000000000000000000000000..9890d2d98c4f0fa2f62b84a3e5792f1e0a751e66 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/output/y_train.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37fbbf0bdf79fe232c9efdfe85001e4b1e3595f35e5e3cc96f164d0ef8452e3b +size 209848 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..7ba372afdc8d9d80b5b9ad0413ddec90a8353e37 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,214 @@ +{ + "dataset_id": "c9", + "target_column": "ROLE_FAMILY", + "task_type": "regression", + "columns": [ + { + "name": "ACTION", + "role": "feature", + "semantic_type": "boolean", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 7.6e-05, + "example_values": [ + "1", + "0" + ] + } + }, + { + "name": "RESOURCE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 6690, + "unique_ratio": 0.255197, + "example_values": [ + "44623", + "74192", + "79092", + "4675", + "37639" + ] + } + }, + { + "name": "MGR_ID", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4052, + "unique_ratio": 0.154568, + "example_values": [ + "67326", + "16850", + "5223", + "14952", + "88170" + ] + } + }, + { + "name": "ROLE_ROLLUP_1", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 126, + "unique_ratio": 0.004806, + "example_values": [ + "117910", + "117961", + "118595", + "118200", + "117978" + ] + } + }, + { + "name": "ROLE_ROLLUP_2", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 174, + "unique_ratio": 0.006637, + "example_values": [ + "117911", + "118225", + "118596", + "117962", + "118201" + ] + } + }, + { + "name": "ROLE_DEPTNAME", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 442, + "unique_ratio": 0.016861, + "example_values": [ + "117912", + "119092", + "81476", + "119223", + "117941" + ] + } + }, + { + "name": "ROLE_TITLE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 334, + "unique_ratio": 0.012741, + "example_values": [ + "118568", + "122849", + "118054", + "119962", + "117885" + ] + } + }, + { + "name": "ROLE_FAMILY_DESC", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2205, + "unique_ratio": 0.084112, + "example_values": [ + "198040", + "119094", + "120238", + "168365", + "117913" + ] + } + }, + { + "name": "ROLE_FAMILY", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 67, + "unique_ratio": 0.002556, + "example_values": [ + "19721", + "119095", + "117887", + "118205", + "270488" + ] + } + }, + { + "name": "ROLE_CODE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 334, + "unique_ratio": 0.012741, + "example_values": [ + "118570", + "122850", + "118055", + "119964", + "117888" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/public_gate_report.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..812ee0cc580ee3523d798fa725ff691876b7f855 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "c9", + "status": "pass", + "checks": [ + { + "check_id": "PG001_csv_parse_ok", + "status": "pass" + }, + { + "check_id": "PG002_split_header_consistent", + "status": "pass" + }, + { + "check_id": "PG003_profile_header_match", + "status": "pass" + }, + { + "check_id": "PG004_missing_token_normalized", + "status": "pass" + }, + { + "check_id": "PG005_semantic_type_validated", + "status": "pass" + }, + { + "check_id": "PG006_target_defined_and_valid", + "status": "pass" + } + ], + "target_column": "ROLE_FAMILY", + "task_type": "regression", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c9/c9-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c9/c9-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c9/c9-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/staged_input_manifest.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..6d24de8ffff73a5b14a111348ab32bac4cdb7168 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/staged_input_manifest.json @@ -0,0 +1,219 @@ +{ + "dataset_id": "c9", + "target_column": "ROLE_FAMILY", + "task_type": "regression", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "ACTION", + "role": "feature", + "semantic_type": "boolean", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 7.6e-05, + "example_values": [ + "1", + "0" + ] + } + }, + { + "name": "RESOURCE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 6690, + "unique_ratio": 0.255197, + "example_values": [ + "44623", + "74192", + "79092", + "4675", + "37639" + ] + } + }, + { + "name": "MGR_ID", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4052, + "unique_ratio": 0.154568, + "example_values": [ + "67326", + "16850", + "5223", + "14952", + "88170" + ] + } + }, + { + "name": "ROLE_ROLLUP_1", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 126, + "unique_ratio": 0.004806, + "example_values": [ + "117910", + "117961", + "118595", + "118200", + "117978" + ] + } + }, + { + "name": "ROLE_ROLLUP_2", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 174, + "unique_ratio": 0.006637, + "example_values": [ + "117911", + "118225", + "118596", + "117962", + "118201" + ] + } + }, + { + "name": "ROLE_DEPTNAME", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 442, + "unique_ratio": 0.016861, + "example_values": [ + "117912", + "119092", + "81476", + "119223", + "117941" + ] + } + }, + { + "name": "ROLE_TITLE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 334, + "unique_ratio": 0.012741, + "example_values": [ + "118568", + "122849", + "118054", + "119962", + "117885" + ] + } + }, + { + "name": "ROLE_FAMILY_DESC", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2205, + "unique_ratio": 0.084112, + "example_values": [ + "198040", + "119094", + "120238", + "168365", + "117913" + ] + } + }, + { + "name": "ROLE_FAMILY", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 67, + "unique_ratio": 0.002556, + "example_values": [ + "19721", + "119095", + "117887", + "118205", + "270488" + ] + } + }, + { + "name": "ROLE_CODE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 334, + "unique_ratio": 0.012741, + "example_values": [ + "118570", + "122850", + "118055", + "119964", + "117888" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/runtime_result.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..c2516f7caa7d56a54f4a7d01dda76681b248fcf6 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/runtime_result.json @@ -0,0 +1,15 @@ +{ + "dataset_id": "c9", + "model": "tabddpm", + "run_id": "tabddpm-c9-20260422_212506", + "public_gate_status": "pass", + "adapter_ready_status": "pass", + "train_status": "success", + "generate_status": "success", + "reason_code": null, + "reason_detail": null, + "artifacts": { + "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/tabddpm-c9-26215-20260422_212735.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/staged_features.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..064e282246cf4cc51cf3ff555412bcc338835074 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/staged_features.json @@ -0,0 +1,52 @@ +[ + { + "feature_name": "ACTION", + "data_type": "binary", + "is_target": false + }, + { + "feature_name": "RESOURCE", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "MGR_ID", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "ROLE_ROLLUP_1", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "ROLE_ROLLUP_2", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "ROLE_DEPTNAME", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "ROLE_TITLE", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "ROLE_FAMILY_DESC", + "data_type": "continuous", + "is_target": false + }, + { + "feature_name": "ROLE_FAMILY", + "data_type": "continuous", + "is_target": true + }, + { + "feature_name": "ROLE_CODE", + "data_type": "continuous", + "is_target": false + } +] \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/test.csv b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..b75a5d8c2fcb2f79081b7dbe7668099098496842 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0af6e0312230bd2e171907bf4a9604e4b600e6335c3e4b4842b1f60c8e7260c7 +size 203927 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/train.csv b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..581832d2d577538d2b98026d4705fa0495b803b7 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5289d18c270c8b9f28c49f65f7dcbcbfe99c6d9c36bf7468cb0bd306c37a6c7 +size 1630334 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/val.csv b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..0550b83cde55957916223bde1f17c67e7bfa0325 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad236210ab730f44360ed17509da76cda75ad36d8ab73965a437110f905764d3 +size 203862 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/adapter_report.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..dcc7dd0b95e45b14e9996121da50e1c158d28d49 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/adapter_report.json @@ -0,0 +1,7 @@ +{ + "adapter_ready_status": "pass", + "adapter_fail_reason_code": null, + "adapter_fail_detail": null, + "adapter_transforms_applied": [], + "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/adapter_transforms_applied.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/model_input_manifest.json b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..285d325b3f97995360e06b2df2ea6b567c9e1bc8 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/staged/tabddpm/model_input_manifest.json @@ -0,0 +1,221 @@ +{ + "dataset_id": "c9", + "model": "tabddpm", + "target_column": "ROLE_FAMILY", + "task_type": "regression", + "column_schema": [ + { + "name": "ACTION", + "role": "feature", + "semantic_type": "boolean", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2, + "unique_ratio": 7.6e-05, + "example_values": [ + "1", + "0" + ] + } + }, + { + "name": "RESOURCE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 6690, + "unique_ratio": 0.255197, + "example_values": [ + "44623", + "74192", + "79092", + "4675", + "37639" + ] + } + }, + { + "name": "MGR_ID", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4052, + "unique_ratio": 0.154568, + "example_values": [ + "67326", + "16850", + "5223", + "14952", + "88170" + ] + } + }, + { + "name": "ROLE_ROLLUP_1", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 126, + "unique_ratio": 0.004806, + "example_values": [ + "117910", + "117961", + "118595", + "118200", + "117978" + ] + } + }, + { + "name": "ROLE_ROLLUP_2", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 174, + "unique_ratio": 0.006637, + "example_values": [ + "117911", + "118225", + "118596", + "117962", + "118201" + ] + } + }, + { + "name": "ROLE_DEPTNAME", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 442, + "unique_ratio": 0.016861, + "example_values": [ + "117912", + "119092", + "81476", + "119223", + "117941" + ] + } + }, + { + "name": "ROLE_TITLE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 334, + "unique_ratio": 0.012741, + "example_values": [ + "118568", + "122849", + "118054", + "119962", + "117885" + ] + } + }, + { + "name": "ROLE_FAMILY_DESC", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 2205, + "unique_ratio": 0.084112, + "example_values": [ + "198040", + "119094", + "120238", + "168365", + "117913" + ] + } + }, + { + "name": "ROLE_FAMILY", + "role": "target", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 67, + "unique_ratio": 0.002556, + "example_values": [ + "19721", + "119095", + "117887", + "118205", + "270488" + ] + } + }, + { + "name": "ROLE_CODE", + "role": "feature", + "semantic_type": "numeric", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "median", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 334, + "unique_ratio": 0.012741, + "example_values": [ + "118570", + "122850", + "118055", + "119964", + "117888" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-SpecializedModels/c9/tabddpm/tabddpm-c9-20260422_212506/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/tabddpm-c9-26215-20260422_212735.csv b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/tabddpm-c9-26215-20260422_212735.csv new file mode 100644 index 0000000000000000000000000000000000000000..a0c763058c23c8cec984a862afd0e7707ca85135 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/tabddpm-c9-26215-20260422_212735.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0ce1cd80e02724e598a79e7c7fb5f76b24acf7fcfacc358ddf9b3027f4b8f4f +size 1807669 diff --git a/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/train_20260422_212507.log b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/train_20260422_212507.log new file mode 100644 index 0000000000000000000000000000000000000000..bbd290196f8117db196224cde60a5c4bd002b095 --- /dev/null +++ b/SynthData0523/main/c9/tabddpm/tabddpm-c9-20260422_212506/train_20260422_212507.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:186c55c87d6036622c9dd7faa4abb86774587b439834ca9b9d80af1091a77683 +size 8869 diff --git a/SynthData0523/main/c9/tabdiff/tabdiff-c9-20260420_073501/_tabdiff_gen.py b/SynthData0523/main/c9/tabdiff/tabdiff-c9-20260420_073501/_tabdiff_gen.py new file mode 100644 index 0000000000000000000000000000000000000000..c0a8ea7b8597b0719fe0b86f90f33cf89320dbfb --- /dev/null +++ b/SynthData0523/main/c9/tabdiff/tabdiff-c9-20260420_073501/_tabdiff_gen.py @@ -0,0 +1,36 @@ + +import os, shutil, subprocess, sys +td = r"/workspace/TabDiff" +name = r"pipeline_ds" +src = r"/work/output-SpecializedModels/c9/tabdiff/tabdiff-c9-20260420_073501/tabular_bundle/pipeline_ds" +dst_data = os.path.join(td, "data", name) +dst_syn = os.path.join(td, "synthetic", name) +shutil.rmtree(dst_data, ignore_errors=True) +shutil.copytree(src, dst_data) +os.makedirs(dst_syn, exist_ok=True) +for fn in ("real.csv", "test.csv", "val.csv"): + shutil.copy(os.path.join(src, fn), os.path.join(dst_syn, fn)) +os.chdir(td) +os.environ["PYTHONPATH"] = td + os.pathsep + os.environ.get("PYTHONPATH", "") +subprocess.check_call([ + sys.executable, "-m", "tabdiff.main", + "--dataname", name, "--mode", "test", "--gpu", "0", + "--no_wandb", "--exp_name", r"adapter_learnable", + "--ckpt_path", r"/workspace/TabDiff/tabdiff/ckpt/pipeline_ds/adapter_learnable/model_500.pt", + "--num_samples_to_generate", str(int(26215)), +]) +# test() 写入 tabdiff/result////samples.csv +import glob as g +base = os.path.join(td, "tabdiff", "result", name, r"adapter_learnable") +best = None +best_t = -1.0 +for root, _, files in os.walk(base): + if "samples.csv" in files: + p = os.path.join(root, "samples.csv") + t = os.path.getmtime(p) + if t > best_t: + best_t = t + best = p +if not best: + raise SystemExit("tabdiff: no samples.csv under " + base) +shutil.copy(best, r"/work/output-SpecializedModels/c9/tabdiff/tabdiff-c9-20260420_073501/tabdiff-c9-26215-20260420_074317.csv") diff --git a/SynthData0523/main/c9/tabdiff/tabdiff-c9-20260420_073501/_tabdiff_train.py b/SynthData0523/main/c9/tabdiff/tabdiff-c9-20260420_073501/_tabdiff_train.py new file mode 100644 index 0000000000000000000000000000000000000000..d72ce063587a1fd0c6b86c2a421f22ea6087eac9 --- /dev/null +++ b/SynthData0523/main/c9/tabdiff/tabdiff-c9-20260420_073501/_tabdiff_train.py @@ -0,0 +1,21 @@ + +import os, shutil, subprocess, sys +td = r"/workspace/TabDiff" +name = r"pipeline_ds" +src = r"/work/output-SpecializedModels/c9/tabdiff/tabdiff-c9-20260420_073501/tabular_bundle/pipeline_ds" +dst_data = os.path.join(td, "data", name) +dst_syn = os.path.join(td, "synthetic", name) +shutil.rmtree(dst_data, ignore_errors=True) +shutil.copytree(src, dst_data) +os.makedirs(dst_syn, exist_ok=True) +for fn in ("real.csv", "test.csv", "val.csv"): + shutil.copy(os.path.join(src, fn), os.path.join(dst_syn, fn)) +os.chdir(td) +os.environ["PYTHONPATH"] = td + os.pathsep + os.environ.get("PYTHONPATH", "") +os.environ["TABDIFF_SMOKE_STEPS"] = "500" +os.environ["TABDIFF_ADAPTER_TRAIN"] = "1" +subprocess.check_call([ + sys.executable, "-m", "tabdiff.main", + "--dataname", name, "--mode", "train", "--gpu", "0", + "--no_wandb", "--exp_name", r"adapter_learnable", +])