0hq/WebGPT
View on GitHub ↗ ★ 3,788 JavaScript
Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.
7 mentions on Hacker News by 7 people: 4 stories, 3 comments · first 2023-04-20 · latest 2024-11-10
20082026
-
…you for enabling training the model directly in the browser! I have previously been impressed by https://github.com/0hq/WebGPT . Now, your project has rekindled hopes for a pure-JS GPT-like model. Keep it up!
comment by felladrin · 2024-11-10 · in Homemade GPT JS – A Tensorflow.js Re-Implementation of MinGPT -
https://github.com/0hq/WebGPT
comment by replete · 2023-05-18 · in Show HN: Pinbot – An extension to privately search one's browser history with AI -
Question. I can see in the code the WGSL that's needed to implement inference on the GPU. https://github.com/0hq/WebGPT/blob/main/kernels.js Could this code also be used to train models or only for inference? What I'm getting at, is could…
comment by ianpurton · 2023-04-21 · in WebGPU GPT Model Demo