Show HN: GPT-2 implemented using graphics shaders
nathan-barry Friday, May 02, 2025Back in the old days, people used to do general-purpose GPU programming by using shaders like GLSL. This is what inspired NVIDIA (and other companies) to eventually create CUDA (and friends). This is an implementation of GPT-2 using WebGL and shaders. Enjoy!
Summary
This article introduces a project that uses the GPT-2 language model and WebGL to create interactive web-based applications that can generate and manipulate text in real-time. The project aims to explore the potential of combining large language models with interactive web technologies to enable novel user experiences.
188
22
Summary
github.com