Spaces:
Running on Zero
Running on Zero
revert to the two-craft build: adding mini-beatrix-3 as a third import-time craft kept the replica in APP_STARTING and never took over from the running one. The v3 hookup returns with a smaller boot footprint
Browse files
README.md
CHANGED
|
@@ -9,17 +9,16 @@ python_version: '3.12'
|
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
license: mit
|
| 12 |
-
short_description:
|
| 13 |
models:
|
| 14 |
- AbstractPhil/mini-beatrix-2.5s
|
| 15 |
-
- AbstractPhil/mini-beatrix-3
|
| 16 |
- AbstractPhil/alephllm-mini-beatrix-training
|
| 17 |
---
|
| 18 |
|
| 19 |
# Beatrix — AlephLLM chat
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
|
| 24 |
**mini-beatrix-1** — 112.5M parameters, pretrained on 15.3 billion raw
|
| 25 |
bytes, serving with a **library of detachable arms**: small aleph
|
|
@@ -34,14 +33,6 @@ stacks, routed dispatches and recurrent arms, each labelled with its
|
|
| 34 |
measured score and how settled it is — and opens on the best-measured
|
| 35 |
one.
|
| 36 |
|
| 37 |
-
**mini-beatrix-3** — 376M parameters over 32 blocks: the same governed
|
| 38 |
-
full-splat hub, deeper, and **the mission that is running right now**. It
|
| 39 |
-
is unfinished — mid-pretraining, with nine curriculum stages and both
|
| 40 |
-
anneals still to come — so it has no conversation frame and no arms.
|
| 41 |
-
Use **Completion**: it continues text, it does not take turns. You are
|
| 42 |
-
looking at a craft while it is still being made, as it stood when this
|
| 43 |
-
Space last started.
|
| 44 |
-
|
| 45 |
**Take it home — mini-beatrix-2.5s.** The arms marked 📦 in the picker
|
| 46 |
ship with this exact 2s core, bit for bit, as
|
| 47 |
[mini-beatrix-2.5s](https://huggingface.co/AbstractPhil/mini-beatrix-2.5s):
|
|
|
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
license: mit
|
| 12 |
+
short_description: Two byte-level AlephLLM crafts and their arm libraries
|
| 13 |
models:
|
| 14 |
- AbstractPhil/mini-beatrix-2.5s
|
|
|
|
| 15 |
- AbstractPhil/alephllm-mini-beatrix-training
|
| 16 |
---
|
| 17 |
|
| 18 |
# Beatrix — AlephLLM chat
|
| 19 |
|
| 20 |
+
Two lineages of the same byte-level architecture, served side by side.
|
| 21 |
+
Pick the **Craft** first; everything below it follows.
|
| 22 |
|
| 23 |
**mini-beatrix-1** — 112.5M parameters, pretrained on 15.3 billion raw
|
| 24 |
bytes, serving with a **library of detachable arms**: small aleph
|
|
|
|
| 33 |
measured score and how settled it is — and opens on the best-measured
|
| 34 |
one.
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
**Take it home — mini-beatrix-2.5s.** The arms marked 📦 in the picker
|
| 37 |
ship with this exact 2s core, bit for bit, as
|
| 38 |
[mini-beatrix-2.5s](https://huggingface.co/AbstractPhil/mini-beatrix-2.5s):
|
app.py
CHANGED
|
@@ -17,12 +17,6 @@ own config, its own byte format, and its own arm library:
|
|
| 17 |
routed dispatches, recurrent arms); arm_mount.py
|
| 18 |
attaches any of them and detaches back to the bare
|
| 19 |
core, and arms_catalog.json describes each one.
|
| 20 |
-
mini-beatrix-3 376.0M · 32 blocks of the same governed full-splat hub
|
| 21 |
-
· THE MISSION RUNNING NOW. Mid-pretraining, with the
|
| 22 |
-
curriculum and both anneals still ahead, so it has no
|
| 23 |
-
conversation frame and no arms yet: Completion is the
|
| 24 |
-
honest view of it. Its checkpoint list is whatever the
|
| 25 |
-
run had shipped when this Space last started.
|
| 26 |
|
| 27 |
Crafts are discovered from the repo at boot: a craft with no manifest or
|
| 28 |
no checkpoint is skipped, and one that starts shipping appears on its
|
|
@@ -103,16 +97,9 @@ GEN_BUDGET_S = 95.0
|
|
| 103 |
# the detach exhibit: a core that does NOT chat plus a 3.2M arm that
|
| 104 |
# makes it chat, removable bit-for-bit. Both crafts READ the arm index;
|
| 105 |
# 2s also reads arms_catalog.json, which overlays it.
|
| 106 |
-
# mini-beatrix-3 is the mission RUNNING NOW: 376M, 32 blocks, the same
|
| 107 |
-
# governed full-splat hub at depth. It is mid-pretraining — nine
|
| 108 |
-
# curriculum stages and both anneals still ahead — so it has never seen a
|
| 109 |
-
# conversation frame and the status panel says so on its own (the
|
| 110 |
-
# still-pretraining branch below is manifest-driven, not hardcoded).
|
| 111 |
-
# Completion is the honest view of it. No arms exist on it yet.
|
| 112 |
CRAFTS = [
|
| 113 |
{"name": "mini-beatrix-1", "fmt": "v1tags", "wants_arms": True},
|
| 114 |
{"name": "mini-beatrix-2s", "fmt": "specials", "wants_arms": True},
|
| 115 |
-
{"name": "mini-beatrix-3", "fmt": "specials", "wants_arms": False},
|
| 116 |
]
|
| 117 |
DEFAULT_CRAFT = "mini-beatrix-2s" # the completed mission leads
|
| 118 |
|
|
@@ -439,11 +426,6 @@ class Craft:
|
|
| 439 |
self.bpb_at[s] = first_seen.setdefault(round(float(v), 12), s)
|
| 440 |
self.phases = manifest.get("phases", [])
|
| 441 |
self.tokens_seen = manifest.get("tokens_seen", 0)
|
| 442 |
-
# When the training side last wrote this manifest. The Space reads
|
| 443 |
-
# the repo ONCE at start, so for a craft still training this is
|
| 444 |
-
# the age of everything shown about it — said out loud rather than
|
| 445 |
-
# left for a visitor to assume it is live.
|
| 446 |
-
self.updated_utc = manifest.get("updated_utc") or ""
|
| 447 |
# Has the craft been through the phase that TEACHES its chat
|
| 448 |
# frame? Read from the manifest, never assumed — so this flips
|
| 449 |
# by itself the day the anneal phase completes.
|
|
@@ -802,10 +784,6 @@ def status_md(craft, step, arm_path=CORE_ONLY):
|
|
| 802 |
"reached the anneal that teaches its conversation frame — Chat "
|
| 803 |
"will read as off-distribution. **Completion** is the honest "
|
| 804 |
"view of what she can do today."
|
| 805 |
-
+ (f" Checkpoints and progress were read when this Space started"
|
| 806 |
-
f", from a manifest written {c.updated_utc}; the run has moved "
|
| 807 |
-
"on since, and a restart picks up what it shipped."
|
| 808 |
-
if c.updated_utc else "")
|
| 809 |
if c.fmt == "specials" and not c.frame_trained else ""),
|
| 810 |
# the craft finished its chat anneal but THIS checkpoint predates
|
| 811 |
# it: the pre-chat baseline continues documents rather than
|
|
@@ -1362,7 +1340,7 @@ TITLE = "# Beatrix — byte-level AlephLLMs you can talk to"
|
|
| 1362 |
# it pushes the tabs and controls out of reach whenever the resize lags.
|
| 1363 |
# Everything explanatory lives in a closed accordion for that reason.
|
| 1364 |
DESCRIPTION = """
|
| 1365 |
-
|
| 1366 |
**Craft** first — everything below it follows.
|
| 1367 |
|
| 1368 |
**mini-beatrix-2s** — 237.1M parameters, **full splat**: the signed
|
|
@@ -1407,16 +1385,6 @@ The library here is the wider surface — 73 rows including the refuted
|
|
| 1407 |
and control ones that exist to be disprovable. The package is the
|
| 1408 |
settled subset, carrying each arm's measured numbers with it.
|
| 1409 |
|
| 1410 |
-
**mini-beatrix-3 — the mission running now.** 376M parameters over 32
|
| 1411 |
-
blocks: the same governed full-splat hub, deeper. It is **mid-pretraining
|
| 1412 |
-
and unfinished**, with nine curriculum stages and both anneals still
|
| 1413 |
-
ahead, so it has never seen a conversation frame and has no arms yet. Do
|
| 1414 |
-
not ask it to chat; use **Completion** and watch it continue text. What
|
| 1415 |
-
you get is the run as it stood when this Space last started, not a
|
| 1416 |
-
finished model — the point is to look at a craft while it is still being
|
| 1417 |
-
made. Its held-out reading has already passed the finished 2s core, which
|
| 1418 |
-
is what depth was supposed to buy.
|
| 1419 |
-
|
| 1420 |
**mini-beatrix-1** — 112.5M parameters, pretrained on 15.3 billion raw
|
| 1421 |
bytes, carrying a **library of detachable arms**: small adapters
|
| 1422 |
(3.2M–5.3M parameters) each trained on one exact frozen core. Pick a
|
|
|
|
| 17 |
routed dispatches, recurrent arms); arm_mount.py
|
| 18 |
attaches any of them and detaches back to the bare
|
| 19 |
core, and arms_catalog.json describes each one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
Crafts are discovered from the repo at boot: a craft with no manifest or
|
| 22 |
no checkpoint is skipped, and one that starts shipping appears on its
|
|
|
|
| 97 |
# the detach exhibit: a core that does NOT chat plus a 3.2M arm that
|
| 98 |
# makes it chat, removable bit-for-bit. Both crafts READ the arm index;
|
| 99 |
# 2s also reads arms_catalog.json, which overlays it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
CRAFTS = [
|
| 101 |
{"name": "mini-beatrix-1", "fmt": "v1tags", "wants_arms": True},
|
| 102 |
{"name": "mini-beatrix-2s", "fmt": "specials", "wants_arms": True},
|
|
|
|
| 103 |
]
|
| 104 |
DEFAULT_CRAFT = "mini-beatrix-2s" # the completed mission leads
|
| 105 |
|
|
|
|
| 426 |
self.bpb_at[s] = first_seen.setdefault(round(float(v), 12), s)
|
| 427 |
self.phases = manifest.get("phases", [])
|
| 428 |
self.tokens_seen = manifest.get("tokens_seen", 0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 429 |
# Has the craft been through the phase that TEACHES its chat
|
| 430 |
# frame? Read from the manifest, never assumed — so this flips
|
| 431 |
# by itself the day the anneal phase completes.
|
|
|
|
| 784 |
"reached the anneal that teaches its conversation frame — Chat "
|
| 785 |
"will read as off-distribution. **Completion** is the honest "
|
| 786 |
"view of what she can do today."
|
|
|
|
|
|
|
|
|
|
|
|
|
| 787 |
if c.fmt == "specials" and not c.frame_trained else ""),
|
| 788 |
# the craft finished its chat anneal but THIS checkpoint predates
|
| 789 |
# it: the pre-chat baseline continues documents rather than
|
|
|
|
| 1340 |
# it pushes the tabs and controls out of reach whenever the resize lags.
|
| 1341 |
# Everything explanatory lives in a closed accordion for that reason.
|
| 1342 |
DESCRIPTION = """
|
| 1343 |
+
Two lineages of the same architecture, served side by side. Pick the
|
| 1344 |
**Craft** first — everything below it follows.
|
| 1345 |
|
| 1346 |
**mini-beatrix-2s** — 237.1M parameters, **full splat**: the signed
|
|
|
|
| 1385 |
and control ones that exist to be disprovable. The package is the
|
| 1386 |
settled subset, carrying each arm's measured numbers with it.
|
| 1387 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1388 |
**mini-beatrix-1** — 112.5M parameters, pretrained on 15.3 billion raw
|
| 1389 |
bytes, carrying a **library of detachable arms**: small adapters
|
| 1390 |
(3.2M–5.3M parameters) each trained on one exact frozen core. Pick a
|