TabQueryBench commited on
Commit
0e9a687
·
verified ·
1 Parent(s): 53655a4

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/_fd_X_host.npy +3 -0
  2. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/_fd_gen.py +8 -0
  3. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/_fd_meta_host.json +3 -0
  4. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/_fd_train.py +36 -0
  5. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/forest-c9-26215-20260510_202607.csv +3 -0
  6. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/gen_20260510_202607.log +3 -0
  8. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/input_snapshot.json +3 -0
  9. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/models_fd/model.joblib +3 -0
  10. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/run_config.json +3 -0
  14. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/runtime_result.json +3 -0
  15. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/public/test.csv +3 -0
  20. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/public/train.csv +3 -0
  21. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/public/val.csv +3 -0
  22. syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/train_20260510_202605.log +3 -0
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c9217a46541461f72cb4e1e1a050795dbdf143436f6b8428082cf60d864e99c
3
+ size 41088
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/_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/c9/forestdiffusion/forest-c9-20260510_202604/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(26215))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/c9/forestdiffusion/forest-c9-20260510_202604/forest-c9-26215-20260510_202607.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:825930f51e7e8ab4a7b8769ae0b7607e83b88a1d06dee09b2095dd78a5b49d14
3
+ size 183
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/_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/c9/forestdiffusion/forest-c9-20260510_202604/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/c9/forestdiffusion/forest-c9-20260510_202604/_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/c9/forestdiffusion/forest-c9-20260510_202604/forestdiffusion_model.joblib')
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/forest-c9-26215-20260510_202607.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6d4b6361791404569cb5176985581809295389a690de37a04044f6c7048b5ac
3
+ size 3420910
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad1486082cc5f2a77571c4af38640a230b1939e37727f3fb9b0a76aa687f5317
3
+ size 110902
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/gen_20260510_202607.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ded55080908792e993af0a63fea754b3f652254b7e9cb5738d9a813fe5ebe55
3
+ size 295
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c2eeefbe1161927857c1191c8f9520495db50da7e4db6418080384fbd656b16
3
+ size 1357
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad1486082cc5f2a77571c4af38640a230b1939e37727f3fb9b0a76aa687f5317
3
+ size 110902
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83f8364b69bf8dbae1b24e07aaa9992a5f109c944e4c9a7c80cf6c26a46ac325
3
+ size 4803
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb9bbba63f0788b5891c556add74bcf8cbeab2bd4729b35ca842137fe389bbe9
3
+ size 914
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9b7a9cf5810ed6763f00ffb7a71a2345dd89e1ff45e8a5c68a865dcfd02d801
3
+ size 5644
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb915e550d104491ef568f0408487ed5ed65d5e977446aaf21e940404cc3a4a6
3
+ size 2338
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32f76545af6674a32e194e021adc9f77bfea4c3df0b5d4dc2507b3492db60f28
3
+ size 923
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec28282fa22c97f19c9aa72100d4ca2d605011d0bfe5a700737f70da2724c305
3
+ size 336
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/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/c9/forestdiffusion/forest-c9-20260510_202604/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58160eedbc1af2f1a8c8a1cee6b52d2aeb2514cb8e21ab30a2b4869137ebe2c2
3
+ size 5856
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ac6e9727221d87c5fc182247d5b3205c5c1e7e3fc5722d3d3d0ceee528fb3b3
3
+ size 972
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0af6e0312230bd2e171907bf4a9604e4b600e6335c3e4b4842b1f60c8e7260c7
3
+ size 203927
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5289d18c270c8b9f28c49f65f7dcbcbfe99c6d9c36bf7468cb0bd306c37a6c7
3
+ size 1630334
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad236210ab730f44360ed17509da76cda75ad36d8ab73965a437110f905764d3
3
+ size 203862
syntheticSuccess/c9/forestdiffusion/forest-c9-20260510_202604/train_20260510_202605.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eaf986f5d4b32d9d8ac6b908f215dfac17e8850133753f3ccb53c92e8b79c8b9
3
+ size 444