Nigeria No1. Music site And Complete Entertainment portal for Music Promotion WhatsApp:- +2349077287056
Monday, 30 June 2025
Show HN: Local LLM Notepad – run a GPT-style model from a USB stick https://bit.ly/4nsvttJ
Show HN: Local LLM Notepad – run a GPT-style model from a USB stick What it is A single 45 MB Windows .exe that embeds llama.cpp and a minimal Tk UI. Copy it (plus any .gguf model) to a flash drive, double-click on any Windows PC, and you’re chatting with an LLM—no admin rights, Cloud, or network. Why I built it Existing “local LLM” GUIs assume you can pip install, pass long CLI flags, or download GBs of extras. I wanted something my less-technical colleagues could run during a client visit by literally plugging in a USB drive. How it works PyInstaller one-file build → bundles Python runtime, llama_cpp_python, and the UI into a single PE. On first launch, it memory-maps the .gguf; subsequent prompts stream at ~20 tok/s on an i7-10750H with gemma-3-1b-it-Q4_K_M.gguf (0.8 GB). Tick-driven render loop keeps the UI responsive while llama.cpp crunches. A parser bold-underlines every token that originated in the prompt; Ctrl+click pops a “source viewer” to trace facts. (Helps spot hallucinations fast.) https://bit.ly/3I89nwr July 1, 2025 at 12:43AM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment