Add files using upload-large-folder tool
Browse filesFiles changed (22)
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_X_host.npyAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_gen.pyAdded+8
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_meta_host.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_train.pyAdded+36
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/forest-m1-1200-20260511_124615.csvAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/gen_20260511_124615.logAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/input_snapshot.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/models_fd/model.joblibAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/run_config.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/runtime_result.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/test.csvAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/train.csvAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/val.csvAdded+3
- syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/train_20260511_124552.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:9730d2f620dc4bac5c4001ab4f324a90fc9873f49cbc1ee16b4bddc091208464size 12300812345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/m1/forestdiffusion/forest-m1-20260511_124552/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(1200))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/m1/forestdiffusion/forest-m1-20260511_124552/forest-m1-1200-20260511_124615.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:8f2b1923479475aa345ae9e8118f163ab1e51b7e0287e1b395355399b6c0de0esize 657123456789101112131415161718192021222324252627282930313233343536
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/m1/forestdiffusion/forest-m1-20260511_124552/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/m1/forestdiffusion/forest-m1-20260511_124552/_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/m1/forestdiffusion/forest-m1-20260511_124552/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:8426c486f323e9f0099606c651b5a44de18398627942f7bff8c0477077f5fcb0size 315705123version https://git-lfs.github.com/spec/v1oid sha256:692d634c671690bfc6c37e08c33163e2704590a5aabc02f1ea73894560d9168esize 12194148123version https://git-lfs.github.com/spec/v1oid sha256:3976f2bc3873f399157e04568eb1fec084ffb28af73120f7b09d142bf6121f23size 294123version https://git-lfs.github.com/spec/v1oid sha256:e4504e260bc94176ce0b92625ae41113c9742c967362f1a86432e99c04891cd3size 1356123version https://git-lfs.github.com/spec/v1oid sha256:692d634c671690bfc6c37e08c33163e2704590a5aabc02f1ea73894560d9168esize 12194148123version https://git-lfs.github.com/spec/v1oid sha256:b119c9e506b7e460cf180a210fe501cc20982854a292d273d296cb2042c198cbsize 14290123version https://git-lfs.github.com/spec/v1oid sha256:9474030f1e90ad2c589b50777ff02efc58569b3cb6ffd06007d536e4de71adf2size 923123version https://git-lfs.github.com/spec/v1oid sha256:f3fc6bdf911dad8d7ee4eeb8a12d43d16a79e58f54a0d974ffbcf821d759d6bcsize 15131123version https://git-lfs.github.com/spec/v1oid sha256:02ae29a114d4eeec066fb6131ecadb95d3d6d1c2bda3808e3fa1c8481e486ea5size 2345123version https://git-lfs.github.com/spec/v1oid sha256:f19c2a7610a4f1136dbeadd973dbd8375988f842a26603c15c812ee61fae4ccbsize 923123version https://git-lfs.github.com/spec/v1oid sha256:e209297576b24de3548512fb6e834bbdec27c3794aa1d6537b92bbc7cc2b1fe1size 336123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:89737343c8e61b0002a978e1b8afcd2689fd4197bb7c6ad4bd726418d2ab411csize 15343123version https://git-lfs.github.com/spec/v1oid sha256:8a4857dd67830beab0de00fe7692c2d76505df70139bb082fa996700b67aa349size 3060123version https://git-lfs.github.com/spec/v1oid sha256:6b10fb23dd851cc8e9512cc2f6c6cf8a7d55a9e129e0ea3fcfdf74a1d9c4ae4esize 31319123version https://git-lfs.github.com/spec/v1oid sha256:1e9c852dcaca7e39ee66137ba8b9d16cff5ac3db8773ada638088281140b801fsize 246535123version https://git-lfs.github.com/spec/v1oid sha256:74e1ec553c236519ce940f48b25c8f9b87aca28e5746f70de8e292fcae7b3dfbsize 31323123version https://git-lfs.github.com/spec/v1oid sha256:052f088da1444c45bc8b0bc6f22e199ded5ea97f34856c3f9869012b397facc9size 445syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_X_host.npyAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_gen.pyAdded+8
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_meta_host.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/_fd_train.pyAdded+36
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/forest-m1-1200-20260511_124615.csvAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/forestdiffusion_model.joblibAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/gen_20260511_124615.logAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/input_snapshot.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/models_fd/model.joblibAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/run_config.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/runtime_result.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/staged_features.jsonAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/test.csvAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/train.csvAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/staged/public/val.csvAdded+3
syntheticSuccess/m1/forestdiffusion/forest-m1-20260511_124552/train_20260511_124552.logAdded+3