Skip to content

Launch content: the /ml quickstart + the 2026-11 first-baselines table - #251

Merged
ronaldtse merged 1 commit into
mainfrom
feat/ml-launch-content
Nov 23, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
feat/ml-launch-content

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Launch content for the model round (heb-vocalized-plane-3.0 shipped; runtimes rs 0.4.0 / ruby 3.8.0 / npm 6.0.0 pin index-v16):

  • /ml#getting-started — "Use the models." Install lines plus the real three-line recipe per runtime, each verified against the released API at the runtime's origin/main (not from memory):
    • TypeScript (npm 6.0.0): import { imf, PlaneModel } from "interscript/ml" → imf.resolve(id) → PlaneModel.fromZip(bytes) → await model.transform(text) (the ./ml subpath export, plane kind's actual method)
    • Ruby (gem 3.8.0): require "interscript/ml" → Interscript::ML::IMF.resolve(id) → Interscript::ML::PlaneModel.from_zip(File.binread(path)) → model.translate(text)
    • Python: import interscript → interscript.transliterate("heb-vocalized-plane-3.0", text) — the unified dispatch that routes kind: plane ids to PlaneModel.from_zip(...).translate(...) (shipped in v0.2.1)
    • The example input/output is the frozen conformance vector ואם הזה, כשר → וְאִם הִזָּה, כָּשֵׁר from interscript-models/conformance/heb-vocalized-plane-3.0-vectors.json — all three runtimes are gated byte-exact on it per conformance/CONFORMANCE.md
    • Honest notes on the page: first use downloads the ~416 MB int8 artifact and caches it (INTERSCRIPT_ML_CACHE); Python 0.2.1 pins the previous index so INTERSCRIPT_ML_INDEX must point at index-v16 until the pending release ships the new pin; the Rust runtime serves the map layer — neural inference ships in the other three runtimes
  • /benchmarks — "First baselines (frozen)". The 2026-11-21 registry cold-load / RSS / throughput table quoted from interscript-rs docs/benchmarks/BASELINES-2026-11.md: one-shot serial run, Apple M1 Max, maps pin 9cfbf4cf (457 maps), 200-doc sample; protocol linked; the ts JSON-IR asymmetry, ruby parsanol cold cost, rs rababa gap, and the py pre-stategeocadastre-ukr-Cyrl-Latn-1993 system not working on interscript.org #49 state each stated; the same-day py refresh (Suggesting Example on API demo #48/stategeocadastre-ukr-Cyrl-Latn-1993 system not working on interscript.org #49 → 457/457, 91.1 docs/sec) included as explicitly not directly comparable.
  • crystals section fix. The section still taught the pre-rebrand API — gem install secryst / Secryst::Model.load(...) — dead since the rebrand. Replaced with the current interscript packages, INTERSCRIPT_ML_INDEX / INTERSCRIPT_ML_CACHE (SECRYST_* noted as legacy aliases), the KV-cache/mask-predict decode split, and the esm.sh pin 5.3.1 → 6.0.0; the concrete recipe now lives once, in the getting-started section.
  • .prettierignore: benchmarks.astro added to the hand-wrapped-prose list per CLAUDE.md convention (its new section uses the text↔tag {" "} pattern that prettier's reflow breaks; the file was prettier-clean at HEAD and stays so).

Test plan

  • npm run check — 0 errors / 0 warnings / 1 hint (identical to main's baseline)
  • npm run build — green
  • npm test — 239 passed / 16 skipped / 1 failed: test/api-endpoints.test.ts "Server failed to start within 12s" — the documented env-only failure. Accepted evidence per prior rounds: direct curl smoke of the built server — GET /api/systems → 200 with all 457 systems; /ml and /benchmarks → 200
  • Built HTML content checks: benchmark table (all four rows verbatim incl. 137.59/974.2/1,976.3), protocol + baselines links, quickstart code blocks, conformance vector output, cache/index/rust notes — all present in dist/client/{ml,benchmarks}/index.html
  • Whitespace-collapse guard (test/site.test.ts) green; eslint clean on both pages
  • Commit author verified [email protected]; no attribution trailers

…rst baselines table

/ml#getting-started — "Use the models": install lines plus the real
three-line recipe per runtime, all verified against each runtime's
released API (npm 6.0.0 imf.resolve + PlaneModel.fromZip.transform;
ruby 3.8.0 IMF.resolve + PlaneModel.from_zip; py transliterate
unified dispatch). The example input/output is the frozen
conformance vector for heb-vocalized-plane-3.0; the page notes the
py 0.2.1 index-v12 pin (INTERSCRIPT_ML_INDEX override until the
index-v16 release ships) and that the Rust runtime serves the map
layer only. The crystals section's pre-rebrand secryst install/API
snippet (Secryst::Model.load) is replaced with the current
interscript packages, INTERSCRIPT_ML_* env names, and the esm.sh
6.0.0 pin.

/benchmarks — "First baselines (frozen)": the 2026-11-21 registry
cold-load / RSS / throughput table quoted from interscript-rs
docs/benchmarks/BASELINES-2026-11.md, with machine context, the
protocol link, per-runtime reading notes, and the same-day py
refresh (#48/#49) stated as not directly comparable.
@ronaldtse
ronaldtse merged commit e04d982 into main Nov 23, 2026
7 checks passed
@ronaldtse
ronaldtse deleted the feat/ml-launch-content branch November 23, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant