diff --git a/.gitattributes b/.gitattributes index 8ddb3a199d5eaef623b04fbcd96a66ecb1f2dd54..d287deea405a9725091fd73613d2cccd7e5bb86d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3927,3 +3927,20 @@ SynthData0523/main/c2/tvae/tvae-c2-20260504_174228/staged/public/train.csv filte SynthData0523/main/c2/tvae/tvae-c2-20260504_174228/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text SynthData0523/main/c2/tvae/tvae-c2-20260504_174228/tvae-c2-1382-20260504_174245.csv filter=lfs diff=lfs merge=lfs -text SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/gen_20260504_175041.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/models_300epochs/train_20260504_175027.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/tvae-c2-1382-20260504_175041.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/gen_20260504_175116.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/models_300epochs/train_20260504_175100.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/tvae-c2-1382-20260504_175116.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/gen_20260504_175151.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/models_300epochs/train_20260504_175134.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/input_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..9e28a5421f2176e174a0659e66a40054269fb2ac --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", + "exists": true, + "size": 42948, + "sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", + "exists": true, + "size": 5349, + "sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv", + "exists": true, + "size": 5448, + "sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json", + "exists": true, + "size": 3240, + "sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json", + "exists": true, + "size": 3731, + "sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/models_300epochs/train_20260504_175027.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/models_300epochs/train_20260504_175027.log new file mode 100644 index 0000000000000000000000000000000000000000..75d081b6b67b71d98c32792a120f034523c9ed61 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/models_300epochs/train_20260504_175027.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27a31e992b3e274f3bef6e36d82e154a1098ee374a42da5d23ba2eb446f2e9d0 +size 615 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/models_300epochs/tvae_300epochs.pt b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/models_300epochs/tvae_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..b0e9191e1b878412f955dd1c2f27ac5ec132edbe --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/models_300epochs/tvae_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f1e00695ed4fb39555e6e1b9efe1af61665640f750ddca0c6dd743d68f8b55a +size 223404 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..689b1d00d96508e44ba40e58dc4560e19afc2b3b --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,144 @@ +{ + "dataset_id": "c2", + "target_column": "class", + "task_type": "classification", + "columns": [ + { + "name": "buying", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "med", + "high", + "low" + ] + } + }, + { + "name": "maint", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "low", + "med", + "high" + ] + } + }, + { + "name": "doors", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "2", + "5more", + "3", + "4" + ] + } + }, + { + "name": "persons", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "2", + "4", + "more" + ] + } + }, + { + "name": "lug_boot", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "small", + "big", + "med" + ] + } + }, + { + "name": "safety", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "low", + "high", + "med" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "unacc", + "good", + "acc", + "vgood" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/public_gate_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..2e4cdcb2a4e28e40d59b17a83e773f622b7636a5 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "c2", + "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": "class", + "task_type": "classification", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/staged_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..2d0396d7a163d0e0292af99bc6584ce15b374c93 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/public_gate/staged_input_manifest.json @@ -0,0 +1,149 @@ +{ + "dataset_id": "c2", + "target_column": "class", + "task_type": "classification", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "buying", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "med", + "high", + "low" + ] + } + }, + { + "name": "maint", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "low", + "med", + "high" + ] + } + }, + { + "name": "doors", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "2", + "5more", + "3", + "4" + ] + } + }, + { + "name": "persons", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "2", + "4", + "more" + ] + } + }, + { + "name": "lug_boot", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "small", + "big", + "med" + ] + } + }, + { + "name": "safety", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "low", + "high", + "med" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "unacc", + "good", + "acc", + "vgood" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/run_config.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/run_config.json new file mode 100644 index 0000000000000000000000000000000000000000..3a2d617b169ad852ac43f72a1c4b7cfccfa33466 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/run_config.json @@ -0,0 +1,45 @@ +{ + "schema_version": 1, + "recorded_at": "2026-05-04T17:50:27", + "dataset_id": "c2", + "model": "tvae", + "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027", + "dataset_source_requested": "new", + "dataset_source_resolved": "new", + "cli_args": { + "model": "tvae", + "dataset": "c2", + "dataset_source": "new", + "train": true, + "generate": true, + "num_rows": 0, + "epochs": null, + "output_dir": null, + "model_dir": null, + "work_dir": null, + "resume": false, + "no_stats": false + }, + "resolved": { + "num_rows": 1382, + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/models_300epochs/tvae_300epochs.pt", + "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/tvae-c2-1382-20260504_175041.csv" + }, + "input_artifacts": { + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/public_gate/public_gate_report.json", + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/public_gate/staged_input_manifest.json", + "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/tvae/model_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/train.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/staged_features.json", + "target_column": "class", + "task_type": "classification" + }, + "env_overrides": { + "BENCHMARK_TVAE_GPUS": "device=3", + "TVAE_BATCH_SIZE": "256", + "TVAE_COMPRESS_DIMS": "64,64", + "TVAE_DECOMPRESS_DIMS": "64,64", + "TVAE_EMBEDDING_DIM": "32", + "TVAE_EPOCHS": "100" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/runtime_result.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..5d3a41b107926d16f24d14d77ee75a75add3ae2c --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/runtime_result.json @@ -0,0 +1,27 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "run_id": "tvae-c2-20260504_175027", + "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-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/tvae-c2-1382-20260504_175041.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/models_300epochs/tvae_300epochs.pt" + }, + "timings": { + "train": { + "started_at": "2026-05-04T17:50:27", + "ended_at": "2026-05-04T17:50:41", + "duration_sec": 13.546 + }, + "generate": { + "started_at": "2026-05-04T17:50:41", + "ended_at": "2026-05-04T17:50:46", + "duration_sec": 5.172 + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/staged_features.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..61783861dd5de501592f76acb0469cf3f3b2622a --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/staged_features.json @@ -0,0 +1,37 @@ +[ + { + "feature_name": "buying", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "maint", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "doors", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "persons", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "lug_boot", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "safety", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "class", + "data_type": "categorical", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/test.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..392a0d7189a34d8f13ecf20a99d64b03230d517c --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73 +size 5273 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/train.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..da4f4d55134eebc0e51157d0d467536371db1484 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434dd +size 41565 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/val.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..af8caf7ee42524188534a3daf32996dc491952d9 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01 +size 5176 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/adapter_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..fd315eb1068f5c43dc5617cab4ab1fee932da6f2 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/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-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/tvae/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/adapter_transforms_applied.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/model_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..afcd3f42f324ce459307b455f3e2a3bb649e77e5 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/staged/tvae/model_input_manifest.json @@ -0,0 +1,151 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "target_column": "class", + "task_type": "classification", + "column_schema": [ + { + "name": "buying", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "med", + "high", + "low" + ] + } + }, + { + "name": "maint", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "low", + "med", + "high" + ] + } + }, + { + "name": "doors", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "2", + "5more", + "3", + "4" + ] + } + }, + { + "name": "persons", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "2", + "4", + "more" + ] + } + }, + { + "name": "lug_boot", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "small", + "big", + "med" + ] + } + }, + { + "name": "safety", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "low", + "high", + "med" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "unacc", + "good", + "acc", + "vgood" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175027/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/tvae-c2-1382-20260504_175041.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/tvae-c2-1382-20260504_175041.csv new file mode 100644 index 0000000000000000000000000000000000000000..52de855ad6d8d3bf281e75cf4eed61b1ebb11e07 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/tvae-c2-1382-20260504_175041.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c35716ec2b3678e33bbe0beeafcc0fdc08b695166f0faa60a359cce73fe16eed +size 42288 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/tvae_metadata.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/tvae_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..183d627ebc98e89233655ec98c9dcbc528c4c328 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175027/tvae_metadata.json @@ -0,0 +1,32 @@ +{ + "columns": [ + { + "name": "buying", + "type": "categorical" + }, + { + "name": "maint", + "type": "categorical" + }, + { + "name": "doors", + "type": "categorical" + }, + { + "name": "persons", + "type": "categorical" + }, + { + "name": "lug_boot", + "type": "categorical" + }, + { + "name": "safety", + "type": "categorical" + }, + { + "name": "class", + "type": "categorical" + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/_tvae_generate.py b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/_tvae_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..9bdfcbea9bd89c4db99013044747122d14480916 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/_tvae_generate.py @@ -0,0 +1,23 @@ +import os, sys +sys.path.insert(0, "/work") +from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env +apply_parallel_cap_from_env() +from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fix +apply_ctgan_inverse_fix() +import pandas as pd +from ctgan.synthesizers.tvae import TVAE +os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8") +os.environ.setdefault("OPENBLAS_NUM_THREADS", "8") +os.environ.setdefault("MKL_NUM_THREADS", "8") +model = TVAE.load("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/models_300epochs/tvae_300epochs.pt") +total = 1382 +chunk = min(50000, total) if total > 50000 else total +parts = [] +left = total +while left > 0: + take = min(chunk, left) + parts.append(model.sample(take)) + left -= take +samples = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0] +samples.to_csv("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/tvae-c2-1382-20260504_175116.csv", index=False) +print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/tvae-c2-1382-20260504_175116.csv") diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/_tvae_train.py b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/_tvae_train.py new file mode 100644 index 0000000000000000000000000000000000000000..16748e54eb9a1ae5a6f60d11a4f52397f67560f6 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/_tvae_train.py @@ -0,0 +1,39 @@ +import json, os, sys +sys.path.insert(0, "/work") +from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env +apply_parallel_cap_from_env() +import pandas as pd +from ctgan.data import read_csv +from ctgan.synthesizers.tvae import TVAE + +# Keep transform stage parallelism bounded for stability on shared host. +os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8") +os.environ.setdefault("OPENBLAS_NUM_THREADS", "8") +os.environ.setdefault("MKL_NUM_THREADS", "8") +_nj = (os.environ.get("TVAE_CTGAN_JOBTRANS_N_JOBS") or "").strip() +if _nj: + print("[TVAE] joblib Parallel cap ON, TVAE_CTGAN_JOBTRANS_N_JOBS=" + _nj) +else: + print("[TVAE] joblib Parallel cap OFF (unset TVAE_CTGAN_JOBTRANS_N_JOBS)") +print("[TVAE] LOKY_MAX_CPU_COUNT=" + str(os.environ.get("LOKY_MAX_CPU_COUNT", ""))) + +csv_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/train.csv" +meta_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/tvae_metadata.json" +save_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/models_300epochs/tvae_300epochs.pt" +epochs = int(os.environ.get("TVAE_EPOCHS", 300)) +batch_size = int(os.environ.get("TVAE_BATCH_SIZE", "500")) +embedding_dim = int(os.environ.get("TVAE_EMBEDDING_DIM", "128")) +def _parse_dims(name, default): + raw = (os.environ.get(name) or "").strip() + if not raw: + return default + return tuple(int(x.strip()) for x in raw.split(",") if x.strip()) +compress_dims = _parse_dims("TVAE_COMPRESS_DIMS", (128, 128)) +decompress_dims = _parse_dims("TVAE_DECOMPRESS_DIMS", (128, 128)) + +data, discrete_columns = read_csv(csv_path, meta_path, header=True, discrete=None) +print(f"[TVAE] Training on {len(data)} rows, {len(data.columns)} cols, epochs={epochs}, batch_size={batch_size}, embedding_dim={embedding_dim}, compress_dims={compress_dims}, decompress_dims={decompress_dims}") +model = TVAE(epochs=epochs, batch_size=batch_size, embedding_dim=embedding_dim, compress_dims=compress_dims, decompress_dims=decompress_dims) +model.fit(data, discrete_columns) +model.save(save_path) +print(f"[TVAE] Model saved -> {save_path}") diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/gen_20260504_175116.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/gen_20260504_175116.log new file mode 100644 index 0000000000000000000000000000000000000000..d49ada4499e260e32bafa422e2d1facee36f56f7 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/gen_20260504_175116.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7273add7930ed5939cafe3d43ea1602d7885408ec8627e3f03bf7ca8aae8d86a +size 404 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/input_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..9e28a5421f2176e174a0659e66a40054269fb2ac --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", + "exists": true, + "size": 42948, + "sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", + "exists": true, + "size": 5349, + "sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv", + "exists": true, + "size": 5448, + "sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json", + "exists": true, + "size": 3240, + "sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json", + "exists": true, + "size": 3731, + "sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/models_300epochs/train_20260504_175100.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/models_300epochs/train_20260504_175100.log new file mode 100644 index 0000000000000000000000000000000000000000..f4b363f0e40c680a056ef1415fbb43824b139ec1 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/models_300epochs/train_20260504_175100.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13d7f892be66207b52dd8124e5bbe5442b4e8fcd0668d9a502ea70381c6bc846 +size 619 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/models_300epochs/tvae_300epochs.pt b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/models_300epochs/tvae_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..c1d147d3d16f2d818036c6c7e229480c733a81f1 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/models_300epochs/tvae_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05b303a596195c046df86ed9e9dd4aeac7f0072cc58d433b73a2cbafe0c93e12 +size 319852 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..689b1d00d96508e44ba40e58dc4560e19afc2b3b --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,144 @@ +{ + "dataset_id": "c2", + "target_column": "class", + "task_type": "classification", + "columns": [ + { + "name": "buying", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "med", + "high", + "low" + ] + } + }, + { + "name": "maint", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "low", + "med", + "high" + ] + } + }, + { + "name": "doors", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "2", + "5more", + "3", + "4" + ] + } + }, + { + "name": "persons", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "2", + "4", + "more" + ] + } + }, + { + "name": "lug_boot", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "small", + "big", + "med" + ] + } + }, + { + "name": "safety", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "low", + "high", + "med" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "unacc", + "good", + "acc", + "vgood" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/public_gate_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..2e4cdcb2a4e28e40d59b17a83e773f622b7636a5 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "c2", + "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": "class", + "task_type": "classification", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/staged_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..a1dd8f289c4edf67a2cd2fb29e1d242f70efeb9a --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/public_gate/staged_input_manifest.json @@ -0,0 +1,149 @@ +{ + "dataset_id": "c2", + "target_column": "class", + "task_type": "classification", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "buying", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "med", + "high", + "low" + ] + } + }, + { + "name": "maint", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "low", + "med", + "high" + ] + } + }, + { + "name": "doors", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "2", + "5more", + "3", + "4" + ] + } + }, + { + "name": "persons", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "2", + "4", + "more" + ] + } + }, + { + "name": "lug_boot", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "small", + "big", + "med" + ] + } + }, + { + "name": "safety", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "low", + "high", + "med" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "unacc", + "good", + "acc", + "vgood" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/run_config.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/run_config.json new file mode 100644 index 0000000000000000000000000000000000000000..9d5bf1b03dd5312dc8f0b6b480c2d8333e42ff85 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/run_config.json @@ -0,0 +1,45 @@ +{ + "schema_version": 1, + "recorded_at": "2026-05-04T17:51:00", + "dataset_id": "c2", + "model": "tvae", + "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059", + "dataset_source_requested": "new", + "dataset_source_resolved": "new", + "cli_args": { + "model": "tvae", + "dataset": "c2", + "dataset_source": "new", + "train": true, + "generate": true, + "num_rows": 0, + "epochs": null, + "output_dir": null, + "model_dir": null, + "work_dir": null, + "resume": false, + "no_stats": false + }, + "resolved": { + "num_rows": 1382, + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/models_300epochs/tvae_300epochs.pt", + "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/tvae-c2-1382-20260504_175116.csv" + }, + "input_artifacts": { + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/public_gate/public_gate_report.json", + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/public_gate/staged_input_manifest.json", + "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/tvae/model_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/train.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/staged_features.json", + "target_column": "class", + "task_type": "classification" + }, + "env_overrides": { + "BENCHMARK_TVAE_GPUS": "device=3", + "TVAE_BATCH_SIZE": "256", + "TVAE_COMPRESS_DIMS": "128,128", + "TVAE_DECOMPRESS_DIMS": "128,128", + "TVAE_EMBEDDING_DIM": "64", + "TVAE_EPOCHS": "200" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/runtime_result.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..498a194563371d3471c9dc07442f9249c2fb375e --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/runtime_result.json @@ -0,0 +1,27 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "run_id": "tvae-c2-20260504_175059", + "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-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/tvae-c2-1382-20260504_175116.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/models_300epochs/tvae_300epochs.pt" + }, + "timings": { + "train": { + "started_at": "2026-05-04T17:51:00", + "ended_at": "2026-05-04T17:51:16", + "duration_sec": 16.884 + }, + "generate": { + "started_at": "2026-05-04T17:51:16", + "ended_at": "2026-05-04T17:51:21", + "duration_sec": 5.026 + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/staged_features.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..61783861dd5de501592f76acb0469cf3f3b2622a --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/staged_features.json @@ -0,0 +1,37 @@ +[ + { + "feature_name": "buying", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "maint", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "doors", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "persons", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "lug_boot", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "safety", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "class", + "data_type": "categorical", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/test.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..392a0d7189a34d8f13ecf20a99d64b03230d517c --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73 +size 5273 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/train.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..da4f4d55134eebc0e51157d0d467536371db1484 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/train.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434dd +size 41565 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/val.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..af8caf7ee42524188534a3daf32996dc491952d9 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/public/val.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01 +size 5176 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/adapter_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..f39e1ab317ffaaa0c489f1d152d3541f687bec20 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/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-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/tvae/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/adapter_transforms_applied.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/adapter_transforms_applied.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/model_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..a3d86b3bcd4548705a5cc753afef3a6d4838e19e --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/staged/tvae/model_input_manifest.json @@ -0,0 +1,151 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "target_column": "class", + "task_type": "classification", + "column_schema": [ + { + "name": "buying", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "med", + "high", + "low" + ] + } + }, + { + "name": "maint", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "low", + "med", + "high" + ] + } + }, + { + "name": "doors", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "2", + "5more", + "3", + "4" + ] + } + }, + { + "name": "persons", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "2", + "4", + "more" + ] + } + }, + { + "name": "lug_boot", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "small", + "big", + "med" + ] + } + }, + { + "name": "safety", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "low", + "high", + "med" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "unacc", + "good", + "acc", + "vgood" + ] + } + } + ], + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175059/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/tvae-c2-1382-20260504_175116.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/tvae-c2-1382-20260504_175116.csv new file mode 100644 index 0000000000000000000000000000000000000000..ed1aaacefa064433627b31272a6a0570e43c431a --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/tvae-c2-1382-20260504_175116.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31e5e3a91a0418044bc61b09e258d72356c52e332b3e614c0699f5f2962fe56c +size 41725 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/tvae_metadata.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/tvae_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..183d627ebc98e89233655ec98c9dcbc528c4c328 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175059/tvae_metadata.json @@ -0,0 +1,32 @@ +{ + "columns": [ + { + "name": "buying", + "type": "categorical" + }, + { + "name": "maint", + "type": "categorical" + }, + { + "name": "doors", + "type": "categorical" + }, + { + "name": "persons", + "type": "categorical" + }, + { + "name": "lug_boot", + "type": "categorical" + }, + { + "name": "safety", + "type": "categorical" + }, + { + "name": "class", + "type": "categorical" + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/_tvae_generate.py b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/_tvae_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..c5f94d959d7eeaa29f9d882a3763d81f02da8b2e --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/_tvae_generate.py @@ -0,0 +1,23 @@ +import os, sys +sys.path.insert(0, "/work") +from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env +apply_parallel_cap_from_env() +from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fix +apply_ctgan_inverse_fix() +import pandas as pd +from ctgan.synthesizers.tvae import TVAE +os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8") +os.environ.setdefault("OPENBLAS_NUM_THREADS", "8") +os.environ.setdefault("MKL_NUM_THREADS", "8") +model = TVAE.load("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/models_300epochs/tvae_300epochs.pt") +total = 1382 +chunk = min(50000, total) if total > 50000 else total +parts = [] +left = total +while left > 0: + take = min(chunk, left) + parts.append(model.sample(take)) + left -= take +samples = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0] +samples.to_csv("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/tvae-c2-1382-20260504_175151.csv", index=False) +print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/tvae-c2-1382-20260504_175151.csv") diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/_tvae_train.py b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/_tvae_train.py new file mode 100644 index 0000000000000000000000000000000000000000..091e65996ed24436d0d0cec26d6e97b2d8a731cb --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/_tvae_train.py @@ -0,0 +1,39 @@ +import json, os, sys +sys.path.insert(0, "/work") +from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env +apply_parallel_cap_from_env() +import pandas as pd +from ctgan.data import read_csv +from ctgan.synthesizers.tvae import TVAE + +# Keep transform stage parallelism bounded for stability on shared host. +os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8") +os.environ.setdefault("OPENBLAS_NUM_THREADS", "8") +os.environ.setdefault("MKL_NUM_THREADS", "8") +_nj = (os.environ.get("TVAE_CTGAN_JOBTRANS_N_JOBS") or "").strip() +if _nj: + print("[TVAE] joblib Parallel cap ON, TVAE_CTGAN_JOBTRANS_N_JOBS=" + _nj) +else: + print("[TVAE] joblib Parallel cap OFF (unset TVAE_CTGAN_JOBTRANS_N_JOBS)") +print("[TVAE] LOKY_MAX_CPU_COUNT=" + str(os.environ.get("LOKY_MAX_CPU_COUNT", ""))) + +csv_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/staged/public/train.csv" +meta_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/tvae_metadata.json" +save_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/models_300epochs/tvae_300epochs.pt" +epochs = int(os.environ.get("TVAE_EPOCHS", 300)) +batch_size = int(os.environ.get("TVAE_BATCH_SIZE", "500")) +embedding_dim = int(os.environ.get("TVAE_EMBEDDING_DIM", "128")) +def _parse_dims(name, default): + raw = (os.environ.get(name) or "").strip() + if not raw: + return default + return tuple(int(x.strip()) for x in raw.split(",") if x.strip()) +compress_dims = _parse_dims("TVAE_COMPRESS_DIMS", (128, 128)) +decompress_dims = _parse_dims("TVAE_DECOMPRESS_DIMS", (128, 128)) + +data, discrete_columns = read_csv(csv_path, meta_path, header=True, discrete=None) +print(f"[TVAE] Training on {len(data)} rows, {len(data.columns)} cols, epochs={epochs}, batch_size={batch_size}, embedding_dim={embedding_dim}, compress_dims={compress_dims}, decompress_dims={decompress_dims}") +model = TVAE(epochs=epochs, batch_size=batch_size, embedding_dim=embedding_dim, compress_dims=compress_dims, decompress_dims=decompress_dims) +model.fit(data, discrete_columns) +model.save(save_path) +print(f"[TVAE] Model saved -> {save_path}") diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/gen_20260504_175151.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/gen_20260504_175151.log new file mode 100644 index 0000000000000000000000000000000000000000..7eadd238040dc89416ea5fb86cf52da087bf5a71 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/gen_20260504_175151.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40511260bd9eb00dcc35cfc95b37da03e79a617b156ee312d5e0a42d69f03ec5 +size 404 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/input_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..9e28a5421f2176e174a0659e66a40054269fb2ac --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/input_snapshot.json @@ -0,0 +1,36 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "inputs": { + "train_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", + "exists": true, + "size": 42948, + "sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def" + }, + "val_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", + "exists": true, + "size": 5349, + "sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9" + }, + "test_csv": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv", + "exists": true, + "size": 5448, + "sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a" + }, + "profile_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json", + "exists": true, + "size": 3240, + "sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b" + }, + "contract_json": { + "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json", + "exists": true, + "size": 3731, + "sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009" + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/models_300epochs/train_20260504_175134.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/models_300epochs/train_20260504_175134.log new file mode 100644 index 0000000000000000000000000000000000000000..75f36e6e8bc72d6ec568cd3e2d86064d800a9dfe --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/models_300epochs/train_20260504_175134.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7d33708ecbb6ef5a07bd3355c804b12ee37c50055d190d2d2034a51d3b6c95e +size 619 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/models_300epochs/tvae_300epochs.pt b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/models_300epochs/tvae_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..32e8acd1b1837e47a3c1a4545a9b1765d6996774 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/models_300epochs/tvae_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61cb2ff2172d59d7221cfda8f98a518f8db67166a7fc0011342913cc46d7170d +size 620844 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..689b1d00d96508e44ba40e58dc4560e19afc2b3b --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/normalized_schema_snapshot.json @@ -0,0 +1,144 @@ +{ + "dataset_id": "c2", + "target_column": "class", + "task_type": "classification", + "columns": [ + { + "name": "buying", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "med", + "high", + "low" + ] + } + }, + { + "name": "maint", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "low", + "med", + "high" + ] + } + }, + { + "name": "doors", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "2", + "5more", + "3", + "4" + ] + } + }, + { + "name": "persons", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "2", + "4", + "more" + ] + } + }, + { + "name": "lug_boot", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "small", + "big", + "med" + ] + } + }, + { + "name": "safety", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "low", + "high", + "med" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "unacc", + "good", + "acc", + "vgood" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/public_gate_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..2e4cdcb2a4e28e40d59b17a83e773f622b7636a5 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/public_gate_report.json @@ -0,0 +1,37 @@ +{ + "dataset_id": "c2", + "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": "class", + "task_type": "classification", + "input_splits": { + "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", + "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", + "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/staged_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..954ee901c436870528834dbd01f691a15d3d9dc7 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/public_gate/staged_input_manifest.json @@ -0,0 +1,149 @@ +{ + "dataset_id": "c2", + "target_column": "class", + "task_type": "classification", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/public_gate/public_gate_report.json", + "column_schema": [ + { + "name": "buying", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "med", + "high", + "low" + ] + } + }, + { + "name": "maint", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "vhigh", + "low", + "med", + "high" + ] + } + }, + { + "name": "doors", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "2", + "5more", + "3", + "4" + ] + } + }, + { + "name": "persons", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "2", + "4", + "more" + ] + } + }, + { + "name": "lug_boot", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "small", + "big", + "med" + ] + } + }, + { + "name": "safety", + "role": "feature", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 3, + "unique_ratio": 0.002171, + "example_values": [ + "low", + "high", + "med" + ] + } + }, + { + "name": "class", + "role": "target", + "semantic_type": "categorical", + "nullable": false, + "missing_tokens": [], + "parse_format": null, + "impute_strategy": "mode", + "profile_stats": { + "missing_rate": 0.0, + "unique_count": 4, + "unique_ratio": 0.002894, + "example_values": [ + "unacc", + "good", + "acc", + "vgood" + ] + } + } + ] +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/run_config.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/run_config.json new file mode 100644 index 0000000000000000000000000000000000000000..108d7de688c2694ec1c049e873ddc406ac7190ae --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/run_config.json @@ -0,0 +1,45 @@ +{ + "schema_version": 1, + "recorded_at": "2026-05-04T17:51:34", + "dataset_id": "c2", + "model": "tvae", + "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134", + "dataset_source_requested": "new", + "dataset_source_resolved": "new", + "cli_args": { + "model": "tvae", + "dataset": "c2", + "dataset_source": "new", + "train": true, + "generate": true, + "num_rows": 0, + "epochs": null, + "output_dir": null, + "model_dir": null, + "work_dir": null, + "resume": false, + "no_stats": false + }, + "resolved": { + "num_rows": 1382, + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/models_300epochs/tvae_300epochs.pt", + "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/tvae-c2-1382-20260504_175151.csv" + }, + "input_artifacts": { + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/public_gate/public_gate_report.json", + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/public_gate/staged_input_manifest.json", + "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/staged/tvae/model_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/staged/public/train.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/staged/public/staged_features.json", + "target_column": "class", + "task_type": "classification" + }, + "env_overrides": { + "BENCHMARK_TVAE_GPUS": "device=3", + "TVAE_BATCH_SIZE": "500", + "TVAE_COMPRESS_DIMS": "256,256", + "TVAE_DECOMPRESS_DIMS": "256,256", + "TVAE_EMBEDDING_DIM": "128", + "TVAE_EPOCHS": "300" + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/runtime_result.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..cb5e0c36d106bd81f81366cae2601095a6582ca2 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/runtime_result.json @@ -0,0 +1,27 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "run_id": "tvae-c2-20260504_175134", + "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-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/tvae-c2-1382-20260504_175151.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_175134/models_300epochs/tvae_300epochs.pt" + }, + "timings": { + "train": { + "started_at": "2026-05-04T17:51:34", + "ended_at": "2026-05-04T17:51:51", + "duration_sec": 16.259 + }, + "generate": { + "started_at": "2026-05-04T17:51:51", + "ended_at": "2026-05-04T17:51:56", + "duration_sec": 5.045 + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/staged/public/staged_features.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..61783861dd5de501592f76acb0469cf3f3b2622a --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/staged/public/staged_features.json @@ -0,0 +1,37 @@ +[ + { + "feature_name": "buying", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "maint", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "doors", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "persons", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "lug_boot", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "safety", + "data_type": "categorical", + "is_target": false + }, + { + "feature_name": "class", + "data_type": "categorical", + "is_target": true + } +] \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/staged/public/test.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..392a0d7189a34d8f13ecf20a99d64b03230d517c --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_175134/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73 +size 5273