Hacker News
Show HN: A 52 KB WebAssembly engine that runs Qwen3.5-2B in a browser tab
39 points by kkm
ago
|
13 comments
sureglymop
|next
[-]
I find this interesting mainly because the browser might be the right sandbox for this. It basically has all the security primitives and running local AI can at least somewhat be compared to running arbitrary javascript.
RantyDave
|next
|previous
[-]
Very usable for playing with small models, a great piece of work.
But, an aside: I'm no great connoisseur of AI models but Qwen3-0.6B and Qwen3.5-0.8B both hallucinated manically ("Who is Jacinda Ardern"). I even added "/verify" and it was completely convinced ... but wrong. Are there models that will say they don't know instead of just making stuff up? Is there an API for returning/setting certainty?
luckystarr
|next
|previous
[-]
Any plans to publish the source? Webassembly is a great target even for integrating it into other apps.
secbogaloo
|next
|previous
[-]
This is so neat! Great work!
kkm
|root
|parent
[-]
Thank you.
Here is the evolution of this experiment, running it as a decision inference.
https://x.com/konarkmodi/status/2126845750579507682?a=YK5EwF...