TabQueryBench commited on
Commit
0598ac2
·
verified ·
1 Parent(s): 8445c43

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/_fd_X_host.npy +3 -0
  2. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/_fd_gen.py +8 -0
  3. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/_fd_meta_host.json +3 -0
  4. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/_fd_train.py +36 -0
  5. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/forest-c18-103976-20260511_003121.csv +3 -0
  6. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/gen_20260511_003121.log +3 -0
  8. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/input_snapshot.json +3 -0
  9. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/models_fd/model.joblib +3 -0
  10. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/run_config.json +3 -0
  14. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/runtime_result.json +3 -0
  15. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/public/test.csv +3 -0
  20. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/public/train.csv +3 -0
  21. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/public/val.csv +3 -0
  22. syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/train_20260510_220508.log +3 -0
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:994babb8c8eccad4955be15d5c2346e9500fa3b5dcf3e1d86f2af4d60f3e05e8
3
+ size 57472
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/_fd_gen.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+
2
+ import joblib, pandas as pd
3
+ m, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/c18/forestdiffusion/forest-c18-20260510_220505/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(103976))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/c18/forestdiffusion/forest-c18-20260510_220505/forest-c18-103976-20260511_003121.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d40fbaa74f6d0500a6cfc387d5707060257cfd3273b95aec10ce1843407106fc
3
+ size 244
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/_fd_train.py ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import os, shutil, json
3
+ with open('/tmp/pgrep', 'w') as _f:
4
+ _f.write("#!/usr/bin/env python3\n")
5
+ _f.write("import subprocess, sys\n")
6
+ _f.write("ppid = sys.argv[-1]\n")
7
+ _f.write("out = subprocess.check_output(['ps', '-o', 'pid=', '--ppid', str(ppid)], text=True)\n")
8
+ _f.write("print(out, end='')\n")
9
+ os.chmod('/tmp/pgrep', 0o755)
10
+ os.environ['PATH'] = '/tmp:' + os.environ.get('PATH', '')
11
+ shutil.copy(r'/work/output-Benchmark-trainonly-v1/c18/forestdiffusion/forest-c18-20260510_220505/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/c18/forestdiffusion/forest-c18-20260510_220505/_fd_meta_host.json') as f:
13
+ open('/tmp/fd_meta.json','w').write(f.read())
14
+
15
+ import numpy as np, joblib, json, os
16
+ from ForestDiffusion import ForestDiffusionModel
17
+ X = np.load("/tmp/fd_X.npy")
18
+ with open("/tmp/fd_meta.json") as f:
19
+ meta = json.load(f)
20
+ cat_indexes = meta["cat_indexes"]
21
+ print(
22
+ "[ForestDiffusion] train config: "
23
+ f"rows={X.shape[0]} cols={X.shape[1]} n_t=2 "
24
+ f"n_estimators=1 duplicate_K=1 n_jobs=1 "
25
+ f"max_depth=2 xgb_verbosity=0 xgb_nthread=1",
26
+ flush=True,
27
+ )
28
+ m = ForestDiffusionModel(
29
+ X, n_t=2, n_estimators=1, duplicate_K=1, n_jobs=1,
30
+ model="xgboost", max_depth=2, tree_method="hist", cat_indexes=cat_indexes,
31
+ verbosity=0, nthread=1,
32
+ )
33
+ joblib.dump((m, meta), "/tmp/fd_model.joblib")
34
+ print("ForestDiffusion train OK")
35
+
36
+ shutil.copy('/tmp/fd_model.joblib', r'/work/output-Benchmark-trainonly-v1/c18/forestdiffusion/forest-c18-20260510_220505/forestdiffusion_model.joblib')
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/forest-c18-103976-20260511_003121.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62b51cf85794a534dbc294045682a09eb3a685e96dc623207031fc98b787d3dd
3
+ size 11119126
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32f9a72e0c91573f537ac1f2db1a26abd1468d5f5816b75874bed702ad0a61e4
3
+ size 69356790
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/gen_20260511_003121.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c36978ceac83ef78cfdb8b92b7d13ff1d2a68dbdf4291706655483ff3c42aed3
3
+ size 300
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d3842e023ac81d52f9616d2743f83d8ea05a1eaad58c22f631b2b1438516a57
3
+ size 1371
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32f9a72e0c91573f537ac1f2db1a26abd1468d5f5816b75874bed702ad0a61e4
3
+ size 69356790
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca33a02c28873c5ec5fec52da747d206cd9e461100244e401a7a2e5ef3cba096
3
+ size 8391
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27f1ca3c2a10e936a41ba26048d2f0bc62addbfac55033a559ba761621c8ed22
3
+ size 921
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f00eb3df675a8509bf6ef95d7227f10fdf48d9139930a16861b964463a120d22
3
+ size 9242
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:764db6a8d9a00754bd12b8fc8d87a37138be17a6717cfa001b500e495be402e8
3
+ size 2359
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec2f94e4f172af90bbb4256c2055ceaefd18bbc6a513559a4923a562fa7673d9
3
+ size 937
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58fc5a19b933040be8d1d673604a040bffda247c66cf83bdd718b24307e4461d
3
+ size 338
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/forestdiffusion/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
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5049370bc76ba6b1f4a5a150ba9fcb63827a5510f66e88a782b4641c47676917
3
+ size 9456
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:632cd1c583d7dfd3107947bb9a317b8bb4bc567040e03ec88232c59e6f87a161
3
+ size 1350
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9b247fe90d1b3de687afbee0871f768b5b9b41d8974110c1a1a4be0a1581258
3
+ size 5283050
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d36ba8fd95415355fed46a70cd71921339f0b4b8f05320279bef35443ce4cc16
3
+ size 42317177
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6368d0c3f97d7449830710d697fc67e7fb71fa7038bc480892279eb41c153f0b
3
+ size 5289617
syntheticSuccess/c18/forestdiffusion/forest-c18-20260510_220505/train_20260510_220508.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5c7d0c2953b0c4358cc05b434fb58104ed3ac0bc19c64974611d24660f2c5ff
3
+ size 447