Spaces:
Running
Running
File size: 7,950 Bytes
b1c5baa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#19111b">
<meta name="description" content="Explore MagicEightBall's compact Boolean decisions, recorded NCS1 and CPU examples, and model downloads.">
<title>MagicEightBall · Rack Lab</title>
<link rel="icon" href="./rack-lab-avatar.png" type="image/png">
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="./model-page.css">
<script defer src="./replay.js"></script>
</head>
<body>
<a class="skip-link" href="#content">Skip to MagicEightBall</a>
<header class="wrap masthead">
<a class="brand" href="https://racklab-the-break-room.static.hf.space/index.html"><img src="./rack-lab-avatar.png" width="34" height="34" alt="">The Break Room</a>
<nav aria-label="MagicEightBall"><a href="#examples">Examples</a><a href="#downloads">Downloads</a><a href="#benchmarks">Benchmarks</a></nav>
</header>
<main class="wrap" id="content">
<section class="model-hero" aria-labelledby="title">
<h1 id="title">MagicEightBall</h1>
<p>A Boolean decision engine that returns a yes or no, a category, and a proposed action. The host reads up to 131,072 Needle 3 tokens and extracts evidence. The original Intel Neural Compute Stick can run the 480-byte decision head.</p>
<picture>
<source media="(prefers-reduced-motion: no-preference)" srcset="./assets/workbench-motion.gif">
<img src="./assets/workbench.webp" width="1903" height="826" fetchpriority="high" alt="Eight, a black billiards 8-ball, and Relay light decision paths across a workbench.">
</picture>
</section>
<section class="model-section" id="examples" aria-labelledby="examples-title">
<h2 id="examples-title">Replay a decision</h2>
<p>Compare the expected decision with the recorded CPU and physical NCS1 results. The three industry simulations matched all 27 authored cases and 384 Boolean assignments on both runtimes. All 15 cases expected to produce no action passed.</p>
<div class="replay">
<label for="scenario">Case</label>
<select id="scenario" disabled></select>
<p id="replay-status" role="status">Loading recorded decisions…</p>
<noscript><p>Enable JavaScript to replay examples, or open the source reports below.</p></noscript>
<div id="case-output" hidden aria-live="polite">
<blockquote id="case-input"></blockquote>
<dl id="case-decisions" class="decisions"></dl>
</div>
</div>
<div class="model-links">
<a href="https://huggingface.co/tablinum/MagicEightBall/blob/2b48c99709675f23b2e15354a35219a9030fcbc1/measurements/industry-simulation-frontline-cpu.json">Full CPU report</a>
<a href="https://huggingface.co/tablinum/MagicEightBall/blob/2b48c99709675f23b2e15354a35219a9030fcbc1/measurements/industry-simulation-frontline-ncs1.json">Full NCS1 report</a>
<a href="https://racklab-the-break-room.static.hf.space/workflows/index.html">Rack Lab industry workflows</a>
</div>
<figure>
<picture>
<source media="(prefers-reduced-motion: no-preference)" srcset="./assets/relay-decisions.webp">
<img src="./assets/relay-decisions-still.webp" width="1080" height="444" loading="lazy" alt="Three support-policy examples show a billing proposal, a later hold that clears the proposal, and an unrelated request with no action.">
</picture>
</figure>
</section>
<section class="model-section" id="downloads" aria-labelledby="downloads-title">
<h2 id="downloads-title">Choose a format</h2>
<div class="formats">
<a href="https://huggingface.co/tablinum/MagicEightBall"><strong>Native NCS1</strong><span>480 B · OpenVINO 2020.3.2</span></a>
<a href="https://huggingface.co/tablinum/MagicEightBall-ONNX"><strong>ONNX radix</strong><span>192 B · ONNX Runtime CPU</span></a>
<a href="https://huggingface.co/tablinum/MagicEightBall-FP32"><strong>FP32 reference</strong><span>1,832 B · ONNX Runtime CPU</span></a>
<a href="https://huggingface.co/tablinum/MagicEightBall-GGUF"><strong>GGUF</strong><span>1,024 B · MagicEightBall CPU reader</span></a>
</div>
<p class="caption">Sizes cover the decision artifacts. The tokenizer, host code, and runtime have separate sizes.</p>
<a class="source-link" href="https://chadstthomas-svg.github.io/myriadforge/hardware/index.html#quickstart">Set up the original stick</a>
</section>
<section class="model-section" id="benchmarks" aria-labelledby="benchmarks-title">
<h2 id="benchmarks-title">Measured runtime comparisons</h2>
<p>All four formats matched 128 support-policy assignments and rejected 131,073 tokens. Timings include host text preparation and head execution on the same Intel Core i7-12650H host. The runtime versions and repeat counts are in the reports.</p>
<div class="timings" tabindex="0" role="region" aria-label="Runtime timing table">
<table>
<thead><tr><th scope="col">Runtime</th><th scope="col">128 short decisions, p50 / p95</th><th scope="col">131,072-token late veto, p50 / p95</th></tr></thead>
<tbody>
<tr><th scope="row">Native NCS1</th><td>5.31 / 5.87 ms</td><td>33.68 / 39.24 ms</td></tr>
<tr><th scope="row">ONNX radix CPU</th><td>2.55 / 3.01 ms</td><td>23.31 / 25.20 ms</td></tr>
<tr><th scope="row">ONNX FP32 CPU</th><td>4.80 / 5.25 ms</td><td>22.54 / 25.04 ms</td></tr>
<tr><th scope="row">GGUF CPU</th><td>2.90 / 3.61 ms</td><td>22.39 / 25.70 ms</td></tr>
</tbody>
</table>
</div>
<figure>
<a href="./assets/runtime-comparison.webp"><img src="./assets/runtime-comparison.webp" width="1600" height="1010" loading="lazy" alt="Runtime comparison chart for compact NCS1, radix ONNX, dense FP32, and GGUF. Exact timings appear in the table above."></a>
</figure>
<div class="model-links">
<a href="https://huggingface.co/tablinum/MagicEightBall/blob/2b48c99709675f23b2e15354a35219a9030fcbc1/measurements/compact-gather-physical-ncs1.json">Physical NCS1 measurements</a>
<a href="https://huggingface.co/tablinum/MagicEightBall/blob/2b48c99709675f23b2e15354a35219a9030fcbc1/measurements/portable-cpu-comparison.json">Portable CPU measurements</a>
</div>
</section>
<section class="model-section" aria-labelledby="size-title">
<h2 id="size-title">Model size comparisons</h2>
<div class="charts">
<figure>
<a href="./assets/size-native-ncs1.webp"><img src="./assets/size-native-ncs1.webp" width="1600" height="960" loading="lazy" alt="Six native NCS1 builds of the same policy. The compact model is 480 bytes, and the stock radix Gather is 512 bytes."></a>
<figcaption>Native NCS1 builds for the same policy</figcaption>
</figure>
<figure>
<a href="./assets/size-portable-cpu.webp"><img src="./assets/size-portable-cpu.webp" width="1600" height="910" loading="lazy" alt="Portable CPU artifacts. ONNX radix Gather is 192 bytes, GGUF is 1,024 bytes, and FP32 is 1,832 bytes."></a>
<figcaption>Portable CPU decision artifacts</figcaption>
</figure>
</div>
<p class="caption">Published peer examples use different tasks and count different parts of the runtime. <a class="source-link" href="./assets/size-published-models.webp">See the published-model chart</a>.</p>
</section>
</main>
<footer class="wrap model-footer"><a href="https://racklab-the-break-room.static.hf.space/index.html">The Break Room</a><a href="https://huggingface.co/tablinum/MagicEightBall">Hugging Face model card</a></footer>
</body>
</html>
|