TabQueryBench commited on
Commit
4183734
·
verified ·
1 Parent(s): 9d159c5

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/_fd_X_host.npy +3 -0
  2. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/_fd_gen.py +8 -0
  3. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/_fd_meta_host.json +3 -0
  4. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/_fd_train.py +36 -0
  5. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/forest-n14-1600-20260511_130241.csv +3 -0
  6. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/gen_20260511_130241.log +3 -0
  8. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/input_snapshot.json +3 -0
  9. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/models_fd/model.joblib +3 -0
  10. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/run_config.json +3 -0
  14. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/runtime_result.json +3 -0
  15. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/public/test.csv +3 -0
  20. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/public/train.csv +3 -0
  21. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/public/val.csv +3 -0
  22. syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/train_20260511_130238.log +3 -0
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a0114c6b80dae31f9d7031c6c77e3f12a7f2cb477e9d389772d629def88faa7
3
+ size 213120
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/_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/n14/forestdiffusion/forest-n14-20260511_130238/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(1600))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/n14/forestdiffusion/forest-n14-20260511_130238/forest-n14-1600-20260511_130241.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a108c0e81c7374dc476c9f44dd6183b5679747a2950a60797f477c6aa933578a
3
+ size 752
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/_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/n14/forestdiffusion/forest-n14-20260511_130238/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/n14/forestdiffusion/forest-n14-20260511_130238/_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/n14/forestdiffusion/forest-n14-20260511_130238/forestdiffusion_model.joblib')
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/forest-n14-1600-20260511_130241.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7482af3bf8863204a533f48c10f63a49b2f6c9df0338197218237ac10537fcc
3
+ size 1605940
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a79797f995050279cb42c335f4ad5182739fa3ba1ec8aa698dfa7905bfae4c1
3
+ size 320039
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/gen_20260511_130241.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ae8226f384cc10d629f4ac0cf2297d8e8d991f1079e7ad5ce9d4f62457ac179
3
+ size 294
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:947227da8c4cc413fff139c523a578efc6315d0b37a2acc442002f6df1c5cfa2
3
+ size 1367
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a79797f995050279cb42c335f4ad5182739fa3ba1ec8aa698dfa7905bfae4c1
3
+ size 320039
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1039de91400208739668ec5dbba162e50476ffb8f7bc2c41c34a9e152d1a1fd7
3
+ size 25212
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0323cb1844f3ed9d898f3dd78211792dbc408cc2661f88cffa593a96fe919f2
3
+ size 920
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abb716d7a2321a3c52ea692dc90ee942a96c9b698bdddfcb822fe6d73737d3d8
3
+ size 26063
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4595b142368ba85b669ddd6e6e93b9263541dd7e0150ee1ae8c811b871f3047a
3
+ size 2354
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cf193b7379275a18d7fc3f09fd9178a5f29bf98c6bd4ae3f8902d340dcbb05a
3
+ size 928
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fce1101a9cff3611dd8dc0fbcbe0a9e02bd037b7f23aa0b57180b69083b38c7d
3
+ size 338
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/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/n14/forestdiffusion/forest-n14-20260511_130238/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56fb1b977631a737a68fb0f568d67a5eed48d5e495d8d5e059862eeb49465850
3
+ size 26277
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ceb242f15c8115703b617ca54db02ff27dff41d99dd4f9af89bb5fcb513e5bb
3
+ size 5032
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c58f97d23ce9ec15dde2caf4ba02105c2839eb4b1e1bb7f5183e0661fec4ecd
3
+ size 88640
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c185607e5260848288c1fe3ee266131707a54e9f5e053f1234c019f315783fac
3
+ size 700663
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efcb8ee58a24ce4397213b3c4df4826fbcc6662da77b0919ff4e1935d12e2e89
3
+ size 87578
syntheticSuccess/n14/forestdiffusion/forest-n14-20260511_130238/train_20260511_130238.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd884a6f63cef26354074adf320eb62841bab287aebe187fd06983de763d7e08
3
+ size 444