Lurker News
I spent the last few days building out a nicer ChatGPT-like interface to use Mistral 7B and Llama 3 fully within a browser (no deps and installs).

I’ve used the WebLLM project by MLC AI for a while to interact with LLMs in the browser when handling sensitive data but I found their UI quite lacking for serious use so I built a much better interface around WebLLM.
I’ve been using it as a therapist and coach. And it’s wonderful knowing that my personal information never leaves my local computer.
Should work on Desktop with Chrome or Edge. Other browsers are adding WebGPU support as well - see the Github for details on how you can get it to work on other browsers.
Note: after you send the first message, the model will be downloaded to your browser cache. That can take a while depending on the model and your internet connection. But on subsequent page loads, the model should be loaded from the IndexedDB cache so it should be much faster.
The project is open source (Apache 2.0) on Github. If you like it, I’d love contributions, particularly around making the first load faster.
Github: https://github.com/abi/secret-llama Demo: https://secretllama.com

Comments (139) 42 threads

Show all comments

Showing thread 8 of 42

knowaveragejoe2 replies#
Is this downloading a ~5gb model to my machine and storing it locally for subsequent use?
abi2 replies#
Yes, it only starts the download after you send the first message so visiting the site won’t use up any space.

Approx sizes are listed in the GitHub README.
Models are stored in indexeddb and will be managed by the browser. Might get evicted.

simonw2 replies#
I see you have Phi1.5-q4f16_1-1k - any chance you could add Phi-3?
abi#
Would love to. It uses MLC AIs webllm so just need to convert it to that format.
kamikazeturtles1 reply#
I thought browser tabs only had access to ~400mb

How do you have access to 5gb?

Continue this thread — 1 reply