#2222nd of 433 in ML frameworks and libraries
transformers.js
Run Hugging Face models in the browser or Node with JavaScript
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts transformers.js on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.transformers.js is on your watch list. Its new releases and problems show there.
- Stars
- 16.5k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- JavaScript
15,429 on 25 Mar 202616,459 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Transformers.js mirrors the Python transformers pipeline API in JavaScript and runs ONNX-format models client-side through ONNX Runtime. It covers NLP, vision, audio and multimodal tasks such as text generation, speech recognition, text-to-speech, object detection and embeddings. Execution defaults to WASM on CPU, with optional WebGPU and selectable quantization (fp32, fp16, q8, q4).
Who it is for: JavaScript developers running ML models client-side in browsers or Node
Strengths
- Pipeline API closely matches Python transformers, so existing code translates easily
- Runs in the browser with no server; installable via npm or CDN
- Optional WebGPU backend and dtype option (fp32, fp16, q8, q4) to cut model size
- Covers NLP, vision, audio, embeddings and document question answering
Weaknesses
- Models must be ONNX; PyTorch, TensorFlow or JAX models need conversion via Optimum
- WebGPU is experimental in many browsers and may fail for some models
- No text-to-image, visual question answering, mask generation or video classification
- Default setup fetches models and WASM binaries from remote hosts unless reconfigured
What it needs
- GPU optional
- Needs ONNX Runtime, Hugging Face Hub (default model source), Optimum (for ONNX conversion)
- Models: ONNX, Hugging Face transformers architectures
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #20 | tensorflowTensor and neural network framework with Python and C++ APIs | 85 out of 100 |
| #21 | lerobotPyTorch library for robot control, datasets and policy training | 85 out of 100 |
| #23 | autogluonAutoML library for tabular, time series and multimodal data in Python | 85 out of 100 |
| #24 | feastFeature store that serves consistent ML features for training and online inference | 85 out of 100 |
| #25 | jaxPython library for autodiff, JIT compilation and vectorization of NumPy-style code | 84 out of 100 |