Secret Llama

AI

local llm chat

SHOW HN2024

Legend

Secret Llama

A free in-browser Llama 3 chatbot powered by WebGPU

github.com

#webgpu#llama 3#in-browser llm#local llm#private ai chat

547points
139comments
#55of 3,515 in 2024
Top 2%of 2024 by points

How HN took it

MixedNo clear lean

14 positive, 26 neutral or asking, 4 mixed, 21 critical, out of 65 comments about the project. Thread score -0.07.

Execution: 1 for, 13 againstIdea: 7 for, 4 againstPerformance: 4 for, 4 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Fast and local; keeps data private

    From 3 comments
    • 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…
      NikhilVerma on HN
    • This is amazing! I always wanted something like this, thank you so much!
      NayamAmarshe on HN
    • 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…
      simple10 on HN
  • Better UI than the original WebLLM demo

    From 1 comment
    • Nice demo! I briefly tried it out and the demo felt much better than the original WebLLM one! On a side note, i've been trying to do something similar too for similar reasons…
      ngshiheng on HN

Objections

  • Fails to load models after download (IndexedDB cache errors)

    From 1 comment
    • After the model is supposedly fully downloaded (about 4GB) I get: Could not load the model because Error: ArtifactIndexedDBCache failed to fetch:…
      raylad on HN
  • No WebGPU on Linux, Firefox, or some devices

    From 3 comments
    • Tested on Ubuntu 22.04 with Chrome, sure enough, "Could not load the model because Error: Cannot find adapter that matches the request". It really is too bad WebGPU isn't…
      notarealllama on HN
    • On Firefox Nightly on my Steam Deck it "cannot find WebGPU in the environment".
      koolala on HN
    • Could not load the model because Error: Cannot find WebGPU in the environment
      r0fl on HN
  • Downloads several GB of model data to the browser

    From 2 comments
    • Is this downloading a ~5gb model to my machine and storing it locally for subsequent use?
      knowaveragejoe on HN
    • It's great but I hope it don't catch on because then every website will make me download models. My hard drive will be full, too much bloat. I think the web is not good for this.…
      hpeter on HN
  • Small models give poor or incoherent answers

    From 2 comments
    • 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…
      dosinga on HN
    • Llama 3 seems to not be there yet at all. Can it read earlier prompts and what you have written before? It doesn't seem like it. I asked it to help come up with a song name for a…
      BargirPezza on HN

Requests

  • Chat history

    From 1 comment
    • 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…
      joshstrange on HN
  • Web browsing support

    From 1 comment
    • 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…
      simple10 on HN
  • Support for GGUF files and Ollama

    From 2 comments
    • Could we use an already downloaded .gguf file?
      indit on HN
    • It's great but I hope it don't catch on because then every website will make me download models. My hard drive will be full, too much bloat. I think the web is not good for this.…
      hpeter on HN
  • Dynamic text width

    From 1 comment
    • This is amazing but can we please set the .prose width to be dynamic? the text column in 3 inches wide on my monitor, it should take up a % of the browser window.
      Jackson_Fleck on HN

Questions

  • How to use it as a therapist or coach

    From 2 comments
    • How do people use something like this as coach or therapist? This is genuine question. Side note, impressive project. Future of AI is offline mostly with few APIs in the cloud…
      wg0 on HN
    • What therapy prompts have you found useful?
      Dowwie on HN
  • Whether quality differs from native runners

    From 1 comment
    • Question - Do I compromise on quality on answers if I use models using WebLLM (like this) compare to using them on system console.
      zerop on HN

Alternatives named

  • Ollama

    From 2 comments
    • This is very cool, it's something I wish existed since Llama came out, having to install Ollama + Cuda to get locally working LLM didn't felt right to me when there's all what's…
      littlestymaar on HN
    • Likewise (same error) with Chrome on Windows. Currently running Ollama / Open WebUI and finding lama3:8B quite useful for writing snippets of powershell, javascript, golang etc.
      earleybird on HN
  • LM Studio

    From 1 comment
    • I've managed to avoid ollama and just toyed with lmstudio. It's non-free software, but extremely easy to get into, uses llama.cpp under the hood, cross-platform, yada yada.…
      Jedd on HN
  • Window AI

    From 1 comment
    • Window AI (https://windowai.io/) is an attempt to do something like this with a browser extension.
      abi on HN
  • llamafile

    From 1 comment
    • This is very cool, it's something I wish existed since Llama came out, having to install Ollama + Cuda to get locally working LLM didn't felt right to me when there's all what's…
      littlestymaar on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/40252569)