TabQueryBench commited on
Commit
88b325f
·
verified ·
1 Parent(s): c5c85d8

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_X_host.npy +3 -0
  2. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_gen.py +8 -0
  3. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_meta_host.json +3 -0
  4. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_train.py +36 -0
  5. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/forest-m1-1200-20260511_124615.csv +3 -0
  6. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/gen_20260511_124615.log +3 -0
  8. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/input_snapshot.json +3 -0
  9. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/models_fd/model.joblib +3 -0
  10. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/run_config.json +3 -0
  14. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/runtime_result.json +3 -0
  15. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/test.csv +3 -0
  20. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/train.csv +3 -0
  21. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/val.csv +3 -0
  22. syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/train_20260511_124552.log +3 -0
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9730d2f620dc4bac5c4001ab4f324a90fc9873f49cbc1ee16b4bddc091208464
3
+ size 123008
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_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/m1/forestdiffusion/forest-m1-20260511_124552/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(1200))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/m1/forestdiffusion/forest-m1-20260511_124552/forest-m1-1200-20260511_124615.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f2b1923479475aa345ae9e8118f163ab1e51b7e0287e1b395355399b6c0de0e
3
+ size 657
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_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/m1/forestdiffusion/forest-m1-20260511_124552/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/m1/forestdiffusion/forest-m1-20260511_124552/_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/m1/forestdiffusion/forest-m1-20260511_124552/forestdiffusion_model.joblib')
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/forest-m1-1200-20260511_124615.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8426c486f323e9f0099606c651b5a44de18398627942f7bff8c0477077f5fcb0
3
+ size 315705
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:692d634c671690bfc6c37e08c33163e2704590a5aabc02f1ea73894560d9168e
3
+ size 12194148
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/gen_20260511_124615.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3976f2bc3873f399157e04568eb1fec084ffb28af73120f7b09d142bf6121f23
3
+ size 294
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4504e260bc94176ce0b92625ae41113c9742c967362f1a86432e99c04891cd3
3
+ size 1356
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:692d634c671690bfc6c37e08c33163e2704590a5aabc02f1ea73894560d9168e
3
+ size 12194148
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b119c9e506b7e460cf180a210fe501cc20982854a292d273d296cb2042c198cb
3
+ size 14290
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9474030f1e90ad2c589b50777ff02efc58569b3cb6ffd06007d536e4de71adf2
3
+ size 923
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3fc6bdf911dad8d7ee4eeb8a12d43d16a79e58f54a0d974ffbcf821d759d6bc
3
+ size 15131
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02ae29a114d4eeec066fb6131ecadb95d3d6d1c2bda3808e3fa1c8481e486ea5
3
+ size 2345
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f19c2a7610a4f1136dbeadd973dbd8375988f842a26603c15c812ee61fae4ccb
3
+ size 923
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e209297576b24de3548512fb6e834bbdec27c3794aa1d6537b92bbc7cc2b1fe1
3
+ size 336
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/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/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89737343c8e61b0002a978e1b8afcd2689fd4197bb7c6ad4bd726418d2ab411c
3
+ size 15343
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a4857dd67830beab0de00fe7692c2d76505df70139bb082fa996700b67aa349
3
+ size 3060
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b10fb23dd851cc8e9512cc2f6c6cf8a7d55a9e129e0ea3fcfdf74a1d9c4ae4e
3
+ size 31319
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e9c852dcaca7e39ee66137ba8b9d16cff5ac3db8773ada638088281140b801f
3
+ size 246535
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74e1ec553c236519ce940f48b25c8f9b87aca28e5746f70de8e292fcae7b3dfb
3
+ size 31323
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/train_20260511_124552.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:052f088da1444c45bc8b0bc6f22e199ded5ea97f34856c3f9869012b397facc9
3
+ size 445