piston
A proof-of-concept library and web playground for training small sequence models such as Transformers and LSTMs directly in the browser using WebGPU. It is for learning and experimentation.
Share on XLicense: MIT
Overview
Piston is a proof-of-concept automatic differentiation library that runs on WebGPU, and Sequence Toy is the web playground built on it. Together they let you train small sequence models such as Transformers, LSTMs, GRUs and vanilla RNNs directly in the browser. Piston is a fork of Ratchet with autodiff added, so it is best seen as a learning and experimentation project.
Key features
- Trains sequence models in the browser with WebGPU
- Supports Transformers, LSTMs, GRUs and vanilla RNNs
- Automatic differentiation library written in Rust
- Sequence Toy web playground included
Best for
People who want to experiment with training small language models in a browser. The author describes Piston as a proof of concept, so do not expect a production framework.
- Upstream
- vinhowe/piston
- Fork on GitHub
- Guo-astro/piston
- Upstream stars
- 36
- Category
- AI agents and LLM tools
- Language
- Rust
- License
- MIT
- Forked
- 2025-11-21
- Sync status
- In syncLast synced 2026-09-29
More in AI agents and LLM tools
A free desktop app where children in non-English-speaking countries practice English speaking and listening by talking with an AI companion. It can run locally and offline.
Forked 2026-09-28Last synced 2026-09-29License: MITAI agents and LLM toolsGitHub
An agent skill for Chinese patents. It helps find patentable points, write disclosure documents, explain patents in plain language, follow policy changes and assist with examination replies.
Forked 2026-09-28Last synced 2026-09-29License: MITAI agents and LLM toolsGitHub
A minimal Python library from Hugging Face for building AI agents that write and run code to solve tasks. It lets you set up capable agents in a few lines.
Forked 2026-09-28Last synced 2026-09-29License: Apache-2.0AI agents and LLM toolsGitHub
An open-source benchmark that measures how well AI agents handle realistic legal work. It provides tasks and evaluation for improving legal agents.
Forked 2026-09-28Last synced 2026-09-29License: MITAI agents and LLM toolsGitHub