Add files using upload-large-folder tool
Browse files- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_X_host.npy +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_gen.py +8 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_meta_host.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_train.py +36 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/forest-c4-2557-20260510_204830.csv +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/forestdiffusion_model.joblib +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/gen_20260510_204830.log +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/input_snapshot.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/models_fd/model.joblib +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/normalized_schema_snapshot.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/public_gate_report.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/staged_input_manifest.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/run_config.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/runtime_result.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/adapter_report.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/model_input_manifest.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/staged_features.json +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/test.csv +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/train.csv +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/val.csv +3 -0
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/train_20260510_204828.log +3 -0
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_X_host.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e794179fed0c3687b848213d44e032a3e33b4023229518cd49d24bbc3de9028d
|
| 3 |
+
size 151680
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_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/c4/forestdiffusion/forest-c4-20260510_204828/forestdiffusion_model.joblib')
|
| 4 |
+
# generate:batch_size 为样本数
|
| 5 |
+
arr = m.generate(batch_size=int(2557))
|
| 6 |
+
df = pd.DataFrame(arr, columns=meta["column_names"])
|
| 7 |
+
df.to_csv(r'/work/output-Benchmark-trainonly-v1/c4/forestdiffusion/forest-c4-20260510_204828/forest-c4-2557-20260510_204830.csv', index=False)
|
| 8 |
+
print("saved", len(df))
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_meta_host.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:227c2db87750413f68a3d9b29d0ec01899712314270c64a5d85ae9a2649bb366
|
| 3 |
+
size 498
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_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/c4/forestdiffusion/forest-c4-20260510_204828/_fd_X_host.npy', '/tmp/fd_X.npy')
|
| 12 |
+
with open(r'/work/output-Benchmark-trainonly-v1/c4/forestdiffusion/forest-c4-20260510_204828/_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/c4/forestdiffusion/forest-c4-20260510_204828/forestdiffusion_model.joblib')
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/forest-c4-2557-20260510_204830.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ceb622afdd4f8b3e9ba95b4df60149a2bb4af063677e1563ad888ac0b42ed1a9
|
| 3 |
+
size 404978
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/forestdiffusion_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f590fc923dd200930246695c333ea45ad7e94c5e50a7d8f7602fe62a80f81586
|
| 3 |
+
size 393776
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/gen_20260510_204830.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47d0c7cf533c7411bdafaa894e116340a32f4b6baa164d5cb9e9a8b83ea473ba
|
| 3 |
+
size 294
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/input_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0542922875c326614cbbe8cd2a0a03a58cfeb3b7130ee6f51e0b418c383b6a23
|
| 3 |
+
size 1356
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/models_fd/model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f590fc923dd200930246695c333ea45ad7e94c5e50a7d8f7602fe62a80f81586
|
| 3 |
+
size 393776
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/normalized_schema_snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd215e2b568b51c89131bc82ae10e581ce201a81c969236f2fad5e62f9fd5d8d
|
| 3 |
+
size 14899
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/public_gate_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:740db0868dc2310e1254a747feb3072fcadc901fd3789ea258992b0ae8782c83
|
| 3 |
+
size 912
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/staged_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4800706b90bcce557da89ad69ae38b435e0c51e59dfce2a132f436062e9f3aa6
|
| 3 |
+
size 15740
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/run_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:386f7e3e13c96ceda275f97abc673817a5164c7d73f38c35caf9705c12172e6f
|
| 3 |
+
size 2334
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/runtime_result.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b36088caacc45ac532d75ae552d1006d87dde88dffab790c37e59eadf273773
|
| 3 |
+
size 921
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/adapter_report.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41e63eee6cf296caf66c3e715217c9c0db8a232171232ac547961e247dc89ec8
|
| 3 |
+
size 336
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/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/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/model_input_manifest.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:238e68df9ee211a3f6f3e817767c762b46c9fb7837581923c96c8d57821f34bf
|
| 3 |
+
size 15952
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/staged_features.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a87f218a78f746c6bac3b01a4eeecffa6d238b7d3a8a4ad195998463ac57f305
|
| 3 |
+
size 3272
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0025753653c2b6aa73ac4dbaca5f0aab6b2834bfbab5aacee09a0a06b503f0c
|
| 3 |
+
size 24846
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:740abc2572f84132936c56aec13d8876c3f878fd131d8f6b6f339195f09d0036
|
| 3 |
+
size 197004
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/val.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:615716822f945c50a8f7c105fe3fbde1cc0bf29b057e0274f36c6f3256b55316
|
| 3 |
+
size 24766
|
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/train_20260510_204828.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5517e4682d87584243c6401c5d542078ee0a7c52ab38c4e0965e05e5f81469bf
|
| 3 |
+
size 444
|