diff --git a/.gitattributes b/.gitattributes index bf6d42fb241298acbf911ae3b8ec20dc22765f4e..626f6d5c8911d8b31271295f57edd8161dac52c0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3892,3 +3892,20 @@ SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/train.csv filte SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/tvae-c2-1382-20260504_173024.csv filter=lfs diff=lfs merge=lfs -text SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/gen_20260504_174029.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/models_300epochs/train_20260504_174013.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/tvae-c2-1382-20260504_174029.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/gen_20260504_174104.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/models_300epochs/train_20260504_174047.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/tvae-c2-1382-20260504_174104.csv filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/gen_20260504_174137.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/models_300epochs/train_20260504_174121.log filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text +SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/input_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..9e28a5421f2176e174a0659e66a40054269fb2ac --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/models_300epochs/train_20260504_174013.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/models_300epochs/train_20260504_174013.log new file mode 100644 index 0000000000000000000000000000000000000000..bad1b646c923e3b9a8e91ad353281c3cc4607689 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/models_300epochs/train_20260504_174013.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b25cd4019839ccaca05dcab067fe07c9a8293c777a3e34ded19ab97c8e49e17 +size 620 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/models_300epochs/tvae_300epochs.pt b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/models_300epochs/tvae_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..08961776a4f44dbaf6745845c6423443d3fbed2b --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/models_300epochs/tvae_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6cb2b979aca8616d64810c710e8de8e8ca165a0d1117a54c4bc6ba60ff36a79 +size 344876 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..689b1d00d96508e44ba40e58dc4560e19afc2b3b --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/public_gate/public_gate_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..2e4cdcb2a4e28e40d59b17a83e773f622b7636a5 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/public_gate/staged_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..663ecf4e842af7f358042d1ff125793c36e9c902 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/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_174013/run_config.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/run_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6a076fb31e3df33d38747e4d6395e6be885e9eb4 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/run_config.json @@ -0,0 +1,45 @@ +{ + "schema_version": 1, + "recorded_at": "2026-05-04T17:40:13", + "dataset_id": "c2", + "model": "tvae", + "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013", + "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_174013/models_300epochs/tvae_300epochs.pt", + "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/tvae-c2-1382-20260504_174029.csv" + }, + "input_artifacts": { + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/public_gate/public_gate_report.json", + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/public_gate/staged_input_manifest.json", + "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/tvae/model_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/train.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/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_174013/runtime_result.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..164db63b9f9a2691769a87cde6ec4207ef8d4409 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/runtime_result.json @@ -0,0 +1,27 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "run_id": "tvae-c2-20260504_174013", + "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_174013/tvae-c2-1382-20260504_174029.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/models_300epochs/tvae_300epochs.pt" + }, + "timings": { + "train": { + "started_at": "2026-05-04T17:40:13", + "ended_at": "2026-05-04T17:40:29", + "duration_sec": 16.005 + }, + "generate": { + "started_at": "2026-05-04T17:40:29", + "ended_at": "2026-05-04T17:40:34", + "duration_sec": 5.26 + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/public/staged_features.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..61783861dd5de501592f76acb0469cf3f3b2622a --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/staged/public/test.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..392a0d7189a34d8f13ecf20a99d64b03230d517c --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/staged/public/train.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..da4f4d55134eebc0e51157d0d467536371db1484 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/staged/public/val.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..af8caf7ee42524188534a3daf32996dc491952d9 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/staged/tvae/adapter_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/tvae/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..d02acf7a8d601fb7def477f25e447dc0b277dcb4 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/staged/tvae/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/tvae/adapter_transforms_applied.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/tvae/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/staged/tvae/model_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/staged/tvae/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..f400cbfa46a2b6a52c93e8ade8ad35565c6c90e7 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174013/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/tvae-c2-1382-20260504_174029.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/tvae-c2-1382-20260504_174029.csv new file mode 100644 index 0000000000000000000000000000000000000000..5c0427bc294d7b6a885a82a120413f02c0b6b483 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/tvae-c2-1382-20260504_174029.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb907028881b168202eadcc30313f4c70d0b390f379c1f64699c77c0cb5b1a23 +size 41983 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/tvae_metadata.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/tvae_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..183d627ebc98e89233655ec98c9dcbc528c4c328 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/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_174047/_tvae_generate.py b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/_tvae_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..54301febcfdbada05a2cc11f3d8302fc4c95abfa --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/_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_174047/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_174047/tvae-c2-1382-20260504_174104.csv", index=False) +print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/tvae-c2-1382-20260504_174104.csv") diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/_tvae_train.py b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/_tvae_train.py new file mode 100644 index 0000000000000000000000000000000000000000..975f46af9bc9246f533df0df46150305c2b5913d --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/_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_174047/staged/public/train.csv" +meta_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/tvae_metadata.json" +save_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/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_174047/gen_20260504_174104.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/gen_20260504_174104.log new file mode 100644 index 0000000000000000000000000000000000000000..03b14e21e7e199bc2f26331ac5842f0dc60facd4 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/gen_20260504_174104.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:084af1bcbd34d4f755a09dd9ffbc4cce57069fbb7bbb8c8eff2ae22b9d3e7a7a +size 404 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/input_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..9e28a5421f2176e174a0659e66a40054269fb2ac --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/models_300epochs/train_20260504_174047.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/models_300epochs/train_20260504_174047.log new file mode 100644 index 0000000000000000000000000000000000000000..dcae6ce961bfa13c10a2b5cf75c07f435593295b --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/models_300epochs/train_20260504_174047.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30a727c05f092232ce9b947d1ef769919085dd8c762c2eae3492cb27950a2802 +size 620 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/models_300epochs/tvae_300epochs.pt b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/models_300epochs/tvae_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..037655d3c719ce686f316a15170097bcd4082671 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/models_300epochs/tvae_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e86ebfc162121c60718157c90bdb1625acba8d2b170c086a6eaa4a3f9adc47eb +size 344812 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..689b1d00d96508e44ba40e58dc4560e19afc2b3b --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/public_gate/public_gate_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..2e4cdcb2a4e28e40d59b17a83e773f622b7636a5 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/public_gate/staged_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..735b63a84685350d1026e3b103616fca33b64d1c --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/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_174047/run_config.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/run_config.json new file mode 100644 index 0000000000000000000000000000000000000000..eb699b6178b4fec97d70cffefc82f29ebab21fa4 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/run_config.json @@ -0,0 +1,45 @@ +{ + "schema_version": 1, + "recorded_at": "2026-05-04T17:40:47", + "dataset_id": "c2", + "model": "tvae", + "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047", + "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_174047/models_300epochs/tvae_300epochs.pt", + "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/tvae-c2-1382-20260504_174104.csv" + }, + "input_artifacts": { + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/public_gate/public_gate_report.json", + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/public_gate/staged_input_manifest.json", + "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/tvae/model_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/public/train.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/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_174047/runtime_result.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..a409396bf2280e0bf0083aa37a0cbacc3c2a0c17 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/runtime_result.json @@ -0,0 +1,27 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "run_id": "tvae-c2-20260504_174047", + "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_174047/tvae-c2-1382-20260504_174104.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/models_300epochs/tvae_300epochs.pt" + }, + "timings": { + "train": { + "started_at": "2026-05-04T17:40:47", + "ended_at": "2026-05-04T17:41:04", + "duration_sec": 16.508 + }, + "generate": { + "started_at": "2026-05-04T17:41:04", + "ended_at": "2026-05-04T17:41:09", + "duration_sec": 5.213 + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/public/staged_features.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..61783861dd5de501592f76acb0469cf3f3b2622a --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/staged/public/test.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..392a0d7189a34d8f13ecf20a99d64b03230d517c --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/staged/public/train.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/public/train.csv new file mode 100644 index 0000000000000000000000000000000000000000..da4f4d55134eebc0e51157d0d467536371db1484 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/staged/public/val.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/public/val.csv new file mode 100644 index 0000000000000000000000000000000000000000..af8caf7ee42524188534a3daf32996dc491952d9 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/staged/tvae/adapter_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/tvae/adapter_report.json new file mode 100644 index 0000000000000000000000000000000000000000..06f4c95c62f7be8ab33f2428fbbeb6007bd51879 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/staged/tvae/model_input_manifest.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/tvae/adapter_transforms_applied.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/tvae/adapter_transforms_applied.json new file mode 100644 index 0000000000000000000000000000000000000000..0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/staged/tvae/model_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/staged/tvae/model_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..ee377a50c2a2c26beaa41219a40cdf526ae72890 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174047/public_gate/staged_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174047/public_gate/public_gate_report.json" +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/tvae-c2-1382-20260504_174104.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/tvae-c2-1382-20260504_174104.csv new file mode 100644 index 0000000000000000000000000000000000000000..22155eb14eab4a0343f73faaeff5b279cb5b8e30 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/tvae-c2-1382-20260504_174104.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f3d50a2af8fc7f73f7995213dac76d9a43b9b386a2008e9b0c6dc02b8446f65 +size 41450 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/tvae_metadata.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/tvae_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..183d627ebc98e89233655ec98c9dcbc528c4c328 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174047/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_174121/_tvae_generate.py b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/_tvae_generate.py new file mode 100644 index 0000000000000000000000000000000000000000..ec162da85d8047a163fdaf4dcb2a5ad436a24fed --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/_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_174121/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_174121/tvae-c2-1382-20260504_174137.csv", index=False) +print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/tvae-c2-1382-20260504_174137.csv") diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/_tvae_train.py b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/_tvae_train.py new file mode 100644 index 0000000000000000000000000000000000000000..68cb971e55e8481a522d1968d1b464386b46ef56 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/_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_174121/staged/public/train.csv" +meta_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/tvae_metadata.json" +save_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/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_174121/gen_20260504_174137.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/gen_20260504_174137.log new file mode 100644 index 0000000000000000000000000000000000000000..88ffae8c24be5d2edfc2409b11cb081adb30f462 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/gen_20260504_174137.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e53e01455da4782d481bbd50839033f0111faaf92c485276e3cbd8c32d56679 +size 404 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/input_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/input_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..9e28a5421f2176e174a0659e66a40054269fb2ac --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/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_174121/models_300epochs/train_20260504_174121.log b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/models_300epochs/train_20260504_174121.log new file mode 100644 index 0000000000000000000000000000000000000000..f800cda209dfb903de878f3e788d08e76c1a6e08 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/models_300epochs/train_20260504_174121.log @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5cb02568a6f8495e6421e9264a30e3ba31dec47cfae9988a71fefea03963a2f +size 620 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/models_300epochs/tvae_300epochs.pt b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/models_300epochs/tvae_300epochs.pt new file mode 100644 index 0000000000000000000000000000000000000000..e72dfc1e14a30f9339527324998970255cefe4d6 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/models_300epochs/tvae_300epochs.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de5a76a10a2d1af3ee2f46d67f3e917ab275e457bc912df0201c440f05949b7b +size 344812 diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/public_gate/normalized_schema_snapshot.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/public_gate/normalized_schema_snapshot.json new file mode 100644 index 0000000000000000000000000000000000000000..689b1d00d96508e44ba40e58dc4560e19afc2b3b --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/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_174121/public_gate/public_gate_report.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/public_gate/public_gate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..2e4cdcb2a4e28e40d59b17a83e773f622b7636a5 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/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_174121/public_gate/staged_input_manifest.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/public_gate/staged_input_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..cbdc8394986794990476966ddf1e40c05ed5e826 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/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_174121/staged/public/train.csv", + "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/staged/public/val.csv", + "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/staged/public/test.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/staged/public/staged_features.json", + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/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_174121/run_config.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/run_config.json new file mode 100644 index 0000000000000000000000000000000000000000..e81894e726b3bc07bcc6ef203eb2627230f85dc0 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/run_config.json @@ -0,0 +1,45 @@ +{ + "schema_version": 1, + "recorded_at": "2026-05-04T17:41:21", + "dataset_id": "c2", + "model": "tvae", + "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121", + "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_174121/models_300epochs/tvae_300epochs.pt", + "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/tvae-c2-1382-20260504_174137.csv" + }, + "input_artifacts": { + "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/public_gate/public_gate_report.json", + "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/public_gate/staged_input_manifest.json", + "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/staged/tvae/model_input_manifest.json", + "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/staged/public/train.csv", + "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/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_174121/runtime_result.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/runtime_result.json new file mode 100644 index 0000000000000000000000000000000000000000..ae08bccde264898fc9c9617de2a738e0dca29f69 --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/runtime_result.json @@ -0,0 +1,27 @@ +{ + "dataset_id": "c2", + "model": "tvae", + "run_id": "tvae-c2-20260504_174121", + "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_174121/tvae-c2-1382-20260504_174137.csv", + "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174121/models_300epochs/tvae_300epochs.pt" + }, + "timings": { + "train": { + "started_at": "2026-05-04T17:41:21", + "ended_at": "2026-05-04T17:41:37", + "duration_sec": 15.662 + }, + "generate": { + "started_at": "2026-05-04T17:41:37", + "ended_at": "2026-05-04T17:41:42", + "duration_sec": 5.043 + } + } +} \ No newline at end of file diff --git a/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/staged/public/staged_features.json b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/staged/public/staged_features.json new file mode 100644 index 0000000000000000000000000000000000000000..61783861dd5de501592f76acb0469cf3f3b2622a --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/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_174121/staged/public/test.csv b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/staged/public/test.csv new file mode 100644 index 0000000000000000000000000000000000000000..392a0d7189a34d8f13ecf20a99d64b03230d517c --- /dev/null +++ b/SynthData0523/main/c2/tvae/tvae-c2-20260504_174121/staged/public/test.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73 +size 5273