TabQueryBench commited on
Commit
2884512
·
verified ·
1 Parent(s): 9e5726a

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_X_host.npy +3 -0
  2. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_gen.py +8 -0
  3. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_meta_host.json +3 -0
  4. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_train.py +36 -0
  5. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/forest-n4-1595-20260511_132012.csv +3 -0
  6. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/gen_20260511_132012.log +3 -0
  8. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/input_snapshot.json +3 -0
  9. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/models_fd/model.joblib +3 -0
  10. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/run_config.json +3 -0
  14. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/runtime_result.json +3 -0
  15. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/test.csv +3 -0
  20. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/train.csv +3 -0
  21. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/val.csv +3 -0
  22. syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/train_20260511_130614.log +3 -0
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41adc3389e2d6a797057133586e77166da94c145f0601e3ade519b899c7374b5
3
+ size 524416
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_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/n4/forestdiffusion/forest-n4-20260511_130614/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(1595))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/n4/forestdiffusion/forest-n4-20260511_130614/forest-n4-1595-20260511_132012.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1167007c0f9ede6a9434998d12371707325b03cedcff6afdc8229faea798bafb
3
+ size 1845
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_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/n4/forestdiffusion/forest-n4-20260511_130614/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/n4/forestdiffusion/forest-n4-20260511_130614/_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/n4/forestdiffusion/forest-n4-20260511_130614/forestdiffusion_model.joblib')
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/forest-n4-1595-20260511_132012.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:346b0c2aa81170a9e324827220cbb31ea38102e4928a5f1c60280e4fe1a06624
3
+ size 2925715
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53031096f8c03316987c4c708808b00c4f56321fc491a53c52831a5731a92b33
3
+ size 18234531
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/gen_20260511_132012.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4465ac4bf51531e1dcf0df0bde62893358d337a32d37dbd8929d0f0a90c73b88
3
+ size 295
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ad53e91c557a7a9d96513dd43459c391d294f0947d4674049a3837b7e763fa5
3
+ size 1358
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53031096f8c03316987c4c708808b00c4f56321fc491a53c52831a5731a92b33
3
+ size 18234531
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4a51e0665dadfbffebdf82b417fe43fa562204275dc2da832b4493e71b17a14
3
+ size 60257
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d82af407145ddf93aed8488407a5600dcb12b75cfbf3b9ac3a2a5531586587e
3
+ size 909
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:454e67521108089de2311c8c042da8dfded4e3ee501615e719e248e741848f19
3
+ size 61098
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a1c08593afa55286b63a63979e3ad42faf3ac161861ce916032816d992c64ea
3
+ size 2331
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0901fb3397fcf12fc4c8205674dd3d2b2dd2a2c23ca664ee0feba4fb8af6f110
3
+ size 924
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:942c19d08580d15f15fdf0f157aaad3554a3c6398ef954fac3a4b9db7045e27a
3
+ size 336
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/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/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c45197d8dc936dd2f385fe566f4dc3f7ac730f3f3ade9f375e6442a1fb6007ae
3
+ size 61310
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b0659495a3ed560d31ee16ac86c232a810e297e56b2bc8da97d5de72e0c774e
3
+ size 12433
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caa60b496a1710d39671c1777212c13b0a2d4833e15858913d1e3b6743f7fd09
3
+ size 110901
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d231783209c86c6e6cdb1f56f30fba81c3163dc137fc5cfbd0dd1b7360767acc
3
+ size 878053
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fee3c941aad07723b15b7e43c645c70742e10ae08f8b1e6e837d64212886ef22
3
+ size 111232
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/train_20260511_130614.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ffe82d5a0e136c60b4524a076278d00811ac94a77749d51241990522e0175ac
3
+ size 447