-
Notifications
You must be signed in to change notification settings - Fork 1
docs: clarify train_rows vs full-shard streaming (recipe 1.2) #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -71,12 +71,30 @@ eval as `ChallengeInternal` — never a miner score. | |||||||||||||
| | Hard step cap | 20 000 | | ||||||||||||||
| | Source size | 128 KiB per script | | ||||||||||||||
| | Model parameters | ≤ **350 000 000** after `build_model` | | ||||||||||||||
| | `train_rows` (from `GET /v1/recipe`) | **2048** — baseline / default cut in `ctx` | | ||||||||||||||
| | `val_rows` | **256** — frozen val scored by the harness | | ||||||||||||||
|
|
||||||||||||||
| `train_rows` is what the **sealed baseline** trains on (~2M GPT-2 tokens for | ||||||||||||||
| that slice). It is **not** a hard “you only get 2048 rows” ceiling for | ||||||||||||||
| competitive recipes: the harness gives you the full pinned parquet at | ||||||||||||||
| `ctx["dataset_path"]`, and you may stream it until the 6h / 20k-step guard | ||||||||||||||
| fires. Token count then depends on your loop and the GPU — a long Lium run can | ||||||||||||||
| reach ~O(10⁹) tokens. Marketing charts that once said “2.6B tokens · single | ||||||||||||||
| pass” were showing a leader’s **observed** telemetry, not a fixed recipe | ||||||||||||||
|
Comment on lines
+81
to
+83
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Use precise notation for the observed token count.
Proposed wording-a long Lium run can reach ~O(10⁹) tokens.
+a long Lium run can process on the order of 10⁹ tokens.📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||
| quota. Always trust live `GET /v1/recipe` (`pin_hex`, `train_rows`, caps). | ||||||||||||||
|
|
||||||||||||||
| The sealed baseline is deliberately mediocre (short cut, few steps). Matching | ||||||||||||||
| a board BPB near ~4–5 requires a competitive trainer, not an unmodified | ||||||||||||||
| baseline on a 4090 for a few minutes. | ||||||||||||||
|
|
||||||||||||||
| ## Recipe pin | ||||||||||||||
|
|
||||||||||||||
| `GET /v1/recipe` returns the versioned descriptor (dataset URL/hash, caps, harness | ||||||||||||||
| digest, recipe version). `GET /v1/recipe/baseline` returns the official baseline | ||||||||||||||
| scripts — the best starting point for your own architecture. | ||||||||||||||
| `GET /v1/recipe` returns the versioned descriptor (dataset URL/hash, caps, | ||||||||||||||
| `train_rows` / `val_rows`, recipe version, `pin_hex`). Production today is | ||||||||||||||
| recipe **1.2.0** — open docs PRs that advertise 1.3+/1.4.0/v3 scoring describe | ||||||||||||||
| **unreleased** control-plane work (`prism-better`), not what | ||||||||||||||
| `https://chain.joinbase.ai` executes. `GET /v1/recipe/baseline` returns the | ||||||||||||||
|
Comment on lines
+93
to
+96
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Replace the relative production date.
🤖 Prompt for AI Agents |
||||||||||||||
| official baseline scripts — the best starting point for your own architecture. | ||||||||||||||
|
|
||||||||||||||
| ## Next | ||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: BaseIntelligence/prism
Length of output: 211
🏁 Script executed:
Repository: BaseIntelligence/prism
Length of output: 3272
🏁 Script executed:
Repository: BaseIntelligence/prism
Length of output: 195
🏁 Script executed:
Repository: BaseIntelligence/prism
Length of output: 4170
Update
getting-started.mdto document/challenge/prism/v1/recipe.Docs elsewhere record
chain.joinbase.aias the prod gateway plus the/challenge/prism/...prefix, but these lines and theAlways trust live...guidance point toGET /v1/recipe, which is the 404 route. Keep the live URL/path accurate alongside the documentedtrain_rows,val_rows,pin_hex, caps, and1.2.0values.Also applies to: 92-97
🤖 Prompt for AI Agents