Spaces:
Running on Zero
Running on Zero
compact the status panel (228px -> ~2-3 lines): it sits above the tabs in a non-scrolling iframe, so every line pushed the controls further out of reach; all warnings and disclosures kept
Browse files
app.py
CHANGED
|
@@ -464,41 +464,36 @@ def status_md(step, arm_path=CORE_ONLY):
|
|
| 464 |
arm = ARM_BY_PATH.get(arm_path or "")
|
| 465 |
if arm and arm["step"] != step:
|
| 466 |
arm = None
|
|
|
|
|
|
|
|
|
|
| 467 |
if not WRAPPERS:
|
| 468 |
arm_line = "**Arm:** adapter sites unavailable — core only"
|
| 469 |
elif arm:
|
| 470 |
sp = arm.get("spec") or {}
|
| 471 |
t = _tmpl(arm)
|
|
|
|
| 472 |
arm_line = (
|
| 473 |
-
f"**Arm
|
| 474 |
+ (f" ({arm['group']})" if arm.get("group") else "")
|
| 475 |
-
+ f" · {arm['
|
| 476 |
-
+ (f" · {arm['params']/1e6:.1f}M params" if arm.get("params")
|
| 477 |
-
else "")
|
| 478 |
+ (f" · {arm['sites']} sites" if arm.get("sites") else "")
|
| 479 |
-
+ (f" ·
|
| 480 |
-
if sp else "")
|
| 481 |
+ " · trained on THIS core"
|
| 482 |
-
+
|
| 483 |
-
|
| 484 |
-
|
| 485 |
-
+ (f" \n**Decode:** T={_decode_of(arm)[0]:g}, "
|
| 486 |
-
f"top-p {_decode_of(arm)[1]:g} — {_decode_of(arm)[2]}"
|
| 487 |
-
if _decode_of(arm)[2] else "")
|
| 488 |
+ (f" \n⚠️ {t['note']}" if t.get("note") else ""))
|
| 489 |
else:
|
| 490 |
-
arm_line = (
|
| 491 |
-
+ (f" ({len(arms)} available
|
| 492 |
-
if arms else ""))
|
| 493 |
return " \n".join(filter(None, [
|
| 494 |
-
f"**
|
| 495 |
-
+ (f" · {meta['tokens']/1e9:.2f}B bytes" if meta.get("tokens") else "")
|
| 496 |
-
(f"
|
| 497 |
-
|
|
|
|
| 498 |
arm_line,
|
| 499 |
-
f"**Params:** {CORE_PARAMS/1e6:.1f}M core · context {CFG.context} bytes",
|
| 500 |
-
(f"ℹ️ newest checkpoint in the training repo is step {newest:,}"
|
| 501 |
-
if step != newest else ""),
|
| 502 |
("ℹ️ this checkpoint is post-anneal: its core chats on its own, so "
|
| 503 |
"*Core only* no longer shows an unconditioned model"
|
| 504 |
if step >= 58664 else ""),
|
|
|
|
| 464 |
arm = ARM_BY_PATH.get(arm_path or "")
|
| 465 |
if arm and arm["step"] != step:
|
| 466 |
arm = None
|
| 467 |
+
# compact by design: this panel sits above the tabs, and the Space
|
| 468 |
+
# is embedded in a non-scrolling iframe where every extra line
|
| 469 |
+
# pushes the controls further out of reach
|
| 470 |
if not WRAPPERS:
|
| 471 |
arm_line = "**Arm:** adapter sites unavailable — core only"
|
| 472 |
elif arm:
|
| 473 |
sp = arm.get("spec") or {}
|
| 474 |
t = _tmpl(arm)
|
| 475 |
+
dt, dp, _ = _decode_of(arm)
|
| 476 |
arm_line = (
|
| 477 |
+
f"**Arm** `{arm['name']}`"
|
| 478 |
+ (f" ({arm['group']})" if arm.get("group") else "")
|
| 479 |
+
+ (f" · {arm['params']/1e6:.1f}M" if arm.get("params") else "")
|
|
|
|
|
|
|
| 480 |
+ (f" · {arm['sites']} sites" if arm.get("sites") else "")
|
| 481 |
+
+ (f" · n{sp['n_slots']}/h{sp['hidden']}" if sp else "")
|
|
|
|
| 482 |
+ " · trained on THIS core"
|
| 483 |
+
+ f" \n{FRAME_TAG.get(t['frame'], t['frame'])} · ends on "
|
| 484 |
+
f"{t['turn_end']} · T={dt:g}/top-p {dp:g}"
|
| 485 |
+
+ (f" · *{arm['behavior']}*" if arm.get("behavior") else "")
|
|
|
|
|
|
|
|
|
|
| 486 |
+ (f" \n⚠️ {t['note']}" if t.get("note") else ""))
|
| 487 |
else:
|
| 488 |
+
arm_line = ("**Arm** none attached — raw core"
|
| 489 |
+
+ (f" ({len(arms)} available here)" if arms else ""))
|
|
|
|
| 490 |
return " \n".join(filter(None, [
|
| 491 |
+
f"**step {step:,}**"
|
| 492 |
+
+ (f" · {meta['tokens']/1e9:.2f}B bytes" if meta.get("tokens") else "")
|
| 493 |
+
+ (f" · bpb {meta['val_bpb']:.3f}" if meta.get("val_bpb") else "")
|
| 494 |
+
+ f" · {CORE_PARAMS/1e6:.1f}M core · ctx {CFG.context}"
|
| 495 |
+
+ (f" · newest is {newest:,}" if step != newest else ""),
|
| 496 |
arm_line,
|
|
|
|
|
|
|
|
|
|
| 497 |
("ℹ️ this checkpoint is post-anneal: its core chats on its own, so "
|
| 498 |
"*Core only* no longer shows an unconditioned model"
|
| 499 |
if step >= 58664 else ""),
|