Published event
ArtificialIntelligence ModelRelease 1 source(s)

Transformers.js v4: Now Available on NPM!

Updated September 26, 2026 · 2:45 PM · source date February 9, 2026

Summary

Transformers.js v4: Now Available on NPM! Transformers.js v4: Now Available on NPM! Published February 9, 2026 Update on GitHub Upvote 98 Joshua Xenova Nico Martin nico-martin We're excited to announce that Transformers.js v4 is now available on NPM!

Why it matters

This ModelRelease is relevant to the technology intelligence record because it involves GitHub, Microsoft, Meta, Hugging Face. The source article should remain the factual reference for follow-up coverage.

Key facts
  • Transformers.js v4: Now Available on NPM!
  • Published February 9, 2026 Update on GitHub Upvote 98 Joshua Xenova Nico Martin nico-martin We're excited to announce that Transformers.js v4 is now available on NPM!
  • After a year of development (we started in March 2025 🤯), we're finally ready for you to use it.
  • npm i @huggingface/transformers Performance & Runtime Improvements The biggest change is undoubtedly the adoption of a new WebGPU Runtime, completely rewritten in C++.
  • We've worked closely with the ONNX Runtime team to thoroughly test this runtime across our ~200 supported model architectures, as well as many new v4-exclusive architectures.
  • In addition to better operator support (for performance, accuracy, and coverage), this new WebGPU runtime allows the same transformers.js code to be used across a wide variety of JavaScript environments, including browsers, server-side runtimes, and desktop applications.
Entities in this story
Related events