Add files using upload-large-folder tool
Browse filesFiles changed (22)
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_X_host.npyAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_gen.pyAdded+8
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_meta_host.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_train.pyAdded+36
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/forest-c4-2557-20260510_204830.csvAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/gen_20260510_204830.logAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/input_snapshot.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/models_fd/model.joblibAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/run_config.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/runtime_result.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/test.csvAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/train.csvAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/val.csvAdded+3
- syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/train_20260510_204828.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:e794179fed0c3687b848213d44e032a3e33b4023229518cd49d24bbc3de9028dsize 15168012345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/c4/forestdiffusion/forest-c4-20260510_204828/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(2557))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/c4/forestdiffusion/forest-c4-20260510_204828/forest-c4-2557-20260510_204830.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:227c2db87750413f68a3d9b29d0ec01899712314270c64a5d85ae9a2649bb366size 498123456789101112131415161718192021222324252627282930313233343536
import os, shutil, jsonwith open('/tmp/pgrep', 'w') as _f: _f.write("#!/usr/bin/env python3\n") _f.write("import subprocess, sys\n") _f.write("ppid = sys.argv[-1]\n") _f.write("out = subprocess.check_output(['ps', '-o', 'pid=', '--ppid', str(ppid)], text=True)\n") _f.write("print(out, end='')\n")os.chmod('/tmp/pgrep', 0o755)os.environ['PATH'] = '/tmp:' + os.environ.get('PATH', '')shutil.copy(r'/work/output-Benchmark-trainonly-v1/c4/forestdiffusion/forest-c4-20260510_204828/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/c4/forestdiffusion/forest-c4-20260510_204828/_fd_meta_host.json') as f: open('/tmp/fd_meta.json','w').write(f.read())
import numpy as np, joblib, json, osfrom ForestDiffusion import ForestDiffusionModelX = np.load("/tmp/fd_X.npy")with open("/tmp/fd_meta.json") as f: meta = json.load(f)cat_indexes = meta["cat_indexes"]print( "[ForestDiffusion] train config: " f"rows={X.shape[0]} cols={X.shape[1]} n_t=2 " f"n_estimators=1 duplicate_K=1 n_jobs=1 " f"max_depth=2 xgb_verbosity=0 xgb_nthread=1", flush=True,)m = ForestDiffusionModel( X, n_t=2, n_estimators=1, duplicate_K=1, n_jobs=1, model="xgboost", max_depth=2, tree_method="hist", cat_indexes=cat_indexes, verbosity=0, nthread=1,)joblib.dump((m, meta), "/tmp/fd_model.joblib")print("ForestDiffusion train OK")
shutil.copy('/tmp/fd_model.joblib', r'/work/output-Benchmark-trainonly-v1/c4/forestdiffusion/forest-c4-20260510_204828/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:ceb622afdd4f8b3e9ba95b4df60149a2bb4af063677e1563ad888ac0b42ed1a9size 404978123version https://git-lfs.github.com/spec/v1oid sha256:f590fc923dd200930246695c333ea45ad7e94c5e50a7d8f7602fe62a80f81586size 393776123version https://git-lfs.github.com/spec/v1oid sha256:47d0c7cf533c7411bdafaa894e116340a32f4b6baa164d5cb9e9a8b83ea473basize 294123version https://git-lfs.github.com/spec/v1oid sha256:0542922875c326614cbbe8cd2a0a03a58cfeb3b7130ee6f51e0b418c383b6a23size 1356123version https://git-lfs.github.com/spec/v1oid sha256:f590fc923dd200930246695c333ea45ad7e94c5e50a7d8f7602fe62a80f81586size 393776123version https://git-lfs.github.com/spec/v1oid sha256:dd215e2b568b51c89131bc82ae10e581ce201a81c969236f2fad5e62f9fd5d8dsize 14899123version https://git-lfs.github.com/spec/v1oid sha256:740db0868dc2310e1254a747feb3072fcadc901fd3789ea258992b0ae8782c83size 912123version https://git-lfs.github.com/spec/v1oid sha256:4800706b90bcce557da89ad69ae38b435e0c51e59dfce2a132f436062e9f3aa6size 15740123version https://git-lfs.github.com/spec/v1oid sha256:386f7e3e13c96ceda275f97abc673817a5164c7d73f38c35caf9705c12172e6fsize 2334123version https://git-lfs.github.com/spec/v1oid sha256:3b36088caacc45ac532d75ae552d1006d87dde88dffab790c37e59eadf273773size 921123version https://git-lfs.github.com/spec/v1oid sha256:41e63eee6cf296caf66c3e715217c9c0db8a232171232ac547961e247dc89ec8size 336123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:238e68df9ee211a3f6f3e817767c762b46c9fb7837581923c96c8d57821f34bfsize 15952123version https://git-lfs.github.com/spec/v1oid sha256:a87f218a78f746c6bac3b01a4eeecffa6d238b7d3a8a4ad195998463ac57f305size 3272123version https://git-lfs.github.com/spec/v1oid sha256:d0025753653c2b6aa73ac4dbaca5f0aab6b2834bfbab5aacee09a0a06b503f0csize 24846123version https://git-lfs.github.com/spec/v1oid sha256:740abc2572f84132936c56aec13d8876c3f878fd131d8f6b6f339195f09d0036size 197004123version https://git-lfs.github.com/spec/v1oid sha256:615716822f945c50a8f7c105fe3fbde1cc0bf29b057e0274f36c6f3256b55316size 24766123version https://git-lfs.github.com/spec/v1oid sha256:5517e4682d87584243c6401c5d542078ee0a7c52ab38c4e0965e05e5f81469bfsize 444syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_X_host.npyAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_gen.pyAdded+8
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_meta_host.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/_fd_train.pyAdded+36
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/forest-c4-2557-20260510_204830.csvAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/forestdiffusion_model.joblibAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/gen_20260510_204830.logAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/input_snapshot.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/models_fd/model.joblibAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/run_config.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/runtime_result.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/staged_features.jsonAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/test.csvAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/train.csvAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/staged/public/val.csvAdded+3
syntheticSuccess/c4/forestdiffusion/forest-c4-20260510_204828/train_20260510_204828.logAdded+3