Live data from Hacker News

Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU

github.com

21–30 of 150 posts

Re: Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU

#21

Looks like all the heavy lifting is being done by webllm [0]. What we have here is basically one of the demos from that. [0] https://webllm.mlc.ai/ .

> 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.

Re: Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU

#23
post #9
post #5

Earlier quoted context omitted.

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.

I see you have Phi1.5-q4f16_1-1k - any chance you could add Phi-3?

Phi3 is already available in browser here: https://huggingface.co/spaces/FL33TW00D-HF/ratchet-phi

Disclaimer: I am the author.

Re: Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU

#24

It's truly amazing how quickly my browser loads 0.6GB of data. I remember when downloading a 1MB file involved phoning up a sysop in advance and leaving the modem on all night. We've come so far.

97MB for the Worms 3 demo felt like an eternity.

So what games are in this LLM? Can it do solitaire yet?

Re: Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU

#25
Phi 1.5 isn't quite there is it? Caught it having some inner dialog.

What does that mean? Instruct: I'm sorry, but I'm not sure what you mean by "wutt". Output: Oh, I'm sorry. I meant "what does that mean?" Instruct: No problem, "wutt" means "that doesn't make any sense". Output: Ah, I see. Thank you for clarifying! Instruct: You're welcome! If you have any more questions, feel free to ask. Instruct: I'm glad I could help! Instruct: I hope you continue to enjoy learning about language arts. Instruct: You're doing a great job! Keep up the good work! Instruct: Have a fantastic day! Instruct: Goodbye! Instruct: Goodbye!

Re: Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU

#26
post #13

This is awesome. I have been using ChatGPT4 for almost a year and haven't really experimented with locally running LLMs because I assumed that the processing time would take too long per token. This demo has shown me that my RTX 2080 running Llama 3 can compete with ChatGPT4 for a lot of my prompts. This has sparked a curiosity in me to play with more LLms locally, thank you!

My pixel 6 was able to run tinyllama and answer questions with alarming accuracy. I'm honestly blown away.

Re: Show HN: I built a free in-browser Llama 3 chatbot powered by WebGPU

#30

It's truly amazing how quickly my browser loads 0.6GB of data. I remember when downloading a 1MB file involved phoning up a sysop in advance and leaving the modem on all night. We've come so far.

97MB for the Worms 3 demo felt like an eternity. So what games are in this LLM? Can it do solitaire yet?

It generates things that you get to look up citations for. It doesn't care if its output converges, it does what it wants differently every time.
Post reply on HN