TabQueryBench commited on
Commit
81588d0
·
verified ·
1 Parent(s): 54fa811

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/_fd_X_host.npy +3 -0
  2. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/_fd_gen.py +8 -0
  3. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/_fd_meta_host.json +3 -0
  4. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/_fd_train.py +36 -0
  5. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/forest-c5-6732-20260511_040341.csv +3 -0
  6. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/gen_20260511_040341.log +3 -0
  8. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/input_snapshot.json +3 -0
  9. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/models_fd/model.joblib +3 -0
  10. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/run_config.json +3 -0
  14. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/runtime_result.json +3 -0
  15. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/public/test.csv +3 -0
  20. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/public/train.csv +3 -0
  21. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/public/val.csv +3 -0
  22. syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/train_20260511_040339.log +3 -0
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10debc54e3faeffdba0b68b3c847d33aa9c91e7f7f08c124e80dc0d4495609b0
3
+ size 94336
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/_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/c5/forestdiffusion/forest-c5-20260511_040339/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(6732))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/c5/forestdiffusion/forest-c5-20260511_040339/forest-c5-6732-20260511_040341.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c4b75039a940752849d5c8e3f9eefa69546e02e4ef69f826912da433d6711a7
3
+ size 479
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/_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/c5/forestdiffusion/forest-c5-20260511_040339/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/c5/forestdiffusion/forest-c5-20260511_040339/_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/c5/forestdiffusion/forest-c5-20260511_040339/forestdiffusion_model.joblib')
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/forest-c5-6732-20260511_040341.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f290020179340604ceb688c58a442b0f7d098097050e0291f288f490badf438
3
+ size 694040
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b580ebabbad691a4267e992900ef83bfd91b5013000e66c0af535f3484e4a264
3
+ size 958004
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/gen_20260511_040341.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:188ac828a3ec9fbec18df32c13211dd82a83d3277c7116081ebb67e7ce041a7f
3
+ size 294
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:466facebc81cedcd8452d5388b3b09cf2353c7a8282c1db12e34bf8ffb0ca1d4
3
+ size 1358
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b580ebabbad691a4267e992900ef83bfd91b5013000e66c0af535f3484e4a264
3
+ size 958004
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a82dde0a0b02bb1e4531b9f5e04984f7873c1c4981a2b343015d3a380445ebf
3
+ size 10604
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea5012ab6077fba838eb8fdd15d8d8fd7e74ddeebf20f9317e675f0f5ab48a8
3
+ size 912
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38df1a16ec37e53351680963663bf3d0ac3094f2f1a870c9ea3c8c1a1eb421ca
3
+ size 11445
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b3c5c40bc2db4561f67668986449cf6a1e23bb6177198dadcf3ac090bbc0894
3
+ size 2334
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f347c4db0b35310bf86ba5e1299b8385768570a2687f5f8e38bb01adc139a6b4
3
+ size 922
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13f57b2e389226e6aaaf779a7c52f0f62693bd88c66a64145799830a22c8ca17
3
+ size 336
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/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/c5/forestdiffusion/forest-c5-20260511_040339/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7d20468faad39aaedb5be7fd68618fae291ea927c42afeacfe1e80cb91561d9
3
+ size 11657
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ace7d0e8b3fdcd849ddbae15387f2fbaeb5a1756991805f39eca5eae193e7f7
3
+ size 2303
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22374ee05e54a92c07546639c8485d89e02a7c7b38db99ef9ac5dfb259bd032d
3
+ size 125218
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a23d9f1558e4268759d44a5a58662ddff4e0b757a65c49e7019e9db25203034
3
+ size 997613
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa96f3f053a3ae913c7cd723e390bf19f86afc22192eea09094e136ce2a6eb6c
3
+ size 124824
syntheticSuccess/c5/forestdiffusion/forest-c5-20260511_040339/train_20260511_040339.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d250156c5b516b9761fabf0464b0f5d680ae1ffea35967e35254b5e418621f0
3
+ size 444