Spaces:
Running

home / index.html
QLNI's picture
Add SHADOW Omni
2c85eed verified
Raw History Blame Contribute Delete
7.05 kB
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title>QLNI</title>
<link rel="preconnect" href="https://fonts.googleapis.com"><link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600&family=Inter:wght@400;600&display=swap" rel="stylesheet">
<style>
:root{--bg:#fbfaf6;--fg:#1d2420;--muted:#5b655f;--accent:#1f6b45;--gold:#b8860b;--rule:#dfe5df;--card:#f1f4ee}
@media (prefers-color-scheme: dark){:root{--bg:#121613;--fg:#e8ece8;--muted:#a3ada6;--accent:#5cc28c;--gold:#e0b453;--rule:#2a332d;--card:#1a201c}}
*{box-sizing:border-box} body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.65 Inter,system-ui,sans-serif}
main{max-width:860px;margin:0 auto;padding:48px 20px 64px}
h1{font:600 3rem/1 Fraunces,Georgia,serif;margin:0 0 6px;letter-spacing:.5px;color:var(--accent)}
h3{font:600 1.55rem/1.3 Fraunces,Georgia,serif;margin:0 0 22px;text-wrap:balance}
h2{font:600 1.35rem/1.3 Fraunces,Georgia,serif;margin:44px 0 12px;padding-top:18px;border-top:1px solid var(--rule)}
p{max-width:68ch} a{color:var(--accent);text-underline-offset:3px} strong{color:var(--fg)}
table{border-collapse:collapse;width:100%;margin:14px 0;font-size:.93rem} .tw{overflow-x:auto}
th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--rule);vertical-align:top} th{color:var(--muted);font-weight:600}
td:nth-child(3),td:nth-child(4){white-space:nowrap;font-variant-numeric:tabular-nums}
p:last-of-type{color:var(--muted);font-size:.9rem}
</style></head><body><main>
<h1>QLNI</h1>
<h3>How small can a model get before it stops being useful?</h3>
<p>That is the whole question. We build models from scratch to find out. Freeze the parts that don't need to learn. Cut the
weights down to three values. Move memory onto the disk. Then see what is left.</p>
<p>Sometimes it breaks. Sometimes a 20 MB file answers like something ten times its size. Either way we publish all of it,
the wins and the losses, with the code, data and checkpoints, so anyone can run it and check it.</p>
<h2>What we have found so far</h2>
<p><strong>A frozen vocabulary is enough.</strong> In our paper, a small model whose vocabulary is a fixed 512-bit code per token, never
trained, matched or beat a normal learned vocabulary on three of four benchmarks with 2.6 times fewer trainable parameters,
and handled rare and brand-new words far better. With three-valued weights it became a 46 MB file running at 615 to 740
tokens a second on a laptop CPU.
<a href="https://arxiv.org/abs/2610.22428">arXiv 2610.22428</a> 路 <a href="https://huggingface.co/QLNI/embeddings-are-overpriced">code, data, checkpoints</a> 路 DOI <a href="https://doi.org/10.5281/zenodo.23382634">10.5281/zenodo.23382634</a></p>
<p><strong>Seeing and hearing can be tiny too.</strong> SHADOW Omni is one 36 MB body, trained from scratch, that looks at photos,
watches videos and listens to sounds, writes what it notices, answers simple questions and makes search vectors in
EmbeddingGemma 2's space, all on a laptop CPU, offline. It is a proof of concept, and we released it with all 14.2M
training items and their teacher vectors.
<a href="https://huggingface.co/spaces/QLNI/SHADOW-Omni">Try it in your browser</a> 路 <a href="https://huggingface.co/datasets/QLNI/SHADOW-Omni">model, code and data</a></p>
<div class="tw"><table>
<thead>
<tr>
<th>model</th>
<th>what it is</th>
<th>size</th>
<th>on a laptop CPU</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://huggingface.co/datasets/QLNI/SHADOW-Omni">SHADOW Omni</a> 路 <a href="https://huggingface.co/spaces/QLNI/SHADOW-Omni">demo</a></td>
<td>sees photos, video and sound; writes what it sees and makes search vectors; 2-bit</td>
<td>36 MB</td>
<td>about 650 photos a minute to search vectors, about 620 words a second, 72 to 145 MB of RAM</td>
</tr>
<tr>
<td><a href="https://huggingface.co/QLNI/SHADOW-250M">SHADOW 250M Instruct</a> 路 <a href="https://github.com/QLNI/SHADOW-250M-Instruct">GitHub</a></td>
<td>built from scratch, with a 100M-token memory on disk</td>
<td>60 MB</td>
<td>about 400 tokens/s in 80 MB of RAM</td>
</tr>
<tr>
<td><a href="https://huggingface.co/QLNI/shadow-50m-instruct">SHADOW 50M Instruct</a> 路 <a href="https://github.com/QLNI/SHADOW-50M-Instruct">GitHub</a></td>
<td>three-valued weights, arithmetic circuits inside the model, memory on disk</td>
<td>19.8 MB</td>
<td>about 2,000 tokens/s in 40 MB of RAM</td>
</tr>
<tr>
<td><a href="https://huggingface.co/QLNI/embeddings-are-overpriced">Embeddings Are Overpriced</a></td>
<td>the three models from the paper</td>
<td>46 MB (ternary)</td>
<td>615 to 740 tokens/s</td>
</tr>
</tbody>
</table></div>
<div class="tw"><table>
<thead>
<tr>
<th>dataset</th>
<th>what it is</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://huggingface.co/datasets/QLNI/SHADOW-Omni">SHADOW Omni training data</a></td>
<td>14.2M photos, videos and speech clips (1.13 TB), each with its caption and EmbeddingGemma 2 teacher vectors</td>
</tr>
<tr>
<td><a href="https://huggingface.co/datasets/QLNI/shadow-assistant-data">SHADOW Assistant data</a></td>
<td>7.4 TB: 287B text tokens, about 9.5B picture and video tokens, about 37,700 hours of audio</td>
</tr>
<tr>
<td><a href="https://huggingface.co/datasets/QLNI/FLUX-Reason-6M-flux2-latents">FLUX-Reason-6M as FLUX.2 latents</a></td>
<td>5.6M images, ready to train as FLUX.2 latents</td>
</tr>
</tbody>
</table></div>
<h2>Next: one small model, one country</h2>
<p>Big models read the whole internet and try to know everything about everywhere. We want to see what happens when a small
one is built around a single place instead.</p>
<p><strong>SHADOW Assistant</strong> is that experiment. A small model that still knows the wider world, but where Australia is a quarter of
everything it reads: its English, its places, its laws, its history, its everyday life. Does a small model become clearly
better at one country's life? What does it give up for it? We don't know yet. That is why we are building it.</p>
<p>It is not a national AI and it is not a statement. It is a test, and Australia happens to be home.</p>
<p>It will see images, video and documents, keep a memory on disk, search the web when it is online, and run offline on a
normal laptop. SHADOW Omni was built on the way: it is the start of the eyes and ears this assistant needs. Its training data will be published here wherever the licences allow.</p>
<p><strong>Thank you to <a href="https://cloudrift.ai">CloudRift</a> for sponsoring SHADOW Assistant with an AI Builder Grant.</strong> Their GPU credits are paying for the training.</p>
<h2>Contact</h2>
<p>Sai Kiran Bathula, New South Wales, Australia 路 <a href="https://qlni.io">qlni.io</a> 路 saikiranbathula@qlni.io 路 <a href="https://github.com/QLNI">GitHub</a></p>
<p>Releases are for non-commercial research and education unless a repository says otherwise.</p>
</main></body></html>