huggingface/transformers.js
View on GitHub ↗ ★ 16,397 JavaScript
State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
25 mentions on Hacker News by 17 people: 9 stories, 16 comments · first 2023-03-17 · latest 2026-10-26
20082026
-
…land transformers last month for in browser structured output as well, also used for tool calling. https://github.com/huggingface/transformers.js/blob/main/pac...
comment by sroussey · 2026-10-26 · in Fixing Tool-Call Accuracy in vLLM -
▲ 2
Release 4.0.0 · HuggingFace/Transformers.jsstory by fagnerbrack · 2026-06-20 · 0 comments
-
▲ 2
HuggingFace has just released Transformer.js v4 with WebGPU supportstory by pavelai · 2026-03-30 · 1 comment
-
…awesome examples of running different types of models in webgpu check out the examples folder here. https://github.com/huggingface/transformers.js
comment by dataviz1000 · 2025-08-02 · in Show HN: WebGPU enables local LLM in the browser – demo site with AI chat -
…the background inside a Chrome extension before notify me of anything economically significant. [0] https://github.com/huggingface/transformers.js/tree/main/exa... [1] https://github.com/adam-s/doomberg-terminal
comment by dataviz1000 · 2025-06-25 · in OpenAI charges by the minute, so speed up your audio -
…that you can perform them client side. ONNX models can be loaded and executed with transformer.js https://github.com/huggingface/transformers.js/ You can even build and statically host indices like hnsw for embeddings. I put together a…
comment by jasonjmcghee · 2025-05-12 · in Embeddings are underrated (2024) -
▲ 33
Transformers.js 3.0 Released with WebGPU Supportstory by victormustar · 2024-10-22 · 1 comment
-
…): Postgres wire protocol for the server-side. MIT * transformers.js ( https://github.com/xenova/transformers.js ): Run Transformers directly in your browser
comment by kiwicopple · 2024-08-12 · in Postgres.new: In-browser Postgres with an AI interface -
…user mode: https://www.postgresql.org/docs/current/app-postgres.html#AP... [4] transformers.js: https://github.com/xenova/transformers.js [5] pg-gateway: https://github.com/supabase-community/pg-gateway
comment by kiwicopple · 2024-08-12 · in Postgres.new -
▲ 366
Postgres.new: In-browser Postgres with an AI interfacestory by kiwicopple · 2024-08-12 · 106 comments
-
…https://github.com/Anush008/fastembed-js Looks like transformers.js supports embeddings in-browser: https://github.com/xenova/transformers.js/releases/tag/2.1.0 https://github.com/pinecone-io/semantic-search-example/blob/... Also it…
comment by jamesmcintyre · 2024-07-22 · in Show HN: TinkerBird – A Chrome-native vector database -
…You can follow the progress for full WebGPU support in the v3 development branch ( https://github.com/xenova/transformers.js/pull/545 ). To answer your question, while there are certain ops missing, the main limitation at the moment is for…
comment by xenova · 2024-04-11 · in Transformers.js – Run Transformers directly in the browser -
…releases adds binary embedding quantization support which I'm really looking forward to trying out: https://github.com/xenova/transformers.js/releases/tag/2.17....
comment by simonw · 2024-04-11 · in Transformers.js – Run Transformers directly in the browser -
▲ 239
Transformers.js – Run Transformers directly in the browserstory by victormustar · 2024-04-11 · 51 comments
-
BTW: you might want to add support for typed arrays. See: https://github.com/xenova/transformers.js/blob/8804c36591d11... This is really old, but added as part of the shape of the vector as well: https://github.com/nicolaspanel/numjs/blob/m…
comment by sroussey · 2024-03-29 · in Deep Learning in JavaScript -
▲ 2
Transformers.js releases Zero-shot audio classification supportstory by correa_brian · 2023-12-05 · 0 comments
-
…seems to contain only boilerplate and no real support for Mistral models or their weights. [1]: https://github.com/xenova/transformers.js/pull/379 [2]: https://github.com/xenova/transformers.js/releases/tag/2.8.0
comment by woadwarrior01 · 2023-11-17 · in Show HN: Tiny LLMs – Browser-based private AI models for a wide array of tasks -
Original project: https://github.com/xenova/transformers.js
comment by sunshadow · 2023-11-16 · in Show HN: Tiny LLMs – Browser-based private AI models for a wide array of tasks -
…Whisper to the web ( https://github.com/xenova/whisper-web ) based on the Transformers.js library ( https://github.com/xenova/transformers.js ). That uses ONNX, and the standard conversion is via Hugging Face Optimum (…
comment by albertzeyer · 2023-11-16 · in Show HN: Tiny LLMs – Browser-based private AI models for a wide array of tasks -
▲ 1
Transformers.jsstory by AnhTho_FR · 2023-07-08 · 0 comments
-
▲ 3
Transformers.js: Run Machine Learning models directly in the browserstory by victormustar · 2023-06-26 · 0 comments
-
▲ 1
Transformer.js- Transformers in the Browserstory by gardenfelder · 2023-03-17 · 3 comments
-
…(which stems from a bug in onnxruntime-web), and we were able to get it working in these cases: 1. https://github.com/xenova/transformers.js/issues/4 2. https://github.com/xenova/transformers.js/issues/19
comment by xenova · 2023-03-17 · in Transformers.js -
…these inaccuracies also occur in the PyTorch models, and so, it's not the library's fault :') [1] https://github.com/xenova/transformers.js [2] https://twitter.com/xenovacom/status/1628895478749315073
comment by xenova · 2023-03-17 · in Transformers.js -
Indeed, I see WebGL commented out here: https://github.com/xenova/transformers.js/blob/main/src/mode... .
comment by sanxiyn · 2023-03-17 · in Transformers.js