Download index.html from yeeeeezus/inference: direct link, hf CLI and curl.
- Browser
- Download file 26.6 kB
-
https://huggingface.co/spaces/yeeeeezus/inference/resolve/main/index.html
- Command line
-
hf download hf://spaces/yeeeeezus/inference/index.html
-
curl -L -o index.html https://huggingface.co/spaces/yeeeeezus/inference/resolve/main/index.html
26.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>yeeeeezus/inference — open model routing platform</title> | |
| <meta name="description" content="Frontier open models, one route. In-browser semantic search over the verified aisearch index, the full 21-item triage table, and the curated servable catalog. Companion static deployment — the live streaming playground is one link away."> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet"> | |
| <style> | |
| :root{ | |
| --bg:#09090b; --card:#101014; --border:rgba(255,255,255,.09); --border2:rgba(255,255,255,.14); | |
| --fg:#fafafa; --muted:#a1a1aa; --dim:#6b6b74; --green:#34d399; --green-dim:rgba(52,211,153,.12); | |
| --amber:#fbbf24; --red:#f87171; | |
| --sans:'Geist',ui-sans-serif,system-ui,sans-serif; --mono:'Geist Mono',ui-monospace,monospace; | |
| } | |
| *{box-sizing:border-box;margin:0;padding:0} | |
| html{scroll-behavior:smooth} | |
| body{background:var(--bg);color:var(--fg);font-family:var(--sans);-webkit-font-smoothing:antialiased;line-height:1.55} | |
| ::selection{background:rgba(52,211,153,.3)} | |
| *::-webkit-scrollbar{width:8px;height:8px} | |
| *::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:99px} | |
| a{color:inherit;text-decoration:none} | |
| .wrap{max-width:1120px;margin:0 auto;padding:0 20px} | |
| .eyebrow{font-family:var(--mono);font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--green)} | |
| h1{font-size:clamp(38px,6vw,58px);font-weight:600;letter-spacing:-.03em;line-height:1.03;margin-top:18px} | |
| h2{font-size:clamp(26px,3.6vw,34px);font-weight:600;letter-spacing:-.02em;margin-top:12px} | |
| .sub{color:var(--muted);font-size:15px;max-width:640px;margin-top:16px} | |
| .sub a{color:var(--green);border-bottom:1px solid rgba(52,211,153,.35)} | |
| header{position:sticky;top:0;z-index:50;background:rgba(9,9,11,.82);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)} | |
| .nav{display:flex;align-items:center;justify-content:space-between;height:56px} | |
| .brand{display:flex;align-items:center;gap:10px;font-weight:600;letter-spacing:-.01em;font-size:14px} | |
| .brand .slash{font-family:var(--mono);font-weight:400;color:var(--muted);font-size:12px} | |
| .navlinks{display:flex;gap:22px;font-size:13px;color:var(--muted)} | |
| .navlinks a:hover{color:var(--fg)} | |
| .chip{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:10.5px;color:var(--muted);border:1px solid var(--border2);border-radius:6px;padding:6px 10px;background:rgba(16,16,20,.6)} | |
| .chip .dot{width:6px;height:6px;border-radius:99px;background:var(--green);animation:pulse 2.4s infinite} | |
| @keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}} | |
| .mark{width:18px;height:18px;flex:none} | |
| .hero{position:relative;overflow:hidden;border-bottom:1px solid var(--border);padding:88px 0 72px} | |
| .hero .grid-bg{position:absolute;inset:0;background-image:linear-gradient(to right,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.035) 1px,transparent 1px);background-size:56px 56px;mask-image:radial-gradient(ellipse 70% 60% at 50% 0%,black,transparent)} | |
| .hero .glow{position:absolute;inset-inline:0;top:0;height:420px;background:radial-gradient(ellipse 60% 45% at 50% 0%,rgba(52,211,153,.12),transparent 70%)} | |
| .hero .wrap{position:relative} | |
| .cta{display:inline-flex;align-items:center;gap:8px;margin-top:26px;background:var(--green);color:#052016;font-weight:500;font-size:14px;padding:11px 18px;border-radius:8px;transition:transform .15s} | |
| .cta:hover{transform:translateY(-1px)} | |
| .cta.ghost{background:transparent;color:var(--fg);border:1px solid var(--border2)} | |
| .metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px;margin-top:44px} | |
| .metric{border-left:1px solid var(--border2);padding-left:16px} | |
| .metric b{display:block;font-family:var(--mono);font-size:24px;font-weight:600;letter-spacing:-.02em} | |
| .metric span{font-family:var(--mono);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--dim)} | |
| section{padding:72px 0;border-bottom:1px solid var(--border)} | |
| .panel{border:1px solid var(--border2);border-radius:10px;background:rgba(16,16,20,.4);overflow:hidden} | |
| .panel-top{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--border)} | |
| .panel-top input{flex:1;background:transparent;border:0;outline:0;color:var(--fg);font-family:var(--sans);font-size:14px} | |
| .panel-top input::placeholder{color:var(--dim)} | |
| .btn{font-family:var(--mono);font-size:11px;color:var(--fg);border:1px solid var(--border2);background:transparent;border-radius:6px;padding:6px 12px;cursor:pointer;transition:border-color .15s} | |
| .btn:hover{border-color:rgba(52,211,153,.5)} | |
| .btn.green{color:var(--green);border-color:rgba(52,211,153,.35)} | |
| .btn:disabled{opacity:.4;cursor:default} | |
| .runtime{font-family:var(--mono);font-size:10px;color:var(--dim);padding:10px 16px 0} | |
| .results{max-height:430px;overflow-y:auto;padding:10px 12px 14px} | |
| .row{border-radius:8px;padding:10px 12px;transition:background .15s,border-color .15s;border:1px solid transparent} | |
| .row:hover{background:rgba(16,16,20,.7);border-color:var(--border)} | |
| .row-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px} | |
| .name{font-weight:500;font-size:14px} | |
| .org{font-family:var(--mono);font-size:11px;color:var(--muted)} | |
| .note{font-size:12px;color:var(--muted);margin-top:4px} | |
| .badge{display:inline-block;font-family:var(--mono);font-size:8.5px;letter-spacing:.08em;border:1px solid;border-radius:99px;padding:2px 7px;margin-left:8px;vertical-align:1px} | |
| .b-open{color:var(--green);border-color:rgba(52,211,153,.3);background:var(--green-dim)} | |
| .b-closed{color:var(--muted);border-color:var(--border2);background:rgba(255,255,255,.04)} | |
| .b-research{color:var(--muted);border-color:var(--border2)} | |
| .b-unverified{color:var(--amber);border-color:rgba(251,191,36,.3);background:rgba(251,191,36,.08)} | |
| .score{display:flex;align-items:center;gap:8px;flex:none} | |
| .score .bar{width:88px;height:3px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden} | |
| .score .bar i{display:block;height:100%;background:var(--green)} | |
| .score b{font-family:var(--mono);font-size:10px;color:var(--green);font-weight:500} | |
| .xlink{display:inline-flex;margin-left:8px;color:var(--dim);transition:color .15s} | |
| .xlink:hover{color:var(--fg)} | |
| .loadstate{padding:44px 16px;text-align:center;font-family:var(--mono);font-size:12px;color:var(--muted)} | |
| .progress{height:3px;max-width:280px;margin:14px auto 0;background:rgba(255,255,255,.08);border-radius:99px;overflow:hidden} | |
| .progress i{display:block;height:100%;width:0;background:var(--green);transition:width .3s} | |
| .filters{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 18px} | |
| .fchip{font-family:var(--mono);font-size:11px;color:var(--muted);border:1px solid var(--border2);border-radius:99px;padding:7px 14px;cursor:pointer;background:transparent;transition:all .15s} | |
| .fchip:hover{color:var(--fg)} | |
| .fchip.on{color:var(--green);border-color:rgba(52,211,153,.5);background:var(--green-dim)} | |
| table{width:100%;border-collapse:collapse} | |
| .tbl{overflow-x:auto;border:1px solid var(--border2);border-radius:10px} | |
| th{font-family:var(--mono);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--dim);text-align:left;padding:12px 16px;border-bottom:1px solid var(--border)} | |
| td{padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.05);vertical-align:top} | |
| tr:last-child td{border-bottom:0} | |
| td .tname{font-weight:500;font-size:13.5px} | |
| td .torg{font-family:var(--mono);font-size:11px;color:var(--muted);margin-top:2px} | |
| td .cls{font-family:var(--mono);font-size:11px;text-transform:uppercase;color:var(--muted)} | |
| td .ev{font-size:11.5px;color:var(--muted);max-width:320px} | |
| .mono-dim{font-family:var(--mono);font-size:11px;color:var(--dim)} | |
| .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-top:28px} | |
| .card{border:1px solid var(--border2);border-radius:10px;padding:16px;background:rgba(16,16,20,.4);display:flex;flex-direction:column;gap:8px;transition:border-color .15s} | |
| .card:hover{border-color:rgba(52,211,153,.35)} | |
| .card .card-org{font-family:var(--mono);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--dim)} | |
| .card .card-name{font-weight:500;font-size:14px} | |
| .card .card-scale{font-family:var(--mono);font-size:11px;color:var(--muted)} | |
| .card .card-note{font-size:12px;color:var(--muted)} | |
| .card .card-id{font-family:var(--mono);font-size:9.5px;color:var(--dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap} | |
| .badge-video{color:var(--green);border-color:rgba(52,211,153,.4);background:var(--green-dim)} | |
| .comment{font-family:var(--mono);font-size:10px;color:var(--dim);margin-top:18px;line-height:1.8} | |
| footer{padding:32px 0} | |
| .foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;font-family:var(--mono);font-size:11px;color:var(--dim)} | |
| .foot a:hover{color:var(--fg)} | |
| .footnav{display:flex;gap:18px} | |
| @media(max-width:640px){.navlinks{display:none}.metrics{grid-template-columns:1fr 1fr}} | |
| </style> | |
| </head> | |
| <body> | |
| <header> | |
| <div class="wrap nav"> | |
| <a class="brand" href="#top"> | |
| <svg class="mark" viewBox="0 0 32 32" aria-hidden="true"><rect x=".5" y=".5" width="31" height="31" rx="6.5" fill="none" stroke="#34d399" stroke-opacity=".28"/><g fill="#34d399"><rect x="7.5" y="18" width="4" height="6.5" rx="1.2"/><rect x="14" y="13" width="4" height="11.5" rx="1.2"/><rect x="20.5" y="8" width="4" height="16.5" rx="1.2"/></g></svg> | |
| <span>yeeeeezus</span><span class="slash">/inference</span> | |
| </a> | |
| <nav class="navlinks"> | |
| <a href="#search">Search</a><a href="#index">Index</a><a href="#models">Models</a> | |
| </nav> | |
| <span class="chip"><span class="dot"></span>STATIC DEPLOYMENT · ML RUNS IN YOUR BROWSER</span> | |
| </div> | |
| </header> | |
| <main id="top"> | |
| <div class="hero"> | |
| <div class="glow"></div><div class="grid-bg"></div> | |
| <div class="wrap"> | |
| <p class="eyebrow">Yeeeeezus Intelligence — Inference Platform</p> | |
| <h1>Frontier models.<br><span style="color:var(--green)">One route.</span></h1> | |
| <p class="sub">This is the static companion of the live platform: semantic search over the verified aisearch index runs MiniLM entirely inside this page, and the full 21-item triage table lives below. The <a id="liveLink" href="#">live deployment</a> adds streaming chat with Llama-3.3-70B, DeepSeek-V4, Qwen3.8-2.4T and 130+ more models through one route, plus image generation.</p> | |
| <div style="display:flex;gap:12px;flex-wrap:wrap"> | |
| <a class="cta" id="liveCta" href="#">Open the live playground →</a> | |
| <a class="cta ghost" href="#search">Run in-browser search</a> | |
| </div> | |
| <div class="metrics"> | |
| <div class="metric"><b>134</b><span>Router models</span></div> | |
| <div class="metric"><b>21</b><span>Index verified</span></div> | |
| <div class="metric"><b>3</b><span>Providers</span></div> | |
| <div class="metric"><b>0</b><span>Server calls here</span></div> | |
| </div> | |
| </div> | |
| </div> | |
| <section id="search"> | |
| <div class="wrap"> | |
| <p class="eyebrow">Semantic Search</p> | |
| <h2>Rank the index. In this tab.</h2> | |
| <p class="sub">all-MiniLM-L6-v2 (384-dim, quantized) downloads once and embeds every query locally — no text leaves your browser. Query with natural language: “open model for image generation”, “robot control”, “personal agent with a browser”.</p> | |
| <div class="panel" style="margin-top:28px"> | |
| <div class="panel-top"> | |
| <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#a1a1aa" stroke-width="2" aria-hidden="true"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg> | |
| <input id="q" placeholder="Query the aisearch index…" aria-label="Semantic search query"> | |
| <button class="btn green" id="rankBtn">Rank</button> | |
| </div> | |
| <p class="runtime" id="runtime">booting inference runtime…</p> | |
| <div class="progress"><i id="prog"></i></div> | |
| <div class="results" id="results"><div class="loadstate" id="loadstate">initializing…</div><div id="rows"></div></div> | |
| </div> | |
| </div> | |
| </section> | |
| <section id="index"> | |
| <div class="wrap"> | |
| <p class="eyebrow">The aisearch index</p> | |
| <h2>Every item from the video, verified.</h2> | |
| <p class="sub">All 21 items from the aisearch video (2026-09-27) probed on 2026-09-30 against live GitHub, Hugging Face and web APIs. Access labels reflect what the APIs returned — not what the video claimed.</p> | |
| <div class="filters" id="filters"></div> | |
| <div class="tbl"><table> | |
| <thead><tr><th>Item</th><th>Class</th><th>Access</th><th>Verified evidence</th></tr></thead> | |
| <tbody id="tbody"></tbody> | |
| </table></div> | |
| <p class="comment">// closed-API items (GPT-6, Grok 4.7, Opus 5.5, Gemini 3.8 TTS…) cannot be upgraded by third parties —<br>// the honest move is better inputs and open counterparts, which is what the live platform routes to.</p> | |
| </div> | |
| </section> | |
| <section id="models"> | |
| <div class="wrap"> | |
| <p class="eyebrow">Catalog</p> | |
| <h2>Curated servable models.</h2> | |
| <p class="sub">Each of these was verified callable through the HF Inference Providers router on this account. The live deployment streams all of them; here they are linked to their weight pages.</p> | |
| <div class="cards" id="cards"></div> | |
| </div> | |
| </section> | |
| </main> | |
| <footer> | |
| <div class="wrap foot"> | |
| <span>yeeeeezus/inference — static companion · Next.js 16 live app + transformers.js<br>built 2026-09-30 · every claim probed live</span> | |
| <span class="footnav"> | |
| <a href="https://github.com/yeeeeezus" target="_blank" rel="noreferrer">GITHUB</a> | |
| <a href="https://huggingface.co/yeeeeezus" target="_blank" rel="noreferrer">HUGGING FACE</a> | |
| <a id="footLive" href="#">LIVE PLATFORM</a> | |
| </span> | |
| </div> | |
| </footer> | |
| <script> | |
| const LIVE = "https://preview-chat-420cf4d1-fdca-4345-9958-0f12c197b202.space-z.ai"; | |
| ["liveLink","liveCta","footLive"].forEach(id => document.getElementById(id).href = LIVE); | |
| const IDX = [ | |
| {s:"openmuse",n:"OpenMuse",o:"CopilotKit",c:"agent",a:"open-source",e:"GitHub API: MIT license, TypeScript, ~3.2k stars in 12 days",note:"Personal agent with a browser, terminal, files and persistent work, built on the AG-UI protocol.",u:"https://github.com/CopilotKit/OpenMuse",sv:null}, | |
| {s:"mimo-v26",n:"MiMo V2.6",o:"Xiaomi",c:"llm",a:"open-weights",e:"HF API: XiaomiMiMo/MiMo-V2.6-Pro-RL and Flash-RL, open RL-trained weights",note:"Open RL reasoning line from the video. The V2.5 sibling is servable in the live playground.",u:"https://huggingface.co/XiaomiMiMo",sv:"XiaomiMiMo/MiMo-V2.5"}, | |
| {s:"clm",n:"CLM",o:"Contrastive-LM",c:"llm",a:"open-weights",e:"HF API: Contrastive-LM/CLM-v0.1-8B, text-ranking pipeline",note:"8B contrastive text ranker — the ranking direction is the search panel above.",u:"https://huggingface.co/Contrastive-LM",sv:null}, | |
| {s:"ovis-embedding",n:"Ovis Embedding",o:"AIDC-AI / ATH-MaaS",c:"embedding",a:"open-weights",e:"HF API: Ovis-VL-Embedding-2B and 9B, Omni-Embedding-3B",note:"Multimodal embedders; the embedding concept runs locally in this page.",u:"https://huggingface.co/ATH-MaaS",sv:null}, | |
| {s:"supra2-img",n:"Supra2-Img",o:"SupraLabs",c:"image",a:"open-weights",e:"HF API: text-to-image pipeline, apache-2.0 license",note:"Open image generation weights from the video.",u:"https://huggingface.co/SupraLabs/Supra2-Img",sv:null}, | |
| {s:"ming",n:"Ming",o:"inclusionAI",c:"llm",a:"open-weights",e:"HF search: Ming-omni-tts-0.5B open TTS verified under inclusionAI; exact 'Ming Image' weights not located",note:"inclusionAI's open family — their Ling-3.0-flash is servable in the live playground.",u:"https://huggingface.co/inclusionAI",sv:"inclusionAI/Ling-3.0-flash"}, | |
| {s:"worldcrafter",n:"WorldCrafter",o:"academic",c:"video",a:"research",e:"Page title: 'Consistent Video World Model with Implicit 3D-aware Memory'",note:"Research world-model for consistent video generation.",u:"https://drexubery.github.io/WorldCrafter/",sv:null}, | |
| {s:"mira-scene",n:"Mira Scene",o:"vast-eden.ai",c:"video",a:"closed-api",e:"Product page reachable (Eden)",note:"Video scene generation product, API-gated.",u:"https://vast-eden.ai/?p=mira-scene",sv:null}, | |
| {s:"flux-3-action",n:"Flux 3 Action",o:"Black Forest Labs",c:"robotics",a:"closed-api",e:"Page: '7B World Action Model for Robot Control'",note:"World-action model for robot control. FLUX.1-schnell weights are open but not router-served.",u:"https://bfl.ai/models/flux-3-action",sv:null}, | |
| {s:"gemini-38-tts",n:"Gemini 3.8 TTS",o:"Google",c:"tts",a:"closed-api",e:"Closed API release, no open weights",note:"Speech generation, API-only. No third-party upgrade path.",u:null,sv:null}, | |
| {s:"grok-47",n:"Grok 4.7",o:"xAI",c:"llm",a:"closed-api",e:"Closed API release, no open weights",note:"Frontier closed model. Cannot be upgraded by third parties.",u:null,sv:null}, | |
| {s:"gpt-6-sol-luna",n:"GPT 6 Sol Luna",o:"OpenAI",c:"llm",a:"closed-api",e:"Closed API release, no open weights",note:"Frontier closed model. OpenAI's open-weight gpt-oss-120b is servable on the live route instead.",u:null,sv:null}, | |
| {s:"opus-55",n:"Opus 5.5",o:"Anthropic",c:"llm",a:"closed-api",e:"Closed API release, no open weights",note:"Frontier closed model. Cannot be upgraded by third parties.",u:null,sv:null}, | |
| {s:"step-5",n:"Step 5",o:"StepFun",c:"llm",a:"closed-api",e:"Step 5 itself closed; StepFun's open Step-3.x line verified on the router",note:"The open Step line is servable in the live playground.",u:null,sv:"stepfun-ai/Step-3.7-Flash"}, | |
| {s:"skild-soccer",n:"SkildAI Soccer",o:"Skild AI",c:"robotics",a:"closed-api",e:"Robot soccer demonstration, no released weights",note:"Robot foundation-model demo. Not reproducible outside the lab.",u:null,sv:null}, | |
| {s:"dots3-note",n:"Dots3 Note",o:"Dots3",c:"product",a:"closed-api",e:"Product release, closed",note:"AI note-taking product. No open artifact to build on.",u:null,sv:null}, | |
| {s:"limite-1b",n:"Limite 1B",o:"paradigma",c:"llm",a:"unverified",e:"Blog 404 at probe time; no repo located",note:"Could not be verified against any live source.",u:null,sv:null}, | |
| {s:"aikido-altar",n:"Aikido Altar",o:"Aikido",c:"product",a:"unverified",e:"Blog 404 at probe time",note:"Could not be verified against any live source.",u:null,sv:null}, | |
| {s:"suncatcher",n:"Project Suncatcher",o:"Google",c:"robotics",a:"research",e:"Research initiative announcement, no servable artifact located",note:"Open robot-stack direction. Watching for released weights.",u:null,sv:null}, | |
| {s:"gae",n:"GAE",o:"jiah-cloud",c:"llm",a:"unverified",e:"Repo not found under jiah-cloud at probe time",note:"Could not be verified against any live source.",u:null,sv:null}, | |
| {s:"gene-discovery",n:"Anthropic Gene Discovery",o:"Anthropic",c:"product",a:"research",e:"Research announcement, not a releasable artifact",note:"Biology research direction, not an integrable model.",u:null,sv:null} | |
| ]; | |
| const MODELS = [ | |
| {id:"meta-llama/Llama-3.3-70B-Instruct",org:"Meta",label:"Llama 3.3 70B",scale:"70B dense",note:"Balanced generalist — verified end-to-end on the route."}, | |
| {id:"deepseek-ai/DeepSeek-V4.1-Flash",org:"DeepSeek",label:"DeepSeek V4.1 Flash",scale:"MoE · flash",note:"Fast tier that streams visible reasoning traces."}, | |
| {id:"deepseek-ai/DeepSeek-R1",org:"DeepSeek",label:"DeepSeek R1",scale:"671B MoE",note:"The reasoning classic — extended thinking, streamed live."}, | |
| {id:"Qwen/Qwen3.8-2.4T-A95B",org:"Qwen",label:"Qwen 3.8 2.4T",scale:"2.4T MoE · A95B",note:"Flagship-scale mixture-of-experts on tap."}, | |
| {id:"Qwen/Qwen3-32B",org:"Qwen",label:"Qwen3 32B",scale:"32B dense",note:"Reliable dense workhorse."}, | |
| {id:"zai-org/GLM-5.3-Flash",org:"Z.ai",label:"GLM 5.3 Flash",scale:"fast tier",note:"Low-latency tier of the GLM line."}, | |
| {id:"openai/gpt-oss-120b",org:"OpenAI",label:"gpt-oss 120b",scale:"120B open-weight",note:"OpenAI's open-weight release, served on the route."}, | |
| {id:"moonshotai/Kimi-K3",org:"Moonshot",label:"Kimi K3",scale:"flagship MoE",note:"Moonshot's flagship, long-context specialist."}, | |
| {id:"google/gemma-4-31B-it",org:"Google",label:"Gemma 4 31B",scale:"31B dense",note:"Google's open instruction-tuned family."}, | |
| {id:"XiaomiMiMo/MiMo-V2.5",org:"Xiaomi",label:"MiMo V2.5",scale:"RL-trained",note:"From the aisearch video — the MiMo line, servable on the route.",video:true}, | |
| {id:"stepfun-ai/Step-3.7-Flash",org:"StepFun",label:"Step 3.7 Flash",scale:"flash tier",note:"From the aisearch video — StepFun's open line, servable on the route.",video:true} | |
| ]; | |
| const bcls = a => a==="open-weights"||a==="open-source" ? "b-open" : a==="closed-api" ? "b-closed" : a==="research" ? "b-research" : "b-unverified"; | |
| const blabel = a => a.replace("-"," ").toUpperCase(); | |
| const esc = s => s.replace(/&/g,"&").replace(/</g,"<"); | |
| function rowHTML(t, i, score){ | |
| const bar = score!=null ? `<div class="score"><div class="bar"><i style="width:${Math.max(2,Math.min(100,score*100)).toFixed(1)}%"></i></div><b>${score.toFixed(2)}</b></div>` : ""; | |
| const link = t.u ? `<a class="xlink" href="${esc(t.u)}" target="_blank" rel="noreferrer" aria-label="open ${esc(t.n)}"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><path d="M15 3h6v6"/><path d="M10 14 21 3"/></svg></a>` : ""; | |
| return `<div class="row"><div class="row-top"><div> | |
| <span class="name">${i+1}. ${esc(t.n)}</span><span class="org">${esc(t.o)}</span> | |
| <span class="badge ${bcls(t.a)}">${blabel(t.a)}</span><span class="badge b-closed">${t.c}</span>${link} | |
| <div class="note">${esc(t.note)}</div></div>${bar}</div></div>`; | |
| } | |
| /* index table */ | |
| const tbody = document.getElementById("tbody"); | |
| const filtersEl = document.getElementById("filters"); | |
| let curFilter = "all"; | |
| const keys = [["all","All"],["open-weights","Open weights"],["open-source","Open source"],["closed-api","Closed API"],["research","Research"],["unverified","Unverified"]]; | |
| function renderFilters(){ | |
| filtersEl.innerHTML = keys.map(([k,l])=>{ | |
| const n = k==="all" ? IDX.length : IDX.filter(t=>t.a===k).length; | |
| return `<button class="fchip${curFilter===k?" on":""}" data-k="${k}">${l} <span style="opacity:.55">${n}</span></button>`; | |
| }).join(""); | |
| filtersEl.querySelectorAll("button").forEach(b=>b.onclick=()=>{curFilter=b.dataset.k;renderFilters();renderTable();}); | |
| } | |
| function renderTable(){ | |
| const rows = curFilter==="all" ? IDX : IDX.filter(t=>t.a===curFilter); | |
| tbody.innerHTML = rows.map(t=>`<tr> | |
| <td><div class="tname">${esc(t.n)}</div><div class="torg">${esc(t.o)}</div></td> | |
| <td><span class="cls">${t.c}</span></td> | |
| <td><span class="badge ${bcls(t.a)}">${blabel(t.a)}</span></td> | |
| <td><div class="ev">${esc(t.e)}</div></td></tr>`).join(""); | |
| } | |
| renderFilters(); renderTable(); | |
| /* model cards */ | |
| document.getElementById("cards").innerHTML = MODELS.map(m=>`<div class="card"> | |
| <div style="display:flex;justify-content:space-between;align-items:center"> | |
| <span class="card-org">${esc(m.org)}</span> | |
| ${m.video?`<span class="badge badge-video">FROM THE VIDEO</span>`:""} | |
| </div> | |
| <div class="card-name">${esc(m.label)}</div> | |
| <div class="card-scale">${esc(m.scale)}</div> | |
| <div class="card-note">${esc(m.note)}</div> | |
| <a class="card-id" style="color:var(--green);opacity:.75" href="https://huggingface.co/${esc(m.id)}" target="_blank" rel="noreferrer">${esc(m.id)} →</a> | |
| </div>`).join(""); | |
| /* semantic search */ | |
| const resultsEl = document.getElementById("rows"), loadstate = document.getElementById("loadstate"); | |
| const runtimeEl = document.getElementById("runtime"), progEl = document.getElementById("prog"); | |
| let extractor=null, corpus=null; | |
| function showAll(){ | |
| resultsEl.innerHTML = IDX.map((t,i)=>rowHTML(t,i,null)).join(""); | |
| } | |
| showAll(); | |
| const sleep = ms => new Promise(r=>setTimeout(r,ms)); | |
| async function boot(attempt){ | |
| try { | |
| if(attempt>0) loadstate.textContent = "retrying (attempt "+(attempt+1)+")…"; | |
| const tf = await import("https://cdn.jsdelivr.net/npm/@huggingface/transformers@3"); | |
| tf.env.allowLocalModels = false; | |
| extractor = await tf.pipeline("feature-extraction","Xenova/all-MiniLM-L6-v2",{ | |
| quantized:true, | |
| progress_callback:p=>{ if(typeof p.progress==="number"){progEl.style.width=Math.min(98,p.progress)+"%";loadstate.textContent="downloading model weights — "+Math.round(p.progress)+"%";} } | |
| }); | |
| loadstate.textContent = "embedding 21 documents…"; | |
| const out = await extractor(IDX.map(t=>`${t.n} by ${t.o}. ${t.note} ${t.e} category ${t.c}`),{pooling:"mean",normalize:true}); | |
| corpus = out.tolist(); | |
| progEl.style.width="100%"; | |
| loadstate.style.display="none"; | |
| document.querySelector(".progress").style.display="none"; | |
| runtimeEl.textContent = "runtime: Xenova/all-MiniLM-L6-v2 · 384-dim · WASM in-browser · corpus: 21 items probed 2026-09-30"; | |
| } catch(e){ | |
| if(attempt < 2){ await sleep(1500*(attempt+1)); return boot(attempt+1); } | |
| loadstate.innerHTML = "runtime failed after 3 attempts — the index table below still works.<br><button class=\"btn green\" style=\"margin-top:10px\" id=\"retryBtn\">Retry</button>"; | |
| runtimeEl.textContent = "runtime error: "+(e.message||e).toString().slice(0,110); | |
| const rb = document.getElementById("retryBtn"); | |
| if(rb) rb.onclick = () => { loadstate.style.display=""; document.querySelector(".progress").style.display=""; progEl.style.width="0"; boot(0); }; | |
| } | |
| } | |
| boot(0); | |
| function cosine(a,b){let d=0;for(let i=0;i<a.length;i++)d+=a[i]*b[i];return d;} | |
| async function rank(){ | |
| if(!extractor||!corpus) return; | |
| const q = document.getElementById("q").value.trim(); | |
| if(!q){ showAll(); return; } | |
| const t0 = performance.now(); | |
| const [qv] = (await extractor([q],{pooling:"mean",normalize:true})).tolist(); | |
| const scored = IDX.map((t,i)=>({t,s:cosine(qv,corpus[i])})).sort((a,b)=>b.s-a.s); | |
| const ms = Math.round(performance.now()-t0); | |
| resultsEl.innerHTML = scored.map((x,i)=>rowHTML(x.t,i,x.s)).join(""); | |
| runtimeEl.textContent = `runtime: Xenova/all-MiniLM-L6-v2 · 384-dim · WASM in-browser · query ${ms}ms · corpus: 21 items probed 2026-09-30`; | |
| } | |
| document.getElementById("rankBtn").onclick = rank; | |
| document.getElementById("q").addEventListener("keydown",e=>{if(e.key==="Enter")rank();}); | |
| </script> | |
| </body> | |
| </html> | |