Hugging Face BlogFeb 9, 2026, 12:00 AMimportant 85

Transformers.js v4 正式上架 NPM!網頁端 WebGPU AI 迎來重大效能升級

Original: Transformers.js v4: Now Available on NPM!

Hugging Face officially published Transformers.js v4 on NPM, marking a major milestone for running local AI models within the JavaScript…

Hugging Face 正式在 NPM 發布 Transformers.js v4。此版本帶來大幅度的 WebGPU 效能提升,支援更多最新的輕量化開源模型(如 Llama 3.2、Qwen 2.5 等),並優化了與 Vite、Next.js 等現代前端工具鏈的整合,讓開發者能輕鬆打造隱私安全、低延遲且完全在用戶端運行的 AI 應用。

Hugging Face officially published Transformers.js v4 on NPM, marking a major milestone for running local AI models within the JavaScript ecosystem. Transformers.js allows developers to run pre-trained models from Hugging Face directly in the browser, Node.js, Deno, or Bun — with no backend server required.

Full summary

Free shows the 3-line summary; Pro unlocks the full deep summary (~300 words) so you never have to click through.

See Pro plans →

Want the original English / full article?

Read on Hugging Face Blog →

Summaries are AI-generated; the original article is authoritative.