Chat, entirely in the page

A small instruct model decoded on your GPU. Tokens stream through localLlm.on('token'); the conversation lives in localLlm.state.messages.

Small models are small: expect confident nonsense sometimes. The point is the plumbing, not the IQ. The 1.5B model is noticeably better if you have the bandwidth.

Log