Skip to content

Commit 6a39ec2

Browse files
committed
feat(neural): lite int4 + 2.1 in the demo, index pinned to v3
The dropdown leads with the browser-budget artifact (95MB int4 depth-cut student) and gains the 2.1 rung; the asset index pin moves to index-v3 (22-model surface).
1 parent 484c247 commit 6a39ec2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

e2e/e3-debug.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const p = await b.newPage()
44
await p.goto("https://interscript.org/neural", { waitUntil: "networkidle" })
55
const res = await p.evaluate(async () => {
66
try {
7-
const r = await fetch("https://github.com/interscript/interscript-ml/releases/download/index-v2/models-index.yaml.sha256")
7+
const r = await fetch("https://github.com/interscript/interscript-ml/releases/download/index-v3/models-index.yaml.sha256")
88
return `ok ${r.status}`
99
} catch (e) { return `FAIL ${e.message} | ${e.cause?.message ?? ""}` }
1010
})

src/pages/neural.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import Base from "../layouts/Base.astro"
1616

1717
<label for="model">Model</label>
1818
<select id="model">
19+
<option value="ara-diac-layerdrop-1.0-int4">Arabic diacritization — lite (int4, 95 MB)</option>
20+
<option value="ara-diac-small-2.1-int8">Arabic diacritization — 2.1 (int8, 264 MB)</option>
1921
<option value="ara-diac-small-2.0-int8">Arabic diacritization — 2.0 (int8, 264 MB)</option>
2022
<option value="ara-diac-small-1.0-int8">Arabic diacritization — 1.0 (int8, 264 MB)</option>
2123
<option value="tha-g2p-small-1.0">Thai G2P — small (int8, 202 MB)</option>
@@ -89,7 +91,7 @@ import Base from "../layouts/Base.astro"
8991
<script>
9092
import { imf } from "interscript/ml"
9193

92-
const ASSET_INDEX = "https://api.interscript.org/v1/assets/index-v2/models-index.yaml"
94+
const ASSET_INDEX = "https://api.interscript.org/v1/assets/index-v3/models-index.yaml"
9395

9496
const $ = (id: string) => document.getElementById(id)!
9597
let current: { dispose?(): Promise<void> } | null = null

0 commit comments

Comments
 (0)