0hq / WebGPT

Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.
https://kmeans.org
Other
3.63k stars 209 forks source link

Make note that Git LFS is required to the README or Index #48

Open MagicGuacamole opened 8 months ago

MagicGuacamole commented 8 months ago

Was running into errors when running locally that weights/gpt2/params_gpt.json wasn't valid and I looked inside and it turned out that it won't clone correctly without git LFS installed. Maybe make mention of it in the README or the index.html where it says "PS: Loading models is 5x slower on the web rather than running locally. Just clone the repo and open!" might save others like me from troubleshooting.