T
huggingface/transformers.js★ 16,467 · JavaScript
ONNX-powered JavaScript SDK for running multimodal inference in the browser
Apache-2.0 · Commercial Friendly4.3.2
Side-by-side 2026 comparison in Voice, Vision & Video: lucidrains/vit-pytorch leads both total GitHub adoption (★ 25.6k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
ONNX-powered JavaScript SDK for running multimodal inference in the browser
PyTorch Vision Transformers for classification, pretraining, and architecture experiments
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | huggingface/transformers.js | lucidrains/vit-pytorch |
|---|---|---|
| Total GitHub Stars | ★ 16,467 | ★ 25,603 |
| 24h / 7d Velocity | +2 / +11 | +1 / +13 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 94/100 | A+ · 89/100 |
| Deployment Signals | Local AI | CLI |
| Primary Language | JavaScript | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated yesterday | Updated 8d ago |
| Latest Release | 4.3.2 | 1.17.8 |
| Best For | Web teams shipping on-device transcription, image tools, or embeddings with validated ONNX checkpoints and a target-device test matrix | PyTorch teams comparing ViT architectures, experimenting with mixed-resolution batching, or integrating masked pretraining or distillation into an existing training loop |
pipeline(task, modelIdOrPath, options) combines model loading, input preprocessing, and output postprocessing.device: 'webgpu'.dtype selects available precision or quantized variants; options depend on the checkpoint.npm i @huggingface/transformersViT supports CLS or mean pooling; SimpleViT uses 2D sinusoidal positions, global average pooling, and a linear head.vit_pytorch.na_vit_nested_tensor.NaViT reduces explicit masking and padding and specifies PyTorch 2.5.SimMIM projects masked-token features into pixel space and computes L1 reconstruction loss.$ pip install vit-pytorchSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy