tchbcb commited on
Commit
2dd02cc
·
verified ·
1 Parent(s): ad64900

v0.4.10: watchdog env-driven checkpoint

Browse files
Files changed (1) hide show
  1. scripts/watchdog_eval_v4.py +4 -1
scripts/watchdog_eval_v4.py CHANGED
@@ -9,14 +9,17 @@ the zero-shot baseline: 150 actions, hf backend) and writes
9
  /content/eval_v4_control.json.
10
  """
11
  import json
 
12
  import subprocess
13
  import time
14
 
15
  STATUS = "/content/qwenjev_work_v3/v3_status.json"
16
  OUT = "/content/eval_v4_control.json"
 
 
17
  CMD = ("cd /content/qwenjev && python3 -u ops/run_eval.py "
18
  "--games ar25 bp35 --max-actions 150 "
19
- "--checkpoint checkpoints/qwenjev-s1-hf-v4 --backend hf "
20
  f"--out {OUT} >> /content/eval_v4.log 2>&1")
21
 
22
  while True:
 
9
  /content/eval_v4_control.json.
10
  """
11
  import json
12
+ import os
13
  import subprocess
14
  import time
15
 
16
  STATUS = "/content/qwenjev_work_v3/v3_status.json"
17
  OUT = "/content/eval_v4_control.json"
18
+ # v0.4.10: namespace-driven so the same watchdog serves v4 and v4b reruns
19
+ CKPT = "checkpoints/" + os.environ.get("QWENJEV_OUT", "qwenjev-s1-hf-v4")
20
  CMD = ("cd /content/qwenjev && python3 -u ops/run_eval.py "
21
  "--games ar25 bp35 --max-actions 150 "
22
+ f"--checkpoint {CKPT} --backend hf "
23
  f"--out {OUT} >> /content/eval_v4.log 2>&1")
24
 
25
  while True: