TabQueryBench commited on
Commit
47dfdc9
·
verified ·
1 Parent(s): 2526ea7

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/_fd_X_host.npy +3 -0
  2. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/_fd_gen.py +8 -0
  3. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/_fd_meta_host.json +3 -0
  4. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/_fd_train.py +36 -0
  5. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/forest-c13-1966628-20260511_130342.csv +3 -0
  6. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/gen_20260511_130342.log +3 -0
  8. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/input_snapshot.json +3 -0
  9. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/models_fd/model.joblib +3 -0
  10. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/run_config.json +3 -0
  14. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/runtime_result.json +3 -0
  15. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/public/test.csv +3 -0
  20. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/public/train.csv +3 -0
  21. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/public/val.csv +3 -0
  22. syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/train_20260511_130340.log +3 -0
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2eafb028555a43b58eb4fe245151d0b13d4532ec8825d92dfdf3ca74d875df4c
3
+ size 282752
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/_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/c13/forestdiffusion/forest-c13-20260511_130258/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(1966628))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/c13/forestdiffusion/forest-c13-20260511_130258/forest-c13-1966628-20260511_130342.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bf05c10ca846dd9a379c458304cb9900297bd1ced83613e681bcd4b524520e1
3
+ size 909
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/_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/c13/forestdiffusion/forest-c13-20260511_130258/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/c13/forestdiffusion/forest-c13-20260511_130258/_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/c13/forestdiffusion/forest-c13-20260511_130258/forestdiffusion_model.joblib')
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/forest-c13-1966628-20260511_130342.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8614fa1797e3e1fc504364722c551f060aa327a8788110f8d29f40bb44d85f5
3
+ size 1421417185
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f750356cdb4e7928d78a7b5b9ec77b667d5e7476fdfa77a276b23d43dadd6563
3
+ size 757270
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/gen_20260511_130342.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea463d5c92ba6dbcae8cf6615e64d87f1c705bc5cbbd899a4a7cad30fcb679aa
3
+ size 298
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f38dbe69eae6b00b4b259519af8a9a99e74b64230fe04fb877cb72bd78459a9
3
+ size 1376
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f750356cdb4e7928d78a7b5b9ec77b667d5e7476fdfa77a276b23d43dadd6563
3
+ size 757270
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac7cc45a45a66882898330041e21ecc9d2fa2337acbdac10fdc6bfcf29f37ecb
3
+ size 29682
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98b0bd56b40bce017ada413ff6fd6c8249d274691543a2317af77dc66423edab
3
+ size 920
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45aa08eb6af3c1cbec87e55ee58a81a3f9b55a723763906bf375e8c43e3be61b
3
+ size 30533
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a4e8576b4e22a0d4fa55727a5188af00728090006c81f153c831691670fe856
3
+ size 2360
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4db9bb896c42445fe38843f4253babfba34306bfd45921652b43869174644c9
3
+ size 934
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d053427836a83715fa7d1999d3555a2e201b66409491259ca736582f29994084
3
+ size 338
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/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/c13/forestdiffusion/forest-c13-20260511_130258/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fea3ac6a322cf874db6989afe9e15e6303a0bef13232caf758225fc40c2334f
3
+ size 30747
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81bd0d2d8f45f0f84ba7aa5d987138568ed6c11284619479782ad7b5a8406868
3
+ size 6450
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cf0d7c1dbb2038abdd41e3d786a07088e449032778f4738dc6b22d0eb191d5a
3
+ size 35888554
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13129dc33af4bddd2cf285ff554eec75d60242263631bd9b9bf17dad2ed3c2e6
3
+ size 287108949
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:146c58ed78179cd93f44c20c808eca71eea5c5c3f8d2ae147cc44663356384fb
3
+ size 35889620
syntheticSuccess/c13/forestdiffusion/forest-c13-20260511_130258/train_20260511_130340.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4222767904fc00ebb4f15d9da912963aa9fedec796f5a2360b562d233ec100f
3
+ size 444