Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU (opens in a new tab)github.com
547 pointsI’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 10 of 42
Side note, impressive project. Future of AI is offline mostly with few APIs in the cloud maybe.
When are people going to realize that their interactions with AIs are likely being analyzed/characterized, and that at some point, that analysis will be monetized?
If I have the presence of mind, I offload the work here. At the same time I have a strong understanding of how coaching works, as does my brain.
I suspect that with all things LLM, some amount of proficiency is needed to truly get the prompts to work.
The simplest option is to ask it to be a coach for you. This is going to be hit and miss.
The better version is to specify the kind of coaching you want, or provide a rough outline of the issues on your mind and then ask for what kind of coach or therapist would make sense.
I use either of these for example - 1) over designed - https://chat.openai.com/g/g-KD6jm0l4c-thought-council 2) base ver - https://chat.openai.com/g/g-Cdq3drl87-two-guides
Sadly OpenAI doesnt let you share active chats anymore, so it’s going to need a plus subscription.