Settings

Theme

Show HN: A 52 KB WebAssembly engine that runs Qwen3.5-2B in a browser tab

tesseracted.com

39 points by kkm · 19 comments

Reader

7 threads
sureglymop

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.

  • kkmOP

    Absolutely. Trying out a few more models (especially MoEs also a bit larger ones) to see if playing at the experts layer like only enabling a few helps to get better performance.

RantyDave

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?

  • kkmOP

    Totally with you. I already have a version with search built.

    /search <>. The only thing is it needs to check an API, that way it keeps facts correct.

    Happy to share that version.

luckystarr

Any plans to publish the source? Webassembly is a great target even for integrating it into other apps.

  • kkmOP

    Yes - Will be publishing the code soon. No reason not to.

gayot

Impressive. Good work.

secbogaloo

This is so neat! Great work!

sapphire4

This is fun as heck to play with.

rdeangel

this is fun and interesting but unfortunately the usefulness of models this small is limited. Probably the easiest and quickest way to run a small model locally.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection