mattbitzesty commited on
Commit
1a99771
·
verified ·
1 Parent(s): 8dbb6c6

round-7 follow-through: disjoint_256 arm (scripts/hf_gpu_ab_multiseed_job.py)

Browse files
Files changed (1) hide show
  1. scripts/hf_gpu_ab_multiseed_job.py +13 -0
scripts/hf_gpu_ab_multiseed_job.py CHANGED
@@ -120,6 +120,19 @@ def main() -> int:
120
  else:
121
  log(f"[AB] WARN: no POM assets at {pom_src_dir}; openpom arm will fail")
122
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  # OpenPOM overlap proxy corpus (lives in the source tree's data/).
124
  if not (SOURCE_DIR / "data" / "openpom_curated_4983.csv").exists():
125
  for cand in (DATASET_DIR / "data" / "openpom_curated_4983.csv", DATASET_DIR / "openpom_curated_4983.csv"):
 
120
  else:
121
  log(f"[AB] WARN: no POM assets at {pom_src_dir}; openpom arm will fail")
122
 
123
+ # Stage disjoint-encoder assets for the disjoint_256 arm (round-7 follow-through).
124
+ dis_src_dir = DATASET_DIR / "artifacts" / "pom_disjoint"
125
+ if dis_src_dir.exists():
126
+ dis_dst = SOURCE_DIR / "artifacts" / "pom_disjoint"
127
+ dis_dst.mkdir(parents=True, exist_ok=True)
128
+ for fname in ("disjoint_embeddings.npy", "disjoint_index.json", "disjoint_manifest.json"):
129
+ f = dis_src_dir / fname
130
+ if f.exists():
131
+ shutil.copy2(f, dis_dst / fname)
132
+ log(f"[AB] staged disjoint-encoder assets -> {dis_dst}")
133
+ else:
134
+ log(f"[AB] WARN: no disjoint assets at {dis_src_dir}; disjoint_256 arm will fail")
135
+
136
  # OpenPOM overlap proxy corpus (lives in the source tree's data/).
137
  if not (SOURCE_DIR / "data" / "openpom_curated_4983.csv").exists():
138
  for cand in (DATASET_DIR / "data" / "openpom_curated_4983.csv", DATASET_DIR / "openpom_curated_4983.csv"):