TabQueryBench commited on
Commit
c0e4dca
·
verified ·
1 Parent(s): 62bb748

Resume SynthData0523 main/c2 batch 23

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +30 -0
  2. SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/val.csv +3 -0
  3. SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/tabsyn/adapter_report.json +7 -0
  4. SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/tabsyn/adapter_transforms_applied.json +1 -0
  5. SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/tabsyn/model_input_manifest.json +151 -0
  6. SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/synthetic/tabsyn_c2/real.csv +3 -0
  7. SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/synthetic/tabsyn_c2/test.csv +3 -0
  8. SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/tabsyn-c2-1382-20260501_060640.csv +3 -0
  9. SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/train_20260501_054336.log +3 -0
  10. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/_tvae_generate.py +23 -0
  11. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/_tvae_train.py +30 -0
  12. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/gen_20260501_060709.log +3 -0
  13. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/input_snapshot.json +3 -0
  14. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/models_300epochs/train_20260501_060652.log +3 -0
  15. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/models_300epochs/tvae_300epochs.pt +3 -0
  16. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/normalized_schema_snapshot.json +3 -0
  17. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/public_gate_report.json +3 -0
  18. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/staged_input_manifest.json +3 -0
  19. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/runtime_result.json +3 -0
  20. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/staged_features.json +3 -0
  21. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/test.csv +3 -0
  22. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/train.csv +3 -0
  23. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/val.csv +3 -0
  24. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/adapter_report.json +3 -0
  25. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/adapter_transforms_applied.json +3 -0
  26. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/model_input_manifest.json +3 -0
  27. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/tvae-c2-1382-20260501_060709.csv +3 -0
  28. SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/tvae_metadata.json +3 -0
  29. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/_tvae_generate.py +23 -0
  30. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/_tvae_train.py +30 -0
  31. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/gen_20260504_173024.log +3 -0
  32. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/input_snapshot.json +36 -0
  33. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/models_300epochs/train_20260504_173008.log +3 -0
  34. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/models_300epochs/tvae_300epochs.pt +3 -0
  35. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/public_gate/normalized_schema_snapshot.json +144 -0
  36. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/public_gate/public_gate_report.json +37 -0
  37. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/public_gate/staged_input_manifest.json +149 -0
  38. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/run_config.json +40 -0
  39. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/runtime_result.json +27 -0
  40. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/staged_features.json +37 -0
  41. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/test.csv +3 -0
  42. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/train.csv +3 -0
  43. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/val.csv +3 -0
  44. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/tvae/adapter_report.json +7 -0
  45. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/tvae/adapter_transforms_applied.json +1 -0
  46. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/tvae/model_input_manifest.json +151 -0
  47. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/tvae-c2-1382-20260504_173024.csv +3 -0
  48. SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/tvae_metadata.json +32 -0
  49. SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/_tvae_generate.py +23 -0
  50. SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/_tvae_train.py +39 -0
.gitattributes CHANGED
@@ -3862,3 +3862,33 @@ SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/data/tabsyn_c2/y_train.np
3862
  SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/gen_20260501_060640.log filter=lfs diff=lfs merge=lfs -text
3863
  SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text
3864
  SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3862
  SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/gen_20260501_060640.log filter=lfs diff=lfs merge=lfs -text
3863
  SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text
3864
  SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text
