TabQueryBench commited on
Commit
f425530
·
verified ·
1 Parent(s): 0997e5d

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/_fd_X_host.npy +3 -0
  2. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/_fd_gen.py +8 -0
  3. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/_fd_meta_host.json +3 -0
  4. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/_fd_train.py +36 -0
  5. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/forest-n16-227845-20260511_124644.csv +3 -0
  6. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/gen_20260511_124644.log +3 -0
  8. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/input_snapshot.json +3 -0
  9. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/models_fd/model.joblib +3 -0
  10. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/run_config.json +3 -0
  14. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/runtime_result.json +3 -0
  15. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/public/test.csv +3 -0
  20. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/public/train.csv +3 -0
  21. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/public/val.csv +3 -0
  22. syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/train_20260511_124642.log +3 -0
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52d35c6bd9fe861115843c3954d048d91a2dc298366d0635a64ff51776673f49
3
+ size 127104
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/_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/n16/forestdiffusion/forest-n16-20260511_124630/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(227845))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/n16/forestdiffusion/forest-n16-20260511_124630/forest-n16-227845-20260511_124644.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7016cb32384c397a2e00ad1523128f89c8f3d87c809873bef975f8b503f4ac2
3
+ size 251
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/_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/n16/forestdiffusion/forest-n16-20260511_124630/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/n16/forestdiffusion/forest-n16-20260511_124630/_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/n16/forestdiffusion/forest-n16-20260511_124630/forestdiffusion_model.joblib')
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/forest-n16-227845-20260511_124644.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf864377cd735c7ad98fc31c82db8cd1d8e5f50cd9446257eb3f6fb58d15eebc
3
+ size 129791119
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3afe5e40b36f5791168e7d959d716c23fa26e05263d6f5c6f4c664c32eb293bc
3
+ size 194316
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/gen_20260511_124644.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5148a3930e549ff14a225a575a17901cd0afc584aebeecccf186e3dda651b3fe
3
+ size 297
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c95519143dbca3da41955baee162856e3295b8c09c069b7788c8f4692806f7c
3
+ size 1376
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3afe5e40b36f5791168e7d959d716c23fa26e05263d6f5c6f4c664c32eb293bc
3
+ size 194316
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8e13e1c6e622699e221296c60f78826768eb2924cb4fed7c34a19ef5f2b80a4
3
+ size 16264
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea494477cf967f69e54af6c8693533ac8881a2a84c785ee01246213ed0bd2dde
3
+ size 919
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f258185bc1426c8e96d7bbda31d04e37f585e2fea6d49516a7e391ef388cad96
3
+ size 17115
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26eebdefb758005ce943b7b1bc0db27efa118cecbf842a58c9d724434ff74f4a
3
+ size 2357
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b59b921b90d184e08f152170e77253fcaed0a85ee0d34e3c66d08cc9f55f8dd8
3
+ size 932
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f83b8e30102e46355aa90aba821ff3b92a92f697b014ac1dccb04845ebcbb473
3
+ size 338
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/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/n16/forestdiffusion/forest-n16-20260511_124630/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fb1e922cec01f919244d771a4841d116f7c4223f215efd4e96c033191204cb1
3
+ size 17329
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fed791ef5182375f73ad93592b97cc6ac631c25c28e2e31e2c97e78c3a29855b
3
+ size 2784
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d69f73fdce5c2172678b0625c43058e7b6c8a991cee8c51c62b4e8f9200ddda9
3
+ size 15025273
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9803535990b2822a664c439816ab91c39aeedc38f99ade09a4347fe013876a3
3
+ size 120653578
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3abf3e2b22202b610a02bb43c40fc2751b5ff791d7c12fbc78ec217fdd5bebb2
3
+ size 15025064
syntheticSuccess/n16/forestdiffusion/forest-n16-20260511_124630/train_20260511_124642.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d6f1077d0a2bb7f02457d78eb89e56f685346b0754e52ed1641e1216a5d1ee7
3
+ size 443