Every model I just tried in here gave me very nonsensical hallucinations, or immediately fell into a loop. Not the best examples of what Petite GPTs (as one is called) can do, I hope.
It's not loading for me on Firefox (v156.0.1, Arch Linux), works fine on Chromium.<p>Uncaught ReferenceError: GPUShaderStage is not defined
<anonymous> <a href="https://stateofutopia.com/experiments/microllmlab/engine/webgpu-metal.js:24" rel="nofollow">https://stateofutopia.com/experiments/microllmlab/engine/web...</a>
webgpu-metal.js:24:17
<anonymous> <a href="https://stateofutopia.com/experiments/microllmlab/engine/webgpu-metal.js:24" rel="nofollow">https://stateofutopia.com/experiments/microllmlab/engine/web...</a>
[MicroLLM lab] App loader failsafe triggered after 6s microllmlab:55:21
Cool project, but I'd really suggest looking at the UI.<p>The text is too small and it's way too dense with information in general. Considering how simple this product is to use, it's kinda crazy that I have to scroll through over a page length of (mostly useless, AI-generated) information before getting to the actual interface.<p>Also what is going on with the footer (why does it link back to the site itself, why is it telling me to "serve over HTTP").
> The text is too small and it's way too dense with information in general.<p>The Claude special.
Also, they should give some examples of what you can use these Small Language Models for, and what their limits are.
This is the future of software, sloppy ui.
[dead]
[flagged]
>Since this submission has been on the front page of HN for hours now, clearly people like it as it is. I don't think I need to change anything about it.<p>That's not really how it works. People like it <i>in spite of</i> the bad vibe coded UI. That doesn't mean that the UI is good. The criticism was clearly correct. I don't feel bad about publicly criticizing the UI to your face, either, because it's not like you were the one who designed/created it anyway--by the same reasoning, I don't see any reason to get defensive about it, since you have not invested very much of yourself into it either.<p>This has become a bit of a pet peeve of mine in general. Over the last six months or so I've been inundated with all kinds of lazy, bad vibe-coded UIs via my normal internet usage. It feels paradoxical in a way, because AI tooling should make it easier than ever to fix obvious problems, and yet UIs have gotten worse.<p>I have two theories for why this is: (1) usage of AI tooling conditions people into engaging with their creations in a certain hands-off, uninvolved, low-attention surface level way; or perhaps (2) those who care about their UIs were the people who were already creating UIs pre-AI, and so the marginal effect of AI tooling has been to increase UI creation amongst precisely the population who cares the least about what they are putting out.<p>I've also been developing a very strong personal revulsion towards the Claude default design language, including and especially the gold-on-black color scheme, although I admit that this is entirely by association and not because of its inherent qualities per se.
You're arguing with the same OP that an LLM piloted into claiming SHA-256 was on the cusp of being broken <a href="https://news.ycombinator.com/item?id=47557755">https://news.ycombinator.com/item?id=47557755</a>, <a href="https://news.ycombinator.com/item?id=47546028">https://news.ycombinator.com/item?id=47546028</a>
In this particular case it used to not have any text at the top. Just click a model, chat.<p>I decided that that wasn't very user friendly. It doesn't tell people what it is. Or how to use it. It doesn't explain any of the concepts or vocabulary.<p>So I asked it to add those things, above the main interface, including the steps people need to take to use it. I think it did great, and I think the small text sizes with a clear title let people who need it, read it, and people who don't can just scroll down. Even with the text it's 600 words.<p>I like the effect of what it's done. It's better than I would have done if I had written those intro words myself.<p>Clearly it resonates with people, this thing has been on the front page of HN for 4 hours and with 110 points is by far the most popular thing I've ever posted here.
It isn’t about how small the text is or how easy it is to skip. Humans are not transformers with multiheaded anttention. Human brains do not process one million tokens in parallel. Humans have caloric constraints and will be annoyed if you ask them to process irrelevant information.<p>Therefore, when showing something to humans, the first thing they see should be the first thing you want them to see. And since this is a demo, the first thing they see should be the demo, with sane defaults, above the fold.<p>Also, it is likely that no one (including the author) has read this “fine print” because it includes incorrect information. GPT-4 isn’t a frontier model anymore.
It's clear that this was vibecoded. I'm antivibecoding, but here's a tip.<p>Don't focus on the actual code or the actual UI. You need to give your model a way to see its output. If it just pumps code, it looks at the code. If you let it look at the rendered UI, whether by manually taking screenshots, or making it so that the agent looks at the browser output automagically (with a webdriver or selenium or puppeteer or a skill or whatever), it will fix whatever issues it sees on itself, and it will never be content with delivering something that looks as bad as this.
> Is a cat an animal? Answer yes or no.
>> Cats are not animals. Cats are warm-blooded animals that have a backbone and a heart. They are not mammals.<p>Good job PetitGPT research-v1.
"What's the capital of South Africa?"
"Bloemfontein".<p>"No, it isn't. There are 3 capitals"
"China, India, Russia."
"Are you ok?"
"No, you're not."
I did the default arithmetic with PetitGPT research-v1<p>>What is 2+2?<p>Answer<p>> To find 2 + 2, we need to add 2 to both sides of the equation.<p>> 2 + 2 = 4<p>> So, 2 + 2 = 4 + 2.<p>Brilliant
GPT-2 124M is terrible...<p><pre><code> > what is 2+2?
</code></pre>
Answer:<p><pre><code> > 3+3? 4+4? 5+6? 7+8?
> Reply ~18000 0 ~10 min 2 By : 1-1: I'm a beginner. 3x2 is my best option, but if you're not sure about the other options then just go for it and try again</code></pre>
It's not instruct tuned looks like? It's closer to a base model rather than a chatbot.
GPT-2 is an interesting one because it is a February 2019 model. (You can see some information about it below the card if you click on the card.)<p>That was 2-3 years before the big "ChatGPT moment" (the highly coherent ChatGPT research preview was released in November 2022, I think it was ChatGPT 3.5). Back in 2019 the models really were not producing very coherent output. Now you can see it for yourself right in your browser :) Everything has come a really long way since then!
I've been playing with it for a bit, and I'm a tiny little bit surprised that they decided to continue pursuing that direction of research at all. What I'm getting from it looks like it could just be arbitrary sentence and paragraph fragments from the Internet, pasted together Markov-chain like.<p>I'm not sure I would have ever believed that something useful would come out of it, yet here we are.
Not sure how you're prompting it but remember that it's not trained for chat or instruction following, it simply takes the text given to it and tries to continue it. Give it the right prompt structure, and it can (at least sometimes) output coherent completions, far more often than you'd see in a Markov-chain. Also, this version is more or less equivalent to the smallest version of GPT-2; the largest version was 1.5 billion parameters and was much more likely to generate impressive (at the time) output.<p>The assumption that LLMs would always need sophisticated inputs to generate useful outputs is where the term "prompt engineering" came from. Now that idea is basically dead. Absolutely wild how far these models have come in less than a decade!
Sounds about right about something that's 124M. I trained one myself a few weeks ago and it's about the same level of being terrible.
I got the correct output for PetitGPT research-v1: <a href="https://ibb.co/0pP9DS2T" rel="nofollow">https://ibb.co/0pP9DS2T</a>
That's not incorrect.<p>LLMs produce semantically correct sentences, not factually correct statements. Have we forgotten this so soon?
It is, in every sense, incorrect. Which statement in this short snippet is "semantically correct"? (Better LLMs get this right, of course.)
It's not very good semantically either.<p>> Give me a recipe for soup.<p>> Here is a recipe for soup:<p>> Saffa-Cake-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-Sweet-
> how would you compare your capabilities to that of claude fable 5.1 by anthropic<p>> Comparing your capabilities to that of claude fable 5.1 would be very similar. Both are stories about a clown who is a cunning and manipulative animal. They both have problems and challenges, and they face challenges to overcome them. However, they have different goals and approaches. The clown<p>I think that tells you all you need to know.
Similar, simpler: <a href="https://tiny.tobelabs.com/" rel="nofollow">https://tiny.tobelabs.com/</a><p>Small LM trained on Tiny Stories. My first goal was to get people to see tokens from the model ASAP, the second was to demo Tiny Stories for those who may be unfamiliar. Oh and play with ternary models. <a href="https://arxiv.org/abs/2305.07759" rel="nofollow">https://arxiv.org/abs/2305.07759</a><p>There's larger QA model on the same page too.
Amusingly limited: I asked SmolLM2 360M Instruct<p>"What is the population of California?"<p>It replied<p>"California is the third-largest state in the United States, with a population of around 153 million people. It is also the most populous state in the United States, with a population of around 325 million people. The state is also the most populous in terms of GDP, with a GDP of $1"<p>But very fast, despite the lack of a decent GPU.
> What is the capital of south africa<p>> Victoria is the capital of South Africa.<p>> What is the capital of south africa. It's not Victoria.<p>> Victoria is the capital of South Africa.<p>They're coming for your job!
Prompt for PetitGPT research-v1: "How much wood would a woodchuck chuck if a woodchuck could chuck wood?"<p>Response: "A woodchuck would chuck wood if it could chuck it. The woodchuck's chucking action is a form of "chucking" or "chucking in" which is a behavior that allows it to extract nutrients from wood. The woodchuck's chucking action is a form of "chucking" because it is a form of "chucking" that allows the woodchuck to extract nutrients from wood."<p>I chuckled.
I did a WebGPU-based HTML Single-File Chat Application even for larger models. It just depends on your machine. It is cool to show people what can be done on their machines without installing anything. It also works in air-gapped environments.<p><a href="https://github.com/moooff/HermitUI" rel="nofollow">https://github.com/moooff/HermitUI</a>
Thanks for sharing. I tried the online demo, which downloaded the model but, unfortunately, couldn't start it. (It says " Invalid magic number
Make sure your local server is running and CORS is enabled.")
I have been experimenting with something similar here - <a href="https://sonistellar.com/lab/" rel="nofollow">https://sonistellar.com/lab/</a>
Pretty neat how far these small models have come. Running them locally in the browser feels like magic for quick experiments.
Really cool project. Giving web apps direct access to on-device models is something I’m excited about, and it’s cool to see the different approaches.<p>I’ve been working on a related proposal called the Web Models API, which explores a browser standard for an API that runs open-weight models on-device. Would love your thoughts: <a href="https://www.webmodels.dev" rel="nofollow">https://www.webmodels.dev</a>
I read your proposal, I think it's great! Where will the navigator get the model if the user agrees to download it? For this demonstration I just serve the models on my own server, but for larger models it may be an issue as they may not have direct download links even if they are open weights.
Great question. Right now there isn’t a definitive answer, but it’s something that needs to be worked out. There would likely be a registry. The question is how to keep model IDs consistent: does each browser manage its own registry, or is there one shared across browsers?
Since you're asking for some kinds of permissions anyway, you could ask if the user is willing to also seed the model, p2p. (However, seeding files is not as popular as it used to be, many residential Internet connections don't have good upload.) If you have the capacity for it, your site webmodels.dev could act as a tracker and initial seed for any models. Then it could be the one central registry. It might get to be too much for you though, a lot of the open weights models are huge.
Ran a few of these, and the speed for in-browser execution is wild. Perfect for quick demos without a backend.
Impressive how much you can do locally now. Was expecting much slower inference but it's surprisingly snappy.
Very interesting but on a naming perspective what is a "micro large" model ?
Interesting. Crashed macOS. That's already impressive.
I like it as I'm vibecoding an (airgappable) browser AI workspace myself, but in terms of putting the models to use, just exposing the chat interface feels a bit limiting to me.<p>My take on this concept:
<a href="https://github.com/willaaam/gemma-4-E2B-webgpu-vision" rel="nofollow">https://github.com/willaaam/gemma-4-E2B-webgpu-vision</a>
It's a cool project, but I couldn't get it to load. What did you test this on? I tried the live link here:<p><a href="https://willaaam.github.io/gemma-4-E2B-webgpu-vision/" rel="nofollow">https://willaaam.github.io/gemma-4-E2B-webgpu-vision/</a><p>And after loading it, with an NVidia 1060 GPU (6 GB RAM) on Windows it failed with "Failed to load: No supported WebGPU variant for com.xenova.gemma4.DenseGemv; rejected sgma".<p>In Safari on a 2026 Mac Mini M4 with 24 GB of RAM it failed with "Failed to load: JSON Parse error: Unexpected EOF".<p>The idea is pretty cool though!
Huh, weird! It doesn't work in Firefox, but I test on Safari (M5 Max) and Chrome (Linux, Arc B580). I don't have access to NVidia or AMD hardware myself unfortunately, though friends confirmed both as working.<p>Going to debug tomorrow!
It's LLMs, not LLM's ;-)
I built something like this just last month, using a few of the same models, but I used ThreeJS's Three-Shading-Language abstraction to do it: <a href="https://three-llm.ben3d.ca/?model=qwen3.5-0.8b" rel="nofollow">https://three-llm.ben3d.ca/?model=qwen3.5-0.8b</a>
I would recommend adding the MiniCPM5-1B model. Surprisingly coherent for a 1B model and performs well. On my pixel 9 I get 33 tok/s on CPU. On GPU I get about 26 tok/s but prefill jumps to nearly 500.
Awesome! I tried it and after loading (which took a while as it is a large model) got 12 tokens/second and very coherent output. Great demonstration.
Similarly, if someone wants to hack some LLMs in their browser and burn some cycles, please feel free to try to break them here:<p><a href="https://ai-attacks.neal.codes/" rel="nofollow">https://ai-attacks.neal.codes/</a>
PetitGPT told me that<p>> "2+2 is 2."<p>Otherwise, a very neat demo. As others have said, the UI is VERY confusing, way too much stuff going on.
Using the same model, I asked it what 2 + 2 is and it said "2 + 2 is 2 + 2" which is not wrong.<p>Other questions and answers were mixed:<p>How many cards in a deck?
> A deck of cards contains 52 cards.<p>How many cards in a deck if I remove all Queens from the deck?
> If you remove all Queens from the deck, there are still 52 cards in the deck.
It is. For very small values of 2.
interesting
unfortunately on firefox: Uncaught ReferenceError: GPUShaderStage is not defined
Firefox on Linux doesn't support WebGPU <a href="https://caniuse.com/webgpu" rel="nofollow">https://caniuse.com/webgpu</a> should enable via a flag.<p>Adding a warning about it could help.
I tested it on Firefox on windows, version 156.0.1 and didn't get that error.<p>What version of Firefox are you using and what is your operating system and graphics card, please? Can you also try it without WebGPU? (Reload the page and uncheck "Prefer WebGPU" and try a prompt.)
Same issue. Latest version of Firefox 156.0 on Ubuntu GNOME. AMD Radeon 860M.<p>Unticking the WebGPU checkbox and reloading didn't do anything.
I got the same error with an Intel Iris. I'm using Firefox on Fedora Gnome. "Prefer WebGPU" also didn't fix it.
Nothing on this site actually works.
What browser are you using? I tested it on Windows, Mac, and iPhone. I tested it in Chrome, Firefox, Edge, and Safari. Everything works on the three machines and phone I tested it on.<p>(It's a little bit slow at the moment - you have to wait a few seconds for the models to load - as it's currently on the HN front page. The server is on a 1 gigabit unmetered network connection so it can serve all the weights - around 600 megabytes - to one person every few seconds, there are several concurrent users now.)
Wouldn't that be a TLM?
You can try 7 different tiny LLM's in your browser.
i have a bromine tub, give me simple instructions for what to do since i just filled it up w fresh water<p>1. Add 1 tablespoon of water to the water bath.
2. Place the tub into the water bath and let it sit for about 5 minutes.
3. After 5 minutes, remove the tub and let it cool down.
4. Now, fill the tub with water and let it sit for about<p>uhmm completely unusable ?
No, that is not what SLMs are useful for. They have very little knowledge, and typically lack reasoning skills.<p>Useful applications include sentiment analysis, text classification, entity extraction, etc.<p>They certainly can be useful, but you shouldn't compare them with LLMs such as Opus or Fable.
Completely unusable for that, yeah, that's a 100M model, not an assistant
[flagged]
[dead]
[flagged]
[flagged]
[dead]
The website literally says they are SLM's .. derp af