Live data from Hacker News

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

github.com

71–80 of 150 posts

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

#71
post #47

It's sadly stuck on "Loading model from cache[24/24]: 0MB loaded. 0% completed, 0 secs elapsed." on my iPhone 13 Pro Max :(

I believe it’s only compatible with full Chrome / Edge

https://github.com/abi/secret-llama?tab=readme-ov-file#syste...

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

#72

Very cool! I wish there was chat history. Also if you click the "New Chat" button while an answer is generating I think some of the output gets fed back into the model, it causes some weird output [0] but was kind of cool/fun. Here is a video of it as well [1], I almost think this should be some kind of special mode you can run. I'd be interested to know what the bug causes, is it just the existing output sent as inp…

Nice personal hosted image service!

I’m just using CleanShotX [0] which is an awesome image annotation tool for macOS. It’s way better than the built-in tool that macOS comes with. You can also record as a gif for video which is nice, I use it often to make guides for my day job and my business.

[0] https://cleanshot.com

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

#74
post #64

Yasssssss! Thank you. This is the future. I am predicting Apple will make progress on groq like chipsets built in to their newer devices for hyper fast inference. LLMs leave a lot to be desired but since they are trained on all publicly available human knowledge they know something no about everything. My life has been better since I’ve been able to ask all sorts of adhoc questions about “is this healthy? Why healthy…

They are not “trained on all publicly available human knowledge”. Go look at the training data sets used. Most human knowledge that has been digitized is not publicly available (e.g., Google Books). These models are not able to get to data sets behind paywalls (e.g., scientific journals).

It will be a huge step forward for humanity when we can run algorithms across all human knowledge. We are far from that.

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

#75
This is absolutely wonderful, I am a HUGE fan of local first apps. Running models locally is such a powerful thing I wish more companies could leverage it to build smarter apps which can run offline.

I tried this on my M1 and ran LLama3, I think it's the quantized 7B version. It ran with around 4-5 tokens per second which was way faster than I expected on my browser.

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

#76
i asked it "what happens if you are bit by a radio active spider?" and it told me all about radiation poisoning. Then I asked a follow up question: "would you become spiderman?" and it told me it was unable to become anything but an AI assistant. I also asked if time machines are real and how to build one. It said yes and told me! (Duh, you use a flux capacitor, basic physics.)

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

#78

IMO eventually users should be able to advertise what embedding models they have so we don't redundantly redownload.

That's not possible with current web tech, is it? Different webapps can't share common dependencies stored in localstorage afaik.

It is, but only within the same origin, which already enables users to not re-download jquery.js or Google Fonts if they previously visited another website that downloaded the same file from the same (usually cross-) origin.

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

#79

Amazing! It's surprisingly fast to load and run given the size of the downloaded models. Do you think it would be feasible to extend it to support web browsing? I'd like to help if you could give some pointers on how to extend it. When asked about web browsing, the bot said it could fetch web pages but then obviously didn't work when asked to summarize a web page. [EDIT] The Llama 3 model was able to summarize web pa…

I commented too soon. The TinyLlama model didn't seem to be able to summarize web pages but Llama 3 worked perfectly! Very cool.

Are you sure it is not hallucinating? Most likely these models don't have an access to the Internet.

edit: typo

Post reply on HN