Skip to content

Commit d147b49

Browse files
committed
feat(site): neural layer page + model catalogue teaser
/ml catalogs the shipped IMF v1 models (server fp32 + client int8 tiers) as a ledger with measured metrics and provenance links; home page gains a teaser section; nav gains Models. Also fixes pre-existing mobile overflow from grid min-width on pre blocks.
1 parent ad9295f commit d147b49

3 files changed

Lines changed: 605 additions & 0 deletions

File tree

src/layouts/Base.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const navItems = [
2525
{ href: "/marc", label: "MARC" },
2626
{ href: "/subtitles", label: "Subtitles" },
2727
{ href: "/maps", label: "Maps" },
28+
{ href: "/ml", label: "Models" },
2829
{ href: "/scripts", label: "Scripts" },
2930
{ href: "/use-cases", label: "Use cases" },
3031
{ href: "/api", label: "API" },
@@ -113,6 +114,7 @@ const currentPath = Astro.url.pathname
113114
<ul>
114115
<li><a href="/demo">Live demo</a></li>
115116
<li><a href="/maps">Map catalogue</a></li>
117+
<li><a href="/ml">Model catalogue</a></li>
116118
<li><a href="/authorities">Authorities</a></li>
117119
<li><a href="/docs">Documentation</a></li>
118120
<li><a href="/docs/phonological-layer">Phonological layer</a></li>
@@ -125,6 +127,7 @@ const currentPath = Astro.url.pathname
125127
<li><a href="https://www.npmjs.com/package/interscript-ts" rel="noreferrer">TypeScript package</a></li>
126128
<li><a href="https://github.com/interscript/maps" rel="noreferrer">Map corpus</a></li>
127129
<li><a href="https://github.com/interscript/interscript-ruby" rel="noreferrer">Ruby source</a></li>
130+
<li><a href="/ml">Neural models</a></li>
128131
<li><a href="https://www.secryst.org" rel="noreferrer">secryst crystals</a></li>
129132
<li><a href="https://github.com/interscript/interscript-ml" rel="noreferrer">interscript-ml contract</a></li>
130133
</ul>

src/pages/index.astro

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,49 @@ end`} /></pre>
243243
</div>
244244
</section>
245245

246+
<!-- ════════════════════════════════════════════════════════════════
247+
NEURAL LAYER — model catalogue teaser
248+
════════════════════════════════════════════════════════════════ -->
249+
<section class="section neural surface-deep">
250+
<div class="container">
251+
<header class="section-head">
252+
<p class="eyebrow">The neural layer</p>
253+
<h2>Where maps end, models begin.</h2>
254+
<p class="section-deck">
255+
Some conversions have no authority document: restoring the diacritics
256+
a scribe left out, reading Thai or Urdu as phonemes. Those ship as
257+
checksummed neural artifacts under the same discipline — measured
258+
metrics, teacher next to student, identical bytes from every runtime.
259+
</p>
260+
</header>
261+
<ul class="neural-ledger">
262+
<li class="neural-row">
263+
<span class="neural-task">diacritization</span>
264+
<code class="neural-id">heb-diac-1.0</code>
265+
<span class="neural-metric tnum">DER 17.46 beam-4</span>
266+
</li>
267+
<li class="neural-row">
268+
<span class="neural-task">g2p</span>
269+
<code class="neural-id">tha-g2p-base-1.0</code>
270+
<span class="neural-metric tnum">PER 9.19</span>
271+
</li>
272+
<li class="neural-row">
273+
<span class="neural-task">diacritization</span>
274+
<code class="neural-id">urd-diac-1.0</code>
275+
<span class="neural-metric tnum">CER 3.74</span>
276+
</li>
277+
<li class="neural-row">
278+
<span class="neural-task">g2p · client</span>
279+
<code class="neural-id">tha-g2p-small-1.0</code>
280+
<span class="neural-metric tnum">int8 · 246 MiB · PER 12.06</span>
281+
</li>
282+
</ul>
283+
<p class="see-all">
284+
<a class="btn btn-ghost" href="/ml">The model catalogue →</a>
285+
</p>
286+
</div>
287+
</section>
288+
246289
<!-- ════════════════════════════════════════════════════════════════
247290
INSTALL CTA
248291
════════════════════════════════════════════════════════════════ -->
@@ -432,6 +475,10 @@ curl interscript.org/maps/&lt;system-code&gt;.json</code></pre>
432475
.pipeline-step pre {
433476
margin-top: auto;
434477
}
478+
.pipeline-step,
479+
.cta-grid > * {
480+
min-width: 0;
481+
}
435482

436483
/* ── Featured systems ──────────────────────────────────────────── */
437484
.system-list {
@@ -518,6 +565,48 @@ curl interscript.org/maps/&lt;system-code&gt;.json</code></pre>
518565
margin-top: 2.5rem;
519566
}
520567

568+
/* ── Neural layer teaser ───────────────────────────────────────── */
569+
.neural-ledger {
570+
list-style: none;
571+
padding: 0;
572+
margin: 0;
573+
border-top: 2px solid var(--color-ink);
574+
max-width: 48rem;
575+
}
576+
.neural-row {
577+
display: grid;
578+
grid-template-columns: 9rem 1fr auto;
579+
gap: 1.5rem;
580+
align-items: baseline;
581+
padding: 0.9rem 0;
582+
border-bottom: 1px dotted var(--color-rule);
583+
}
584+
.neural-task {
585+
font-family: var(--font-mono);
586+
font-size: var(--text-micro);
587+
letter-spacing: 0.12em;
588+
text-transform: uppercase;
589+
color: var(--color-stone);
590+
}
591+
.neural-id {
592+
font-family: var(--font-mono);
593+
font-size: 0.875rem;
594+
color: var(--color-ink);
595+
background: transparent;
596+
padding: 0;
597+
}
598+
.neural-metric {
599+
font-family: var(--font-mono);
600+
font-size: 0.8125rem;
601+
color: var(--color-stone);
602+
}
603+
@media (max-width: 640px) {
604+
.neural-row {
605+
grid-template-columns: 1fr;
606+
gap: 0.15rem;
607+
}
608+
}
609+
521610
/* ── CTA ───────────────────────────────────────────────────────── */
522611
.cta-grid {
523612
display: grid;

0 commit comments

Comments
 (0)