#25 · Primary category: Deep Learning Frameworks

transformers.js

browser javascript transformers webml

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!

Project last updated:08/29/26

GitHub Stars

16.3K

Forks

1.2K

Contributors

76

License

Apache-2.0

Why we included this project

Transformers.js ports the Hugging Face model ecosystem to the browser, so you can load pretrained models and run them entirely on the client side without standing up an inference server. The API mirrors the Python transformers library closely, which means developers who already know Hugging Face can pick it up quickly in plain JavaScript. Models download once and stay cached locally, so features keep working offline and user data never leaves the device, a real plus for privacy-sensitive tools. It suits client-side demos, browser extensions, and lightweight apps where a full server stack is overkill, and it can use WebGPU when you want faster on-device inference.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category