tinkersnot commited on
Commit
06513ff
·
verified ·
1 Parent(s): aa65f55

Upload spike-qwen2b.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. spike-qwen2b.html +2 -1
spike-qwen2b.html CHANGED
@@ -13,7 +13,7 @@
13
  pre{white-space:pre-wrap;word-break:break-word;background:#0b0d10;padding:8px;border-radius:6px;margin:0;font-size:12.5px}
14
  #metrics{margin:12px 0;font-weight:bold}#log{color:#6b727e;font-size:12px;max-height:160px;overflow:auto;white-space:pre-wrap}
15
  </style>
16
- <h1>Qwen3.5-2B q4f16 — browser WebGPU check</h1>
17
  <div id="sub">Official mlc-ai prebuilt (Qwen3.5-2B-q4f16_1-MLC) via web-llm · native chat template · #98 browser-tier decision</div>
18
  <div id="env">probing WebGPU…</div>
19
  <button id="run" disabled>Run check</button>
@@ -30,6 +30,7 @@ const esc = (s) => String(s).replace(/[&<>]/g, (c) => ({ "&":"&amp;","<":"&lt;",
30
  // ?model=2b|4b selects the tier — 4B is the reasoner half of the 0.8B/4B pairing.
31
  const MODELS = { "2b": "Qwen3.5-2B-q4f16_1-MLC", "4b": "Qwen3.5-4B-q4f16_1-MLC" };
32
  const MODEL_ID = MODELS[new URLSearchParams(location.search).get("model")] || MODELS["2b"];
 
33
 
34
  // Qwen3.5 native tool-call format (XML). Parse both the native <function=…> and
35
  // the Hermes <tool_call>{json}</tool_call> shapes, since which one the q4 build
 
13
  pre{white-space:pre-wrap;word-break:break-word;background:#0b0d10;padding:8px;border-radius:6px;margin:0;font-size:12.5px}
14
  #metrics{margin:12px 0;font-weight:bold}#log{color:#6b727e;font-size:12px;max-height:160px;overflow:auto;white-space:pre-wrap}
15
  </style>
16
+ <h1 id="h1">Qwen3.5 q4f16 — browser WebGPU check</h1>
17
  <div id="sub">Official mlc-ai prebuilt (Qwen3.5-2B-q4f16_1-MLC) via web-llm · native chat template · #98 browser-tier decision</div>
18
  <div id="env">probing WebGPU…</div>
19
  <button id="run" disabled>Run check</button>
 
30
  // ?model=2b|4b selects the tier — 4B is the reasoner half of the 0.8B/4B pairing.
31
  const MODELS = { "2b": "Qwen3.5-2B-q4f16_1-MLC", "4b": "Qwen3.5-4B-q4f16_1-MLC" };
32
  const MODEL_ID = MODELS[new URLSearchParams(location.search).get("model")] || MODELS["2b"];
33
+ document.getElementById("h1").textContent = `${MODEL_ID} — browser WebGPU check`;
34
 
35
  // Qwen3.5 native tool-call format (XML). Parse both the native <function=…> and
36
  // the Hermes <tool_call>{json}</tool_call> shapes, since which one the q4 build