Home Projects transformers.js
transformers.js
JavaScript

transformers.js

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

by huggingface · GitHub
Stars
Forks
License
Created
Last commit
Category
Language
browserjavascripttransformersApache-2.0JavaScript
View on GitHub
In plain words

Run advanced machine learning models directly in your web browser without needing a server.

From the README

Install
npm i @huggingface/transformers

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
transformers.js — GitHub preview card
📈 Star history
16.2k16.1k
2026-06-282026-08-31
📈 Track transformers.js

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

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

transformers.js has 16.2k stars on GitHub. It has been forked 1.2k times. transformers.js is written mainly in JavaScript. It has been in active development since 2023. transformers.js is available under the Apache-2.0 license. Its main topics are browser, javascript, transformers, webml.

Frequently asked questions

What is transformers.js?

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

Is transformers.js open source?

transformers.js is an open-source project. It is released under the Apache-2.0 license.

Is transformers.js free?

Yes. transformers.js is free and open source — you can use, modify and self-host it.

What license does transformers.js use?

transformers.js is available under the Apache-2.0 license.

What language is transformers.js written in?

transformers.js is written mainly in JavaScript.

🏅 Maintainer of this project?
olud.ai badge — transformers.js

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=huggingface-transformers-js)](https://olud.ai/project/huggingface-transformers-js.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.