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

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_X_host.npy +3 -0
  2. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_gen.py +8 -0
  3. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_meta_host.json +3 -0
  4. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_train.py +36 -0
  5. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/forest-n8-1253-20260511_134601.csv +3 -0
  6. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/gen_20260511_134601.log +3 -0
  8. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/input_snapshot.json +3 -0
  9. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/models_fd/model.joblib +3 -0
  10. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/run_config.json +3 -0
  14. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/runtime_result.json +3 -0
  15. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/test.csv +3 -0
  20. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/train.csv +3 -0
  21. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/val.csv +3 -0
  22. syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/train_20260511_132540.log +3 -0
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3639b59580c892cf1d76106db4b63f95c76929e8d89cab56c47da4808f5d04a8
3
+ size 2429056
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_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/n8/forestdiffusion/forest-n8-20260511_132539/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(1253))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/n8/forestdiffusion/forest-n8-20260511_132539/forest-n8-1253-20260511_134601.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28b1a3ff54c04b7c8b7db5683fa971f71205f258cdbc2582ebacc66eca6ae5d3
3
+ size 9327
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_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/n8/forestdiffusion/forest-n8-20260511_132539/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/n8/forestdiffusion/forest-n8-20260511_132539/_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/n8/forestdiffusion/forest-n8-20260511_132539/forestdiffusion_model.joblib')
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/forest-n8-1253-20260511_134601.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d265407e955728aa4dfff8ab84e365e91cb5ead0e23f1c2a16b193255aa5aa41
3
+ size 11508083
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ef804703f85b97d9c62407f02688cb76a571e28d5f2acdd25bef3076bfe23d9
3
+ size 21738230
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/gen_20260511_134601.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24640375265ba181e666934b7be1eca7fb6281e301856c2d4b68960f82ac2a95
3
+ size 295
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:011461e6a96ea90863f814fee1eb4048406d93f25c9219516ba6b54b935bade1
3
+ size 1361
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ef804703f85b97d9c62407f02688cb76a571e28d5f2acdd25bef3076bfe23d9
3
+ size 21738230
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f01a359e833f3718c09575a3ee13177880c306c881b5f855f209b37a093bbc3a
3
+ size 285716
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8519e06ffb121f172dd7c62305bd4e1a7760c91ff0880271a3acb3f516497de0
3
+ size 914
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76c670dec620730cd6118e45ab3138cb1baa873becb3e2cc872aa3bde9e0fa74
3
+ size 286557
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58036c80ee3670bd535ec4c072622286e993eb932c09d85964615151c99e0f61
3
+ size 2336
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdf44fc16246585f5575d36d520bd7d6da37f7176569704a56688c50700ab106
3
+ size 926
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d47fdb632f75fce56e5154811a846be69612aa4dc8e1c3bf62ae53cc339c2a1d
3
+ size 336
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/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/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26d0860b1cfc9a64659ed6a0c95a4ea149e1e9d0a1855a029c3f8e515b065e5c
3
+ size 286769
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a00249fb8ee26d959764c73ee1a98a2d94de3afa94e97797953bfcd215cbdb10
3
+ size 57541
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8746d2ff3a5c746a183a55abb2d10636ed95082118233f716c06de8b19652781
3
+ size 574665
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e34a97ea3f111b7bed4108447805ffb0fdb2912937947b9ed8547d72f42f3c0
3
+ size 4575725
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec46f42c0d9d9dc8d90b1c55b5315ff92529a66282df9266a3b1aff3b8b3e7b7
3
+ size 548212
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/train_20260511_132540.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02d354e821937eaa4dca22f51e646ffcb39614351fb08053fbcdcc09f306887d
3
+ size 448