3865
+ SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text
3866
+ SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/synthetic/tabsyn_c2/real.csv filter=lfs diff=lfs merge=lfs -text
3867
+ SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/synthetic/tabsyn_c2/test.csv filter=lfs diff=lfs merge=lfs -text
3868
+ SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/tabsyn-c2-1382-20260501_060640.csv filter=lfs diff=lfs merge=lfs -text
3869
+ SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/train_20260501_054336.log filter=lfs diff=lfs merge=lfs -text
3870
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/gen_20260501_060709.log filter=lfs diff=lfs merge=lfs -text
3871
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/input_snapshot.json filter=lfs diff=lfs merge=lfs -text
3872
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/models_300epochs/train_20260501_060652.log filter=lfs diff=lfs merge=lfs -text
3873
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text
3874
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/normalized_schema_snapshot.json filter=lfs diff=lfs merge=lfs -text
3875
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/public_gate_report.json filter=lfs diff=lfs merge=lfs -text
3876
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/staged_input_manifest.json filter=lfs diff=lfs merge=lfs -text
3877
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/runtime_result.json filter=lfs diff=lfs merge=lfs -text
3878
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/staged_features.json filter=lfs diff=lfs merge=lfs -text
3879
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text
3880
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text
3881
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text
3882
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/adapter_report.json filter=lfs diff=lfs merge=lfs -text
3883
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/adapter_transforms_applied.json filter=lfs diff=lfs merge=lfs -text
3884
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/model_input_manifest.json filter=lfs diff=lfs merge=lfs -text
3885
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/tvae-c2-1382-20260501_060709.csv filter=lfs diff=lfs merge=lfs -text
3886
+ SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/tvae_metadata.json filter=lfs diff=lfs merge=lfs -text
3887
+ SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/gen_20260504_173024.log filter=lfs diff=lfs merge=lfs -text
3888
+ SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/models_300epochs/train_20260504_173008.log filter=lfs diff=lfs merge=lfs -text
3889
+ SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/models_300epochs/tvae_300epochs.pt filter=lfs diff=lfs merge=lfs -text
3890
+ SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/test.csv filter=lfs diff=lfs merge=lfs -text
3891
+ SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/train.csv filter=lfs diff=lfs merge=lfs -text
3892
+ SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/val.csv filter=lfs diff=lfs merge=lfs -text
3893
+ SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/tvae-c2-1382-20260504_173024.csv filter=lfs diff=lfs merge=lfs -text
3894
+ SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/gen_20260504_174029.log filter=lfs diff=lfs merge=lfs -text
SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01
3
+ size 5176
SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/tabsyn/adapter_report.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "adapter_ready_status": "pass",
3
+ "adapter_fail_reason_code": null,
4
+ "adapter_fail_detail": null,
5
+ "adapter_transforms_applied": [],
6
+ "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tabsyn/tabsyn-c2-20260501_054336/staged/tabsyn/model_input_manifest.json"
7
+ }
SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/tabsyn/adapter_transforms_applied.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/staged/tabsyn/model_input_manifest.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c2",
3
+ "model": "tabsyn",
4
+ "target_column": "class",
5
+ "task_type": "classification",
6
+ "column_schema": [
7
+ {
8
+ "name": "buying",
9
+ "role": "feature",
10
+ "semantic_type": "categorical",
11
+ "nullable": false,
12
+ "missing_tokens": [],
13
+ "parse_format": null,
14
+ "impute_strategy": "mode",
15
+ "profile_stats": {
16
+ "missing_rate": 0.0,
17
+ "unique_count": 4,
18
+ "unique_ratio": 0.002894,
19
+ "example_values": [
20
+ "vhigh",
21
+ "med",
22
+ "high",
23
+ "low"
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ "name": "maint",
29
+ "role": "feature",
30
+ "semantic_type": "categorical",
31
+ "nullable": false,
32
+ "missing_tokens": [],
33
+ "parse_format": null,
34
+ "impute_strategy": "mode",
35
+ "profile_stats": {
36
+ "missing_rate": 0.0,
37
+ "unique_count": 4,
38
+ "unique_ratio": 0.002894,
39
+ "example_values": [
40
+ "vhigh",
41
+ "low",
42
+ "med",
43
+ "high"
44
+ ]
45
+ }
46
+ },
47
+ {
48
+ "name": "doors",
49
+ "role": "feature",
50
+ "semantic_type": "categorical",
51
+ "nullable": false,
52
+ "missing_tokens": [],
53
+ "parse_format": null,
54
+ "impute_strategy": "mode",
55
+ "profile_stats": {
56
+ "missing_rate": 0.0,
57
+ "unique_count": 4,
58
+ "unique_ratio": 0.002894,
59
+ "example_values": [
60
+ "2",
61
+ "5more",
62
+ "3",
63
+ "4"
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "name": "persons",
69
+ "role": "feature",
70
+ "semantic_type": "categorical",
71
+ "nullable": false,
72
+ "missing_tokens": [],
73
+ "parse_format": null,
74
+ "impute_strategy": "mode",
75
+ "profile_stats": {
76
+ "missing_rate": 0.0,
77
+ "unique_count": 3,
78
+ "unique_ratio": 0.002171,
79
+ "example_values": [
80
+ "2",
81
+ "4",
82
+ "more"
83
+ ]
84
+ }
85
+ },
86
+ {
87
+ "name": "lug_boot",
88
+ "role": "feature",
89
+ "semantic_type": "categorical",
90
+ "nullable": false,
91
+ "missing_tokens": [],
92
+ "parse_format": null,
93
+ "impute_strategy": "mode",
94
+ "profile_stats": {
95
+ "missing_rate": 0.0,
96
+ "unique_count": 3,
97
+ "unique_ratio": 0.002171,
98
+ "example_values": [
99
+ "small",
100
+ "big",
101
+ "med"
102
+ ]
103
+ }
104
+ },
105
+ {
106
+ "name": "safety",
107
+ "role": "feature",
108
+ "semantic_type": "categorical",
109
+ "nullable": false,
110
+ "missing_tokens": [],
111
+ "parse_format": null,
112
+ "impute_strategy": "mode",
113
+ "profile_stats": {
114
+ "missing_rate": 0.0,
115
+ "unique_count": 3,
116
+ "unique_ratio": 0.002171,
117
+ "example_values": [
118
+ "low",
119
+ "high",
120
+ "med"
121
+ ]
122
+ }
123
+ },
124
+ {
125
+ "name": "class",
126
+ "role": "target",
127
+ "semantic_type": "categorical",
128
+ "nullable": false,
129
+ "missing_tokens": [],
130
+ "parse_format": null,
131
+ "impute_strategy": "mode",
132
+ "profile_stats": {
133
+ "missing_rate": 0.0,
134
+ "unique_count": 4,
135
+ "unique_ratio": 0.002894,
136
+ "example_values": [
137
+ "unacc",
138
+ "good",
139
+ "acc",
140
+ "vgood"
141
+ ]
142
+ }
143
+ }
144
+ ],
145
+ "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tabsyn/tabsyn-c2-20260501_054336/public_gate/staged_input_manifest.json",
146
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/train.csv",
147
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/val.csv",
148
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/test.csv",
149
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tabsyn/tabsyn-c2-20260501_054336/staged/public/staged_features.json",
150
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tabsyn/tabsyn-c2-20260501_054336/public_gate/public_gate_report.json"
151
+ }
SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/synthetic/tabsyn_c2/real.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e7b4d4a1f787d81e53eddffbd43603149e1dd038d94b4c0244340ff4a2e4511
3
+ size 19397
SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/synthetic/tabsyn_c2/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e7b4d4a1f787d81e53eddffbd43603149e1dd038d94b4c0244340ff4a2e4511
3
+ size 19397
SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/tabsyn-c2-1382-20260501_060640.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2afabda24cfd6511735e2c376c97c1593ce80d5ef5a5185cdfe71b3a4a118000
3
+ size 40220
SynthData0523/main/c2/tabsyn/tabsyn-c2-20260501_054336/train_20260501_054336.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e99c585306f1279128b0848854ae012c2e21c5df40f4520a77ffe1a85bb733a
3
+ size 2086454
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/_tvae_generate.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os, sys
2
+ sys.path.insert(0, "/work")
3
+ from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env
4
+ apply_parallel_cap_from_env()
5
+ from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fix
6
+ apply_ctgan_inverse_fix()
7
+ import pandas as pd
8
+ from ctgan.synthesizers.tvae import TVAE
9
+ os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8")
10
+ os.environ.setdefault("OPENBLAS_NUM_THREADS", "8")
11
+ os.environ.setdefault("MKL_NUM_THREADS", "8")
12
+ model = TVAE.load("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260501_060652/models_300epochs/tvae_300epochs.pt")
13
+ total = 1382
14
+ chunk = min(50000, total) if total > 50000 else total
15
+ parts = []
16
+ left = total
17
+ while left > 0:
18
+ take = min(chunk, left)
19
+ parts.append(model.sample(take))
20
+ left -= take
21
+ samples = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]
22
+ samples.to_csv("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260501_060652/tvae-c2-1382-20260501_060709.csv", index=False)
23
+ print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260501_060652/tvae-c2-1382-20260501_060709.csv")
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/_tvae_train.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json, os, sys
2
+ sys.path.insert(0, "/work")
3
+ from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env
4
+ apply_parallel_cap_from_env()
5
+ import pandas as pd
6
+ from ctgan.data import read_csv
7
+ from ctgan.synthesizers.tvae import TVAE
8
+
9
+ # Keep transform stage parallelism bounded for stability on shared host.
10
+ os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8")
11
+ os.environ.setdefault("OPENBLAS_NUM_THREADS", "8")
12
+ os.environ.setdefault("MKL_NUM_THREADS", "8")
13
+ _nj = (os.environ.get("TVAE_CTGAN_JOBTRANS_N_JOBS") or "").strip()
14
+ if _nj:
15
+ print("[TVAE] joblib Parallel cap ON, TVAE_CTGAN_JOBTRANS_N_JOBS=" + _nj)
16
+ else:
17
+ print("[TVAE] joblib Parallel cap OFF (unset TVAE_CTGAN_JOBTRANS_N_JOBS)")
18
+ print("[TVAE] LOKY_MAX_CPU_COUNT=" + str(os.environ.get("LOKY_MAX_CPU_COUNT", "")))
19
+
20
+ csv_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260501_060652/staged/public/train.csv"
21
+ meta_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260501_060652/tvae_metadata.json"
22
+ save_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260501_060652/models_300epochs/tvae_300epochs.pt"
23
+ epochs = 300
24
+
25
+ data, discrete_columns = read_csv(csv_path, meta_path, header=True, discrete=None)
26
+ print(f"[TVAE] Training on {len(data)} rows, {len(data.columns)} cols, epochs={epochs}")
27
+ model = TVAE(epochs=epochs, batch_size=500)
28
+ model.fit(data, discrete_columns)
29
+ model.save(save_path)
30
+ print(f"[TVAE] Model saved -> {save_path}")
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/gen_20260501_060709.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:811a90c82a00a2453464da6ac5fc4ab320e6647e8228f8cec6951bd6f380b484
3
+ size 404
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:312db5b6cbb94923c8ad75e1540b44497286257503a0a69e724cffe3276247d8
3
+ size 1340
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/models_300epochs/train_20260501_060652.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c85525e2a454b9c93bb4128e261000b45ec90958e4758d80a0e77a9d772ece2e
3
+ size 531
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/models_300epochs/tvae_300epochs.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3a0d83f23a59f1dd860e3ef1c7fd7e17bf189a4f5b79f6078b43dbbe8d01dd6
3
+ size 344876
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a63ea2091eccf0145444f670415e7201dbdd052bc2ddabdc4241f6f16bdcf0a0
3
+ size 3153
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdc8c14ffce6055ca726f7949b2900c4ba619b670f8fc63c61328c24e4c46c66
3
+ size 912
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20e5fa55753bde0cd4ff2b52b1ffd4f27b1676c6d80746ceb0f653fc1e538259
3
+ size 3929
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0f27756195564a22238b07287b1b1d52053d96519b5597d44fc09738648d18c
3
+ size 894
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37511511f1d7cb0e004f9d7305c900644ebefe672c9a1a418c1f29b36786fabd
3
+ size 659
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73
3
+ size 5273
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434dd
3
+ size 41565
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01
3
+ size 5176
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f63c4ac0926e0c8e109a9daee966333ed1de7839a3df1fb57209209ecceca6f3
3
+ size 312
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/adapter_transforms_applied.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
3
+ size 2
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/staged/tvae/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7f1f46e0893532bf06da0b5419d6186b1ebbf5757e6dbfd4f5924179e7e6517
3
+ size 4117
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/tvae-c2-1382-20260501_060709.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0623ee3f26117b60c69a602520884727739b320db35033d330e1b1415a4d8469
3
+ size 41504
SynthData0523/main/c2/tvae/tvae-c2-20260501_060652/tvae_metadata.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3281d50afec388c98ae73df59e56f82e3d46f7f968df0f491e9451aed70de6e
3
+ size 476
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/_tvae_generate.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os, sys
2
+ sys.path.insert(0, "/work")
3
+ from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env
4
+ apply_parallel_cap_from_env()
5
+ from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fix
6
+ apply_ctgan_inverse_fix()
7
+ import pandas as pd
8
+ from ctgan.synthesizers.tvae import TVAE
9
+ os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8")
10
+ os.environ.setdefault("OPENBLAS_NUM_THREADS", "8")
11
+ os.environ.setdefault("MKL_NUM_THREADS", "8")
12
+ model = TVAE.load("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/models_300epochs/tvae_300epochs.pt")
13
+ total = 1382
14
+ chunk = min(50000, total) if total > 50000 else total
15
+ parts = []
16
+ left = total
17
+ while left > 0:
18
+ take = min(chunk, left)
19
+ parts.append(model.sample(take))
20
+ left -= take
21
+ samples = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]
22
+ samples.to_csv("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/tvae-c2-1382-20260504_173024.csv", index=False)
23
+ print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/tvae-c2-1382-20260504_173024.csv")
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/_tvae_train.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json, os, sys
2
+ sys.path.insert(0, "/work")
3
+ from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env
4
+ apply_parallel_cap_from_env()
5
+ import pandas as pd
6
+ from ctgan.data import read_csv
7
+ from ctgan.synthesizers.tvae import TVAE
8
+
9
+ # Keep transform stage parallelism bounded for stability on shared host.
10
+ os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8")
11
+ os.environ.setdefault("OPENBLAS_NUM_THREADS", "8")
12
+ os.environ.setdefault("MKL_NUM_THREADS", "8")
13
+ _nj = (os.environ.get("TVAE_CTGAN_JOBTRANS_N_JOBS") or "").strip()
14
+ if _nj:
15
+ print("[TVAE] joblib Parallel cap ON, TVAE_CTGAN_JOBTRANS_N_JOBS=" + _nj)
16
+ else:
17
+ print("[TVAE] joblib Parallel cap OFF (unset TVAE_CTGAN_JOBTRANS_N_JOBS)")
18
+ print("[TVAE] LOKY_MAX_CPU_COUNT=" + str(os.environ.get("LOKY_MAX_CPU_COUNT", "")))
19
+
20
+ csv_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/train.csv"
21
+ meta_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/tvae_metadata.json"
22
+ save_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/models_300epochs/tvae_300epochs.pt"
23
+ epochs = 300
24
+
25
+ data, discrete_columns = read_csv(csv_path, meta_path, header=True, discrete=None)
26
+ print(f"[TVAE] Training on {len(data)} rows, {len(data.columns)} cols, epochs={epochs}")
27
+ model = TVAE(epochs=epochs, batch_size=500)
28
+ model.fit(data, discrete_columns)
29
+ model.save(save_path)
30
+ print(f"[TVAE] Model saved -> {save_path}")
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/gen_20260504_173024.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c250d16c78bb78776dfd39677e43fa301524a14766e56dfb776757716b41ad3c
3
+ size 404
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/input_snapshot.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c2",
3
+ "model": "tvae",
4
+ "inputs": {
5
+ "train_csv": {
6
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv",
7
+ "exists": true,
8
+ "size": 42948,
9
+ "sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def"
10
+ },
11
+ "val_csv": {
12
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv",
13
+ "exists": true,
14
+ "size": 5349,
15
+ "sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9"
16
+ },
17
+ "test_csv": {
18
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv",
19
+ "exists": true,
20
+ "size": 5448,
21
+ "sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a"
22
+ },
23
+ "profile_json": {
24
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json",
25
+ "exists": true,
26
+ "size": 3240,
27
+ "sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b"
28
+ },
29
+ "contract_json": {
30
+ "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json",
31
+ "exists": true,
32
+ "size": 3731,
33
+ "sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009"
34
+ }
35
+ }
36
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/models_300epochs/train_20260504_173008.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1c352ed86bd6646a32996cf14ef89e36f1c70492c504f33136461af759d97f8
3
+ size 531
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/models_300epochs/tvae_300epochs.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:359d4ce6570b67da168f59f79a24d6afcc861aaf7416c29c0ad54e031827ea1b
3
+ size 344876
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c2",
3
+ "target_column": "class",
4
+ "task_type": "classification",
5
+ "columns": [
6
+ {
7
+ "name": "buying",
8
+ "role": "feature",
9
+ "semantic_type": "categorical",
10
+ "nullable": false,
11
+ "missing_tokens": [],
12
+ "parse_format": null,
13
+ "impute_strategy": "mode",
14
+ "profile_stats": {
15
+ "missing_rate": 0.0,
16
+ "unique_count": 4,
17
+ "unique_ratio": 0.002894,
18
+ "example_values": [
19
+ "vhigh",
20
+ "med",
21
+ "high",
22
+ "low"
23
+ ]
24
+ }
25
+ },
26
+ {
27
+ "name": "maint",
28
+ "role": "feature",
29
+ "semantic_type": "categorical",
30
+ "nullable": false,
31
+ "missing_tokens": [],
32
+ "parse_format": null,
33
+ "impute_strategy": "mode",
34
+ "profile_stats": {
35
+ "missing_rate": 0.0,
36
+ "unique_count": 4,
37
+ "unique_ratio": 0.002894,
38
+ "example_values": [
39
+ "vhigh",
40
+ "low",
41
+ "med",
42
+ "high"
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "name": "doors",
48
+ "role": "feature",
49
+ "semantic_type": "categorical",
50
+ "nullable": false,
51
+ "missing_tokens": [],
52
+ "parse_format": null,
53
+ "impute_strategy": "mode",
54
+ "profile_stats": {
55
+ "missing_rate": 0.0,
56
+ "unique_count": 4,
57
+ "unique_ratio": 0.002894,
58
+ "example_values": [
59
+ "2",
60
+ "5more",
61
+ "3",
62
+ "4"
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "name": "persons",
68
+ "role": "feature",
69
+ "semantic_type": "categorical",
70
+ "nullable": false,
71
+ "missing_tokens": [],
72
+ "parse_format": null,
73
+ "impute_strategy": "mode",
74
+ "profile_stats": {
75
+ "missing_rate": 0.0,
76
+ "unique_count": 3,
77
+ "unique_ratio": 0.002171,
78
+ "example_values": [
79
+ "2",
80
+ "4",
81
+ "more"
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "name": "lug_boot",
87
+ "role": "feature",
88
+ "semantic_type": "categorical",
89
+ "nullable": false,
90
+ "missing_tokens": [],
91
+ "parse_format": null,
92
+ "impute_strategy": "mode",
93
+ "profile_stats": {
94
+ "missing_rate": 0.0,
95
+ "unique_count": 3,
96
+ "unique_ratio": 0.002171,
97
+ "example_values": [
98
+ "small",
99
+ "big",
100
+ "med"
101
+ ]
102
+ }
103
+ },
104
+ {
105
+ "name": "safety",
106
+ "role": "feature",
107
+ "semantic_type": "categorical",
108
+ "nullable": false,
109
+ "missing_tokens": [],
110
+ "parse_format": null,
111
+ "impute_strategy": "mode",
112
+ "profile_stats": {
113
+ "missing_rate": 0.0,
114
+ "unique_count": 3,
115
+ "unique_ratio": 0.002171,
116
+ "example_values": [
117
+ "low",
118
+ "high",
119
+ "med"
120
+ ]
121
+ }
122
+ },
123
+ {
124
+ "name": "class",
125
+ "role": "target",
126
+ "semantic_type": "categorical",
127
+ "nullable": false,
128
+ "missing_tokens": [],
129
+ "parse_format": null,
130
+ "impute_strategy": "mode",
131
+ "profile_stats": {
132
+ "missing_rate": 0.0,
133
+ "unique_count": 4,
134
+ "unique_ratio": 0.002894,
135
+ "example_values": [
136
+ "unacc",
137
+ "good",
138
+ "acc",
139
+ "vgood"
140
+ ]
141
+ }
142
+ }
143
+ ]
144
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c2",
3
+ "status": "pass",
4
+ "checks": [
5
+ {
6
+ "check_id": "PG001_csv_parse_ok",
7
+ "status": "pass"
8
+ },
9
+ {
10
+ "check_id": "PG002_split_header_consistent",
11
+ "status": "pass"
12
+ },
13
+ {
14
+ "check_id": "PG003_profile_header_match",
15
+ "status": "pass"
16
+ },
17
+ {
18
+ "check_id": "PG004_missing_token_normalized",
19
+ "status": "pass"
20
+ },
21
+ {
22
+ "check_id": "PG005_semantic_type_validated",
23
+ "status": "pass"
24
+ },
25
+ {
26
+ "check_id": "PG006_target_defined_and_valid",
27
+ "status": "pass"
28
+ }
29
+ ],
30
+ "target_column": "class",
31
+ "task_type": "classification",
32
+ "input_splits": {
33
+ "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv",
34
+ "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv",
35
+ "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv"
36
+ }
37
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c2",
3
+ "target_column": "class",
4
+ "task_type": "classification",
5
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/train.csv",
6
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/val.csv",
7
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/test.csv",
8
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/staged_features.json",
9
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/public_gate/public_gate_report.json",
10
+ "column_schema": [
11
+ {
12
+ "name": "buying",
13
+ "role": "feature",
14
+ "semantic_type": "categorical",
15
+ "nullable": false,
16
+ "missing_tokens": [],
17
+ "parse_format": null,
18
+ "impute_strategy": "mode",
19
+ "profile_stats": {
20
+ "missing_rate": 0.0,
21
+ "unique_count": 4,
22
+ "unique_ratio": 0.002894,
23
+ "example_values": [
24
+ "vhigh",
25
+ "med",
26
+ "high",
27
+ "low"
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "name": "maint",
33
+ "role": "feature",
34
+ "semantic_type": "categorical",
35
+ "nullable": false,
36
+ "missing_tokens": [],
37
+ "parse_format": null,
38
+ "impute_strategy": "mode",
39
+ "profile_stats": {
40
+ "missing_rate": 0.0,
41
+ "unique_count": 4,
42
+ "unique_ratio": 0.002894,
43
+ "example_values": [
44
+ "vhigh",
45
+ "low",
46
+ "med",
47
+ "high"
48
+ ]
49
+ }
50
+ },
51
+ {
52
+ "name": "doors",
53
+ "role": "feature",
54
+ "semantic_type": "categorical",
55
+ "nullable": false,
56
+ "missing_tokens": [],
57
+ "parse_format": null,
58
+ "impute_strategy": "mode",
59
+ "profile_stats": {
60
+ "missing_rate": 0.0,
61
+ "unique_count": 4,
62
+ "unique_ratio": 0.002894,
63
+ "example_values": [
64
+ "2",
65
+ "5more",
66
+ "3",
67
+ "4"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "name": "persons",
73
+ "role": "feature",
74
+ "semantic_type": "categorical",
75
+ "nullable": false,
76
+ "missing_tokens": [],
77
+ "parse_format": null,
78
+ "impute_strategy": "mode",
79
+ "profile_stats": {
80
+ "missing_rate": 0.0,
81
+ "unique_count": 3,
82
+ "unique_ratio": 0.002171,
83
+ "example_values": [
84
+ "2",
85
+ "4",
86
+ "more"
87
+ ]
88
+ }
89
+ },
90
+ {
91
+ "name": "lug_boot",
92
+ "role": "feature",
93
+ "semantic_type": "categorical",
94
+ "nullable": false,
95
+ "missing_tokens": [],
96
+ "parse_format": null,
97
+ "impute_strategy": "mode",
98
+ "profile_stats": {
99
+ "missing_rate": 0.0,
100
+ "unique_count": 3,
101
+ "unique_ratio": 0.002171,
102
+ "example_values": [
103
+ "small",
104
+ "big",
105
+ "med"
106
+ ]
107
+ }
108
+ },
109
+ {
110
+ "name": "safety",
111
+ "role": "feature",
112
+ "semantic_type": "categorical",
113
+ "nullable": false,
114
+ "missing_tokens": [],
115
+ "parse_format": null,
116
+ "impute_strategy": "mode",
117
+ "profile_stats": {
118
+ "missing_rate": 0.0,
119
+ "unique_count": 3,
120
+ "unique_ratio": 0.002171,
121
+ "example_values": [
122
+ "low",
123
+ "high",
124
+ "med"
125
+ ]
126
+ }
127
+ },
128
+ {
129
+ "name": "class",
130
+ "role": "target",
131
+ "semantic_type": "categorical",
132
+ "nullable": false,
133
+ "missing_tokens": [],
134
+ "parse_format": null,
135
+ "impute_strategy": "mode",
136
+ "profile_stats": {
137
+ "missing_rate": 0.0,
138
+ "unique_count": 4,
139
+ "unique_ratio": 0.002894,
140
+ "example_values": [
141
+ "unacc",
142
+ "good",
143
+ "acc",
144
+ "vgood"
145
+ ]
146
+ }
147
+ }
148
+ ]
149
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/run_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "recorded_at": "2026-05-04T17:30:08",
4
+ "dataset_id": "c2",
5
+ "model": "tvae",
6
+ "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008",
7
+ "dataset_source_requested": "new",
8
+ "dataset_source_resolved": "new",
9
+ "cli_args": {
10
+ "model": "tvae",
11
+ "dataset": "c2",
12
+ "dataset_source": "new",
13
+ "train": true,
14
+ "generate": true,
15
+ "num_rows": 0,
16
+ "epochs": null,
17
+ "output_dir": null,
18
+ "model_dir": null,
19
+ "work_dir": null,
20
+ "resume": false,
21
+ "no_stats": false
22
+ },
23
+ "resolved": {
24
+ "num_rows": 1382,
25
+ "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/models_300epochs/tvae_300epochs.pt",
26
+ "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/tvae-c2-1382-20260504_173024.csv"
27
+ },
28
+ "input_artifacts": {
29
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/public_gate/public_gate_report.json",
30
+ "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/public_gate/staged_input_manifest.json",
31
+ "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/tvae/model_input_manifest.json",
32
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/train.csv",
33
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/staged_features.json",
34
+ "target_column": "class",
35
+ "task_type": "classification"
36
+ },
37
+ "env_overrides": {
38
+ "BENCHMARK_TVAE_GPUS": "device=3"
39
+ }
40
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/runtime_result.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c2",
3
+ "model": "tvae",
4
+ "run_id": "tvae-c2-20260504_173008",
5
+ "public_gate_status": "pass",
6
+ "adapter_ready_status": "pass",
7
+ "train_status": "success",
8
+ "generate_status": "success",
9
+ "reason_code": null,
10
+ "reason_detail": null,
11
+ "artifacts": {
12
+ "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/tvae-c2-1382-20260504_173024.csv",
13
+ "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/models_300epochs/tvae_300epochs.pt"
14
+ },
15
+ "timings": {
16
+ "train": {
17
+ "started_at": "2026-05-04T17:30:08",
18
+ "ended_at": "2026-05-04T17:30:24",
19
+ "duration_sec": 15.956
20
+ },
21
+ "generate": {
22
+ "started_at": "2026-05-04T17:30:24",
23
+ "ended_at": "2026-05-04T17:30:30",
24
+ "duration_sec": 5.259
25
+ }
26
+ }
27
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/staged_features.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "feature_name": "buying",
4
+ "data_type": "categorical",
5
+ "is_target": false
6
+ },
7
+ {
8
+ "feature_name": "maint",
9
+ "data_type": "categorical",
10
+ "is_target": false
11
+ },
12
+ {
13
+ "feature_name": "doors",
14
+ "data_type": "categorical",
15
+ "is_target": false
16
+ },
17
+ {
18
+ "feature_name": "persons",
19
+ "data_type": "categorical",
20
+ "is_target": false
21
+ },
22
+ {
23
+ "feature_name": "lug_boot",
24
+ "data_type": "categorical",
25
+ "is_target": false
26
+ },
27
+ {
28
+ "feature_name": "safety",
29
+ "data_type": "categorical",
30
+ "is_target": false
31
+ },
32
+ {
33
+ "feature_name": "class",
34
+ "data_type": "categorical",
35
+ "is_target": true
36
+ }
37
+ ]
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73
3
+ size 5273
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434dd
3
+ size 41565
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01
3
+ size 5176
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/tvae/adapter_report.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "adapter_ready_status": "pass",
3
+ "adapter_fail_reason_code": null,
4
+ "adapter_fail_detail": null,
5
+ "adapter_transforms_applied": [],
6
+ "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/tvae/model_input_manifest.json"
7
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/tvae/adapter_transforms_applied.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/staged/tvae/model_input_manifest.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "c2",
3
+ "model": "tvae",
4
+ "target_column": "class",
5
+ "task_type": "classification",
6
+ "column_schema": [
7
+ {
8
+ "name": "buying",
9
+ "role": "feature",
10
+ "semantic_type": "categorical",
11
+ "nullable": false,
12
+ "missing_tokens": [],
13
+ "parse_format": null,
14
+ "impute_strategy": "mode",
15
+ "profile_stats": {
16
+ "missing_rate": 0.0,
17
+ "unique_count": 4,
18
+ "unique_ratio": 0.002894,
19
+ "example_values": [
20
+ "vhigh",
21
+ "med",
22
+ "high",
23
+ "low"
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ "name": "maint",
29
+ "role": "feature",
30
+ "semantic_type": "categorical",
31
+ "nullable": false,
32
+ "missing_tokens": [],
33
+ "parse_format": null,
34
+ "impute_strategy": "mode",
35
+ "profile_stats": {
36
+ "missing_rate": 0.0,
37
+ "unique_count": 4,
38
+ "unique_ratio": 0.002894,
39
+ "example_values": [
40
+ "vhigh",
41
+ "low",
42
+ "med",
43
+ "high"
44
+ ]
45
+ }
46
+ },
47
+ {
48
+ "name": "doors",
49
+ "role": "feature",
50
+ "semantic_type": "categorical",
51
+ "nullable": false,
52
+ "missing_tokens": [],
53
+ "parse_format": null,
54
+ "impute_strategy": "mode",
55
+ "profile_stats": {
56
+ "missing_rate": 0.0,
57
+ "unique_count": 4,
58
+ "unique_ratio": 0.002894,
59
+ "example_values": [
60
+ "2",
61
+ "5more",
62
+ "3",
63
+ "4"
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "name": "persons",
69
+ "role": "feature",
70
+ "semantic_type": "categorical",
71
+ "nullable": false,
72
+ "missing_tokens": [],
73
+ "parse_format": null,
74
+ "impute_strategy": "mode",
75
+ "profile_stats": {
76
+ "missing_rate": 0.0,
77
+ "unique_count": 3,
78
+ "unique_ratio": 0.002171,
79
+ "example_values": [
80
+ "2",
81
+ "4",
82
+ "more"
83
+ ]
84
+ }
85
+ },
86
+ {
87
+ "name": "lug_boot",
88
+ "role": "feature",
89
+ "semantic_type": "categorical",
90
+ "nullable": false,
91
+ "missing_tokens": [],
92
+ "parse_format": null,
93
+ "impute_strategy": "mode",
94
+ "profile_stats": {
95
+ "missing_rate": 0.0,
96
+ "unique_count": 3,
97
+ "unique_ratio": 0.002171,
98
+ "example_values": [
99
+ "small",
100
+ "big",
101
+ "med"
102
+ ]
103
+ }
104
+ },
105
+ {
106
+ "name": "safety",
107
+ "role": "feature",
108
+ "semantic_type": "categorical",
109
+ "nullable": false,
110
+ "missing_tokens": [],
111
+ "parse_format": null,
112
+ "impute_strategy": "mode",
113
+ "profile_stats": {
114
+ "missing_rate": 0.0,
115
+ "unique_count": 3,
116
+ "unique_ratio": 0.002171,
117
+ "example_values": [
118
+ "low",
119
+ "high",
120
+ "med"
121
+ ]
122
+ }
123
+ },
124
+ {
125
+ "name": "class",
126
+ "role": "target",
127
+ "semantic_type": "categorical",
128
+ "nullable": false,
129
+ "missing_tokens": [],
130
+ "parse_format": null,
131
+ "impute_strategy": "mode",
132
+ "profile_stats": {
133
+ "missing_rate": 0.0,
134
+ "unique_count": 4,
135
+ "unique_ratio": 0.002894,
136
+ "example_values": [
137
+ "unacc",
138
+ "good",
139
+ "acc",
140
+ "vgood"
141
+ ]
142
+ }
143
+ }
144
+ ],
145
+ "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/public_gate/staged_input_manifest.json",
146
+ "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/train.csv",
147
+ "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/val.csv",
148
+ "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/test.csv",
149
+ "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/staged/public/staged_features.json",
150
+ "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_173008/public_gate/public_gate_report.json"
151
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/tvae-c2-1382-20260504_173024.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c13329eb5fa57144da4e37e2c72a488103b21bb242e3711339b259178094e71
3
+ size 41572
SynthData0523/main/c2/tvae/tvae-c2-20260504_173008/tvae_metadata.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ {
4
+ "name": "buying",
5
+ "type": "categorical"
6
+ },
7
+ {
8
+ "name": "maint",
9
+ "type": "categorical"
10
+ },
11
+ {
12
+ "name": "doors",
13
+ "type": "categorical"
14
+ },
15
+ {
16
+ "name": "persons",
17
+ "type": "categorical"
18
+ },
19
+ {
20
+ "name": "lug_boot",
21
+ "type": "categorical"
22
+ },
23
+ {
24
+ "name": "safety",
25
+ "type": "categorical"
26
+ },
27
+ {
28
+ "name": "class",
29
+ "type": "categorical"
30
+ }
31
+ ]
32
+ }
SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/_tvae_generate.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os, sys
2
+ sys.path.insert(0, "/work")
3
+ from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env
4
+ apply_parallel_cap_from_env()
5
+ from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fix
6
+ apply_ctgan_inverse_fix()
7
+ import pandas as pd
8
+ from ctgan.synthesizers.tvae import TVAE
9
+ os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8")
10
+ os.environ.setdefault("OPENBLAS_NUM_THREADS", "8")
11
+ os.environ.setdefault("MKL_NUM_THREADS", "8")
12
+ model = TVAE.load("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/models_300epochs/tvae_300epochs.pt")
13
+ total = 1382
14
+ chunk = min(50000, total) if total > 50000 else total
15
+ parts = []
16
+ left = total
17
+ while left > 0:
18
+ take = min(chunk, left)
19
+ parts.append(model.sample(take))
20
+ left -= take
21
+ samples = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]
22
+ samples.to_csv("/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/tvae-c2-1382-20260504_174029.csv", index=False)
23
+ print(f"[TVAE] Generated {total} rows (chunks={len(parts)}) -> /work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/tvae-c2-1382-20260504_174029.csv")
SynthData0523/main/c2/tvae/tvae-c2-20260504_174013/_tvae_train.py ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json, os, sys
2
+ sys.path.insert(0, "/work")
3
+ from src.SpecificModels.ctgan_joblib_parallel_cap import apply_parallel_cap_from_env
4
+ apply_parallel_cap_from_env()
5
+ import pandas as pd
6
+ from ctgan.data import read_csv
7
+ from ctgan.synthesizers.tvae import TVAE
8
+
9
+ # Keep transform stage parallelism bounded for stability on shared host.
10
+ os.environ.setdefault("LOKY_MAX_CPU_COUNT", "8")
11
+ os.environ.setdefault("OPENBLAS_NUM_THREADS", "8")
12
+ os.environ.setdefault("MKL_NUM_THREADS", "8")
13
+ _nj = (os.environ.get("TVAE_CTGAN_JOBTRANS_N_JOBS") or "").strip()
14
+ if _nj:
15
+ print("[TVAE] joblib Parallel cap ON, TVAE_CTGAN_JOBTRANS_N_JOBS=" + _nj)
16
+ else:
17
+ print("[TVAE] joblib Parallel cap OFF (unset TVAE_CTGAN_JOBTRANS_N_JOBS)")
18
+ print("[TVAE] LOKY_MAX_CPU_COUNT=" + str(os.environ.get("LOKY_MAX_CPU_COUNT", "")))
19
+
20
+ csv_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/staged/public/train.csv"
21
+ meta_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/tvae_metadata.json"
22
+ save_path = "/work/output-Benchmark-trainonly-v1/c2/tvae/tvae-c2-20260504_174013/models_300epochs/tvae_300epochs.pt"
23
+ epochs = int(os.environ.get("TVAE_EPOCHS", 300))
24
+ batch_size = int(os.environ.get("TVAE_BATCH_SIZE", "500"))
25
+ embedding_dim = int(os.environ.get("TVAE_EMBEDDING_DIM", "128"))
26
+ def _parse_dims(name, default):
27
+ raw = (os.environ.get(name) or "").strip()
28
+ if not raw:
29
+ return default
30
+ return tuple(int(x.strip()) for x in raw.split(",") if x.strip())
31
+ compress_dims = _parse_dims("TVAE_COMPRESS_DIMS", (128, 128))
32
+ decompress_dims = _parse_dims("TVAE_DECOMPRESS_DIMS", (128, 128))
33
+
34
+ data, discrete_columns = read_csv(csv_path, meta_path, header=True, discrete=None)
35
+ 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}")
36
+ model = TVAE(epochs=epochs, batch_size=batch_size, embedding_dim=embedding_dim, compress_dims=compress_dims, decompress_dims=decompress_dims)
37
+ model.fit(data, discrete_columns)
38
+ model.save(save_path)
39
+ print(f"[TVAE] Model saved -> {save_path}